[asterisk-dev] PJSIP transport problem

Steve Murphy murf at parsetree.com
Fri Feb 28 08:24:27 CST 2014


Josh--

Thanks for that info... but...
can't I use different ports? (can't apache listen
on both port 80 and 443 on the same ipaddr?) I tried using
different ports and still have this problem. What do you advise
if I have some natted phones registering and some
not? I have some more questions on the subject of natting,
but I'll pose those in another thread.

murf





On Fri, Feb 28, 2014 at 5:48 AM, Joshua Colp <jcolp at digium.com> wrote:

> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 

Steve Murphy
ParseTree Corporation
57 Lane 17
Cody, WY 82414
✉  murf at parsetree dot com
☎ 307-899-5535
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140228/6e93e503/attachment.html>


More information about the asterisk-dev mailing list