5 Replies Last post: Apr 25, 2008 9:22 AM by dcardosoa  
  29 posts since
Feb 12, 2008

Apr 25, 2008 9:22 AM

SIP trunk problems (SOLVED)

Hi everybody...

I am trying use the SIP TRUNK function in OSBC, but I had some problems...


I am using the OSBC-1.1.5-3 and OSipStack-1.1.7...


In my b2bua-route.xml I have the following:


<route filter="sip:XXX.XXX.XXX.225"> XXX.XXX.XXX.225:5060;sip-trunk=true </route>


And in my Sip Trunk Config I have the following:


<siptrunk trunk-name="example" route-set="XXX.XXX.XXX.225" sip-domain="XXX.XXX.XXX.225" expires="10">
<trunk-accounts>
<account user-name="500" auth-user-name="500" auth-password="500" expires="3600" />
</trunk-accounts>
<transient-accounts>
<account user-name="500" auth-user-name="500" auth-password="500" />
</transient-accounts>
</siptrunk>


I am using the following scenary: Openser -> OSBC -> SIPTRUNK


But when the invite arrives in OSBC, it doesnt pass the invite for the SIPTRUNK...


Why it happen?


Is there any problem with my config?


Thanks in advance...

Click to view joegen's profile   519 posts since
Apr 28, 2007
1. Apr 24, 2008 8:48 PM in response to: dcardosoa
Re: SIP trunk problems

Hi,

A common mistake in SIP trunk XML is users tend to not
enclose the XML entry with <root></root>. Make sure you
XML starts with a <root> element. In your route filter, make your filter more
forgiving by allowing ports to be present. Change it to sip:XXX.XXX.XXX.225* (add asterisk at the end). Lastly, please check the registration status if you account has been registered. If your setup still does not work, feel free to send in a level 5 log for us to have more insight what went wrong*.*


regards,

Joegen

Click to view joegen's profile   519 posts since
Apr 28, 2007
3. Apr 24, 2008 9:45 PM in response to: dcardosoa
Re: SIP trunk problems
sip-trunk.conf.xml is just a reference. You must paste it directly to the web interface.