[asterisk-users] res_pjsip trunk between Asterisk servers

George Joseph george.joseph at fairview5.com
Mon Feb 8 21:08:50 CST 2016


On Mon, Feb 8, 2016 at 7:16 PM, Anthony Critelli <critellia at gmail.com>
wrote:

> Hi all,
>
> My goal is to trunk two Asterisk servers together using res_pjsip. I'm
> really not familiar with res_pjsip, having only used chan_sip over a year
> ago now. So, I apologize in advance if this is an overly basic question.
>
> I'm using the below configuration guide for an outbound trunk. My question
> is: what would the trunk configuration look like on the other Asterisk
> server? Would it be the same, minus unique things like IP addresses?
>
> https://wiki.asterisk.org/wiki/display/AST/res_pjsip+Configuration+Examples
>

​If the 2 servers have static ip addresses, they don't need to register so
you can leave the registration section out.

If you trust that no one is going to spoof ip addresses you can leave out
the auths as well or you can add them in both directions.  I.E.  auth and
outbound_auth on both endpoints.  So, yes.  Other than ip addresses, they
should look the same.

Use the res_pjsip_config_wizard and pjsip_wizard.conf for an even easier
config.
https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard
​Trusted peers at the end.​



>
>
> Thanks so much for the help.
>
> Sincerely,
>
> Anthony Critelli
> www.acritelli.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160208/5a983e31/attachment.html>


More information about the asterisk-users mailing list