[Freeswitch-users] IP SIP Trunk errors/issues

Syed Hussain uzairsh at yahoo.com
Mon Jun 28 04:16:28 PDT 2010


Hi ,

I have subscribed to sonovoip a sip trunk provider who uses IP based authentication for SIP services ,

I am trying to make outbound international calls which are being rejected by the provider for some reason, I am not able to figure out if there is something wrong with the configuration.

I am listing out my configuration. Any help  would be greatly appreciated .
I have also tried #wiki.freeswitch.org/wiki/Provider_Configuration:_SonoVoIP configuration from freeswitch wiki gives errors .

The voip configuration works perfectly with asterisk 1.6

My configuration is follows

Under
/usr/local/freeswitch/conf/sip_profiles/external

cat sonovoip.xml
<include>
  <gateway name="sonovoip">
    <param name="username" value="anything"/>
    <param name="password" value="anything"/>
    <param name="realm" value="x.x.x.x"/> <!--sonovoip ip -->
    <param name="register" value="false"/>
    <param name="caller-id-in-from" value="true"/>
        <param name="extension-in-contact" value="true"/>
  </gateway>
</include>


My dialplan , under /usr/local/freeswitch/conf/dialplan/public.xml

<extension name="sonovoip" continue="true">
      <condition field="destination_number" expression="^(00.*)$">
         <action application="bridge" data="sofia/gateway/sonovoip/$1"/>
      </condition>
    </extension>

I did change the vars.xml  ports

  <!-- Internal SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5080"/>
  <X-PRE-PROCESS cmd="set" data="internal_tls_port=5081"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>
  <!-- External SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
  <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>
  <X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/>
  <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>
  <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/>

The debug

#pastebin.com/4MFhSWm9


Please advise if any other information is required.

Thanks

S



More information about the FreeSWITCH-users mailing list