HowTo add transport=UDP to Contact header

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

 



Hey,

I'm not very sure of this, but maybe you can try.

The pjsua has all the header functions in the file (
C:/pjproject-1.3/pjsip/src/pjsip-ua ) Inside this location you'll find a
file called sip_regc.c.

This file has all header definition and etc etc. If you can just try adding
the transport parameter.

Thanks!

On Wed, Sep 9, 2009 at 6:41 AM, Evgeny Miloslavsky <emiloslavsky at juniper.net
> wrote:

>  Hi All!
>
>
>
> I need transport parameter to be concatenated to SIP-URI at Contact header
> of REISTER request sent as PjSUA starts.  As I understood from tool's
> manual, CLI command *./pjsua-i686-pc-linux-gnu --ip-addr=IP-ADDDR
> --local-port=5060 --null-audio --duration=30 --outbound=sip:IPADDR1
> --registrar=sip:IPADDR2:5060--id=sip:1000 at IPADDR --contact=sip:1000 at IPADDR;transport=UDP
> --contact-params=transport=UDP* will cause to PJSUA to send REGISTER
> request toward registrar through it?s outbound defined.
>
> The problem is that Contact header of REGISTER request sent, has no
> transport parameter (transport=UDP) at all. I know that UDP is a default
> transport but I want it to appear at Contact header.
>
>
>
> Please advice.
>
>
>
> Regards,
>
> Evgeny Miloslavsky
>
> Systest Engineer
>
> Juniper Networks Solutions Israel LTD.
>
> Office: 972-9-9712355
>
> Office: 972-74-7170072
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090909/aae2aeb9/attachment.html>


[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