Possible issue with From an To headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Klaus.

I was making a call using pjsua-lib make_call, with a destination like this:
sip:account at domain;user=phone, and the sip server was not accepting this.
It worked fine when I changed to <sip:account at domain;user=phone>. The
;tag=1335... was placed after the >.

Rafael Maia



-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@xxxxxxxxx] 
Sent: sexta-feira, 10 de Dezembro de 2010 15:31
To: pjsip list
Cc: Rafael Maia
Subject: Re: Possible issue with From an To headers



Am 10.12.2010 16:20, schrieb Rafael Maia:
> Sorry, a small correction:
>
> REGISTER
>
> .
>
> From: *<*sip:alice@domain*>*;tag=12345.

From: sip:alice@domain;tag=12345

is perfectly valid too. <> is only needed if there is a display name, or 
URI parameter, e.g:

From: Lovely Alice <sip:alice@domain>;tag=12345
From: <sip:alice@domain;foo=bar>;tag=12345

regards
Klaus




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux