Port not allowed in from and to header?

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

 



?Hi,
?? PJSIP doesn't print the port in from and to headers even when the
port is explicitly specified. This seems to be intentional

pjsip/src/pjsip/sip_uri.c line 276-278

/* Only print port if it is explicitly specified.
* Port is not allowed in To and From header.
 */

 I couldn't find the relevant section in the rfc which prohibits port
in from and to headers.

The behavior causes an issue where the domain proxy is listening on a
non standard port and transfer with replaces is attempted on an
existing call.

The  issue occurs because the referred-to uri doesn't have the
non-standard port in the uri and the subsequent invite(for replace)
fails
as the proxy is only listening on a non-standard port and not 5060.

Thanks,
Amit



[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