This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Nov 12, 2008 10:32 AM by radp1399  
Click to view radp1399's profile   8 posts since
Oct 28, 2008

Nov 11, 2008 6:11 PM

not able to register SIP trunks


I'm not able to register any sip trunks. I have loaded the following info into SIP-Trunk-Config:

<root>
<siptrunk trunk-name="xxx.xxx.com"
route-set="xxx.xxx.com"
sip-domain="xxx.xxx.com"
expires="10">
<trunk-accounts>
<account user-name="xxxx"
auth-user-name="xxxx"
auth-password="xxxx"
inbound-route="sip:200@sipx.xxx.xxx"
expires="3600"/>
</trunk-accounts>
<transient-accounts>
<account user-name="xxxx"
auth-user-name="xxxx"
auth-password="xxxx"
inbound-route="sip:200@sipx.xxx.xxx"
expires="3600"/>
</transient-accounts>
</siptrunk>
</root>

From the logs it doesn't appear to have even tried to register. The info does show up in OpenSBC.ini. In OpenSBC - General Parameters, I have enabled 'Enable Trunk Port' and restarted. I have tried these and another set of trunks, both of which have been used with asterisk so I know they work, but from looking at the logs it doesn't appear they are even trying to register. Another thing I noticed is that there is a file in the opensbc directory named sip-trunk.conf.xml which only has a default-looking configuration in it. Is this supposed to be filled by what I entered in the SIP-Trunk-config window? Am I missing something? Any help would be appreciated.


Thanks.


radp1399

Click to view joegen's profile   136 posts since
Apr 28, 2007
1. Nov 12, 2008 9:24 AM in response to: radp1399
Re: not able to register SIP trunks
Your XML file looks straight forward to me. If you can send me a copy of your log, perhaps we can get more info why it did not work. If you can't post it here for security reasons, you can send it to me directly at joegen@opensipstack.org

radp1399 wrote:

I'm not able to register any sip trunks. I have loaded the following info into SIP-Trunk-Config:

<root>
<siptrunk trunk-name="xxx.xxx.com"
route-set="xxx.xxx.com"
sip-domain="xxx.xxx.com"
expires="10">
<trunk-accounts>
<account user-name="xxxx"
auth-user-name="xxxx"
auth-password="xxxx"
inbound-route="sip:200@sipx.xxx.xxx"
expires="3600"/>
</trunk-accounts>
<transient-accounts>
<account user-name="xxxx"
auth-user-name="xxxx"
auth-password="xxxx"
inbound-route="sip:200@sipx.xxx.xxx"
expires="3600"/>
</transient-accounts>
</siptrunk>
</root>

From the logs it doesn't appear to have even tried to register. The info does show up in OpenSBC.ini. In OpenSBC - General Parameters, I have enabled 'Enable Trunk Port' and restarted. I have tried these and another set of trunks, both of which have been used with asterisk so I know they work, but from looking at the logs it doesn't appear they are even trying to register. Another thing I noticed is that there is a file in the opensbc directory named sip-trunk.conf.xml which only has a default-looking configuration in it. Is this supposed to be filled by what I entered in the SIP-Trunk-config window? Am I missing something? Any help would be appreciated.

Thanks.

radp1399