Steve Totaro
2007-Oct-09 14:24 UTC
[asterisk-users] Registering Multiple SIP Accounts on One Server to Another Server
I was using IAX2 to send traffic from a PSTN/SIP box to a PBX and it worked fine except for audio issues that I believe are directly related to IAX2 in version 1.2.x. I have four PRIs and want a separate context for each going into the PBX. This worked very well with IAX. I want to use SIP to see if the audio issues are eliminated but Asterisk does not seem to like multiple SIP account from one box to another (four to be exact) I found this http://www.voip-forum.com/news.php?p=187 which makes me think this is a known problem. Unfortunately, the link goes to an error page. I have tried ever combination of credentials and setting in SIP conf but the calls still fail. I tried friend, user, insecure=very, username, from user, and anything else I could think of. Is there something I am missing or a workaround for this issue? PSTN Box (4PRIs)--Each PRI has it's Own Context in sip.conf, SIP--> PBX (calls fail) PSTN Box (4PRIs)--Each PRI has it's Own Context, IAX.conf--> PBX (calls work) Thanks, Steve Totaro
Steve Totaro
2007-Oct-09 15:49 UTC
[asterisk-users] Registering Multiple SIP Accounts on One Server to Another Server
Steve Totaro wrote:> I was using IAX2 to send traffic from a PSTN/SIP box to a PBX and it > worked fine except for audio issues that I believe are directly related > to IAX2 in version 1.2.x. I have four PRIs and want a separate context > for each going into the PBX. This worked very well with IAX. > > I want to use SIP to see if the audio issues are eliminated but Asterisk > does not seem to like multiple SIP account from one box to another (four > to be exact) > > I found this http://www.voip-forum.com/news.php?p=187 which makes me > think this is a known problem. Unfortunately, the link goes to an error > page. > > I have tried ever combination of credentials and setting in SIP conf but > the calls still fail. I tried friend, user, insecure=very, username, > from user, and anything else I could think of. > > Is there something I am missing or a workaround for this issue? > > PSTN Box (4PRIs)--Each PRI has it's Own Context in sip.conf, SIP--> PBX > (calls fail) > PSTN Box (4PRIs)--Each PRI has it's Own Context, IAX.conf--> PBX (calls > work) > > Thanks, > Steve TotaroI think I may have figured out my own issue. Since I am creating multiple SIP peers on two boxes that point to each other, I need to define separate ports for each one. Anyone know if that is the case? Makes sense to me but I cannot try it on the live server and my dev boxes are all doing other things. Thanks, Steve