[Freeswitch-users] VoicePulse Setup Help

Jim Flowers jflowers at ezo.net
Tue Sep 23 18:25:39 PDT 2008


I've gotten very confused in trying to set VoicePulse up as an outgoing 
gateway to the PSTN, after reading all the various wiki sections about 
gateways and VoicePulse:

1. Added voicepulse.xml to conf/sip_profiles/default/external..
2. edited conf/dialplan/default.xml to route 10/11 digit calls to VoicePulse. 

I get registered with VoicePulse OK and the gateways show up in '>sofia 
status' but the routing isn't working.

Obviously, I'm doing something wrong but I'm at a loss at what that is.  Can 
someone point me in the right direction?

Thank you.

freeswitch.log
--------------
2008-09-22 21:05:41 [DEBUG] mod_enum.c:582 enum_dialplan_hunt() ENUM Lookup 
on 13304535344
2008-09-22 21:05:41 [DEBUG] mod_enum.c:208 dnserror() unable to lookup NAPTR 
record for 4.4.3.5.3.5.4.0.3.3.1.e164.org: valid domain but no data of 
requested type
2008-09-22 21:05:41 [INFO] switch_core_state_machine.c:114 
switch_core_standard_on_routing() No Route, Aborting
2008-09-22 21:05:41 [NOTICE] switch_core_state_machine.c:115 
switch_core_standard_on_routing() Hangup sofia/internal/1000 at 192.168.2.2 
[CS_ROUTING] [NO_ROUTE_DESTINATION]

voicepulse.xml
--------------
<include>
  <gateway name="voicepulse">
  <param name="username" value="Qrq22VWD13"/>
    <param name="realm" value="jfk-primary.voicepulse.com"/>
    <param name="password" value="FQA32wvw77"/>
    <param name="proxy" value="nyc-primary.voicepulse.com"/>
    <param name="expire-seconds" value="5000"/>
    <param name="register" value="true"/>
  </gateway>
  <gateway name="voicepulse-backup">
    <param name="username" value="Qrq24VWC12"/>
    <param name="realm" value="jfk-backup.voicepulse.com"/>
    <param name="password" value="FQU41wvx77"/>
    <param name="proxy" value="nyc-primary.voicepulse.com"/>
    <param name="extension" value="1000"/> <!-- inbound calls go to -->
    <param name="expire-seconds" value="5000"/>
    <param name="register" value="true"/>
  </gateway>
</include>

default.xml
-----------
<!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here 
-->
   <extension name="Long Distance - voicepulse">
    <condition field="destination_number" expression="^(1{0,1}\d{10})$">
      <action application="set" 
data="effective_caller_id_number=13304535344"/>
      <!-- If your provider does not provide ringback (180 or 183) you may 
simulate
        ringback by uncommenting the following line. -->
      <!-- action application="ringback" -->
      <action application="bridge" data="sofia/gateway/voicepulse/$1"/>
     </condition>

--
Jim Flowers <jflowers at ezo.net>



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the FreeSWITCH-users mailing list