[asterisk-dev] PJSIP transport problem
Joshua Colp
jcolp at digium.com
Fri Feb 28 06:48:47 CST 2014
On 14-02-28 08:46 AM, Steve Murphy wrote:
>
> I am puzzled, perhaps you, oh wise ones, can
> set me straight...
>
> Why can I not have these two entries in my pjsip.conf file?
>
> [transport-udp-nat]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060 <http://0.0.0.0:5060>
> local_net=10.0.10.0/24 <http://10.0.10.0/24>
> external_media_address=90.194.253.241
> external_signaling_address=90.194.253.241
> external_signaling_port=5060
>
> [transport-udp-nat-other]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060 <http://0.0.0.0:5060>
> local_net=10.1.0.0/24 <http://10.1.0.0/24>
> external_media_address=120.178.24.130120.178.24.130
> external_signaling_address=120.178.24.130120.178.24.130
> external_signaling_port=5060 ; External port for SIP signalling
> (default:
You are attempting to create two transports and bind them to the same
thing - you can't do that. It's the same as trying to run two instances
of Apache on port 80.
Instead of binding both to 0.0.0.0 you can bind them to two different
interface IP addresses if you want.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list