[Freeswitch-users] INVALID_NUMBER_FORMAT

Cliff Wells cliff at develix.com
Mon Aug 23 14:04:11 PDT 2010


I have two servers, both seemingly configured identically.  One can make
outbound calls via the gateway, the other cannot.   Here's the error:

EXECUTE FreeTDM/1:25/7771112222 bridge(sofia/gateway/outbound/18001231234)
2010-08-23 08:52:05.918700 [ERR] mod_sofia.c:3668 Invalid Gateway
2010-08-23 08:52:05.918700 [NOTICE] mod_sofia.c:3984 Close Channel N/A [CS_NEW]
2010-08-23 08:52:05.918700 [DEBUG] switch_core_state_machine.c:430 () Running State Change CS_DESTROY
2010-08-23 08:52:05.918700 [DEBUG] switch_core_state_machine.c:440 (N/A) State DESTROY
2010-08-23 08:52:05.918700 [DEBUG] mod_sofia.c:358 N/A SOFIA DESTROY
2010-08-23 08:52:05.918700 [DEBUG] switch_core_state_machine.c:440 (N/A) State DESTROY going to sleep
2010-08-23 08:52:05.918700 [ERR] switch_ivr_originate.c:2600 Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
2010-08-23 08:52:05.918700 [DEBUG] switch_ivr_originate.c:3408 Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]
2010-08-23 08:52:05.918700 [INFO] mod_dptools.c:2393 Originate Failed.  Cause: INVALID_NUMBER_FORMAT
2010-08-23 08:52:05.918700 [DEBUG] switch_channel.c:2261 (FreeTDM/1:25/7017120999) Callstate Change RINGING -> HANGUP
2010-08-23 08:52:05.918700 [NOTICE] mod_dptools.c:2456 Hangup FreeTDM/1:25/7017120999 [CS_EXECUTE] [INVALID_NUMBER_FORMAT]
2010-08-23 08:52:05.918700 [DEBUG] switch_channel.c:2277 Send signal FreeTDM/1:25/7771112222 [KILL]


Dialplan is via mod_xml_curl (both servers get the same info from the same http server) and looks like:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
  <section name="dialplan" description="freeswitch dialplan for 7771112222">
    <context name="public">
      <extension name="xml-curl-bridge">
        <condition field="destination_number" expression=".*">
          <action application="set" data="hangup_after_bridge=true"/>
          <action application="set" data="call_timeout=30"/>
          <action application="set" data="effective_caller_id_number=7771112222"/>
          <action application="bridge" data="sofia/gateway/outbound/18001231234"/>
        </condition>
      </extension>
    </context>
  </section>
</document>


The gateway (identical on both systems):

<include>
    <gateway name="outbound">
      <param name="username" value="4442221111"/>
      <param name="auth-username" value="4444444"/>
      <param name="password" value="somesecret"/>
      <param name="proxy" value="sip.myprovider.com"/>
      <param name="expire-seconds" value="600"/>
      <param name="register" value="true"/>
      <param name="retry-seconds" value="30"/>
      <param name="ping" value="25"/>
    </gateway>
</include>


Again, this setup works on one system but not the other and I'm at a
loss since I can't be sure what number FS is complaining about (I assume
the outbound).

Thanks in advance,
Cliff

-- 




More information about the FreeSWITCH-users mailing list