Provider Configuration: VoicePulse

From FreeSWITCH Wiki
Jump to: navigation, search

Voicepulse East Coast

<include>
<!-- East Coast gateways -->
  <gateway name="voicepulse">
    <param name="username" value="your-username"/>
    <param name="realm" value="jfk-primary.voicepulse.com"/>
    <param name="password" value="your-password"/>
    <param name="proxy" value="jfk-primary.voicepulse.com"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="true"/>
  </gateway>
  <gateway name="voicepulse-backup">
    <param name="username" value="your-username"/>
    <param name="realm" value="jfk-backup.voicepulse.com"/>
    <param name="password" value="your-password"/>
    <param name="extension" value="1NXXNXXXXXX"/>
    <param name="proxy" value="jfk-backup.voicepulse.com"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="true"/>
  </gateway>
</include>

Voicepulse West Coast

<include>
<!-- West Coast gateways -->
  <gateway name="voicepulse">
    <param name="username" value="your-username"/>
    <param name="realm" value="sjc-primary.voicepulse.com"/>
    <param name="password" value="your-password"/>
    <param name="proxy" value="sjc-primary.voicepulse.com"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="true"/>
  </gateway>
  <gateway name="voicepulse-backup">
    <param name="username" value="your-username"/>
    <param name="realm" value="sjc-backup.voicepulse.com"/>
    <param name="password" value="your-password"/>
    <param name="extension" value="1NXXNXXXXXX"/>
    <param name="proxy" value="sjc-backup.voicepulse.com"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="true"/>
  </gateway>
</include>

Voicepulse Warning

WARNING!!! Recent changes (Sep 2008) in VoicePulse have limited connect03 to only IAX termination. Please remove any entries that you may have reflecting the gateway below from your dialplan as it will most likely answer the call and play a message saying something to the effect of "Your call could not be completed as dialed because we changed our production environment in an effort to demonstrate what bad engineering is all about. BAD is an acronym for Broken As Designed. Please hang up and make changes on all your switches. Even though we shouldn't have answered the call and simply ignored it entirely so that another gateway could facilitate your call, we FELT it wise to seriously inconvenience you by answering the call immediately giving no other gateway a chance to place the call. Thanks for using our service and we look forward to abusing you again in the near future.

UPDATE - Problem getting worse, not better 3/30/2009. I switched DID providers because of problems w/ Voicepulse, such as echo, dropped calls, and consistent registration problems hence calls don't get placed and inbound don't get routed to me. Incidentally, they will not port DIDs, they'll tell you they will, but they don't.

5/23/2009 - They still won't port numbers... Stay away, far away... You have been warned.

2009-03-30 05:20:17 [ERR] sofia_reg.c:1333 sofia_reg_handle_sip_r_register() voicepulse-backupsjc Registration Failed with status DNS Error [503]. failure #1
2009-03-30 05:20:18 [WARNING] sofia_reg.c:320 sofia_reg_check_gateway() voicepulse-backupsjc Failed Registration, setting retry to 60 seconds.
2009-03-30 05:21:19 [NOTICE] sofia_reg.c:291 sofia_reg_check_gateway() Registering voicepulse-backupsjc
2009-03-30 05:21:19 [ERR] sofia_reg.c:1333 sofia_reg_handle_sip_r_register() voicepulse-backupsjc Registration Failed with status DNS Error [503]. failure #2
2009-03-30 05:21:20 [WARNING] sofia_reg.c:320 sofia_reg_check_gateway() voicepulse-backupsjc Failed Registration, setting retry to 90 seconds.
2009-03-30 05:21:41 [NOTICE] sofia_reg.c:291 sofia_reg_check_gateway() Registering voicepulse
2009-03-30 05:21:41 [ERR] sofia_reg.c:1333 sofia_reg_handle_sip_r_register() voicepulse Registration Failed with status DNS Error [503]. failure #1
2009-03-30 05:21:42 [WARNING] sofia_reg.c:320 sofia_reg_check_gateway() voicepulse Failed Registration, setting retry to 60 seconds.
<include>
<!-- As of September 2008 connect03 is used only as IAX - Disregard this below -->
  <gateway name="connect03.voicepulse.com">
    <param name="username" value="your-username"/>
    <param name="realm" value="connect03.voicepulse.com"/>
    <param name="password" value="your-password"/>
    <param name="extension" value="1NXXNXXXXXX"/>
    <param name="proxy" value="connect03.voicepulse.com"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="true"/>
  </gateway>
<!-- As of September 2008 connect03 is used only as IAX - Disregard this entry above -->
</include>

You should check here for detailed information on VoicePulse.

Be advised: Replace nyc-primary.voicepulse.com and nyc-backup.voicepulse.com with the appropriate jfk or sjc hostnames and to disregard/remove connect03.voicepulse.com completely. You have been warned.

A script for doing real-time rating using Voicepulse's FlexRATE. Examples_voicepulse_rate

Be advised: Replace nyc-primary.voicepulse.com and nyc-backup.voicepulse.com with the appropriate jfk or sjc hostnames and to disregard/remove connect03.voicepulse.com completely. You have been warned.