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
3 thoughts on - Res_pjsip Trunk Between Asterisk Servers
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.
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
http://www.acritelli.com
(845) 283-4117
Cool! Feedback is always welcomed!