Anthony Critelli
2016-Feb-09 02:16 UTC
[asterisk-users] res_pjsip trunk between Asterisk servers
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 Thanks so much for the help. Sincerely, Anthony Critelli www.acritelli.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160208/7865e85f/attachment.html>
George Joseph
2016-Feb-09 03:08 UTC
[asterisk-users] res_pjsip trunk between Asterisk servers
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>
Anthony Critelli
2016-Feb-17 22:02 UTC
[asterisk-users] res_pjsip trunk between Asterisk servers
George, thanks so much for the help on this. The wizards did the trick! Sincerely, Anthony Critelli B.S. Applied Networking and Systems Administration, 2014 www.acritelli.com (845) 283-4117 On Mon, Feb 8, 2016 at 10:08 PM, George Joseph <george.joseph at fairview5.com> wrote:> > > 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 >> > > > -- > _____________________________________________________________________ > -- 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/20160217/ea3a24e6/attachment.html>
Possibly Parallel Threads
- pjsip startup errors when using "with-ssl" configure option
- does res_pjsip support ZRTP?
- Unexpected termination of the call when pick up (res_pjsip)
- 13.11.1 res_pjsip/pjsip_distributor.c: Request 'REGISTER' failed
- 13.11.1 res_pjsip/pjsip_distributor.c: Request 'REGISTER' failed