PJSUA using private IP address on call.

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

 



Hi All,

I would ideally like PJSUA to use the public ipaddress of the local machine.
I am using microsip.

When I make a call to another party it always shows in the call window 
that it is calling the private ip address of the other party.
I would like to see it using the public ip address of the remote party, 
so we can use port forwarding to complete the call.

I thought, in the code, this was sufficient ?

    acc_cfg_local.id = pj_str(StrToPj(returnURI));
    acc_cfg_local.force_contact = pj_str(StrToPj(returnURI));

Where the return URI takes the form <sip:user@[local public ip 
address]:[port]>

Thanks in advance.



[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