Skip to main content

Voicepulse.xml

Click here to expand Table of Contents

All the text below was last edited in 2010, it is therefore likely out-of-date, inaccurate and in dire need of a refresh

Voicepulse 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 DID's, they'll tell you they will, but they don't.

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.

You can put outbound gateways in one of two places. An example of each is listed below. If you put a gateway on a user everyone in the system can use that gateway, it doesn't limit the gateway to that one user.

Example #1:

This file (voicepulse.xml) should be placed in prefix/conf/sip_profiles/external.

East Coast Example:

<include>
<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>

West Coast Example:

<include>
<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>

Example #2:

This is an example of putting a gateway in the user directory. This file (voicepulse.xml) should go in prefix/conf/directory/default

The external sip profile has the domains tag which will parse the domain and register all gateways it finds:

  <domains>
<domain name="$${domain}" parse="true"/>
</domains>

And the user directory has this:

East Coast:

<include>
<user id="voicepulse">
<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>
</gateways>
<params>
<param name="password" value="XXXXXX"/>
</params>
</user>
</include>

West Coast:

<include>
<user id="voicepulse">
<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>
</gateways>
<params>
<param name="password" value="XXXXXX"/>
</params>
</user>
</include>

Taken from https://freeswitch.org/confluence/pages/viewpage.action?pageId=2883880

See Also: default config