[Asterisk-Users] Multiple IAX2 connections

Kevin Walsh kevin at cursor.biz
Sun Mar 28 00:25:26 MST 2004


Darnell Gadberry [darnell at binmedia.com] wrote:
> Is it possible to maintain two separate and distinct IAX2 connections
> between a pair of Asterisk servers?
>
Yes and no, see below. :-)

> 
> Here is the scenario: I use VoicePulse Connect for inbound and outbound
> calling. I have a friend who also has
> an account and I would like to add his profile to my Asterisk Server. I
> added entries to sip.conf, extensions.conf,
> and iax.conf to support his configuration. My DID works fine as does
> outbound calling. Unfortunately, when an
> inbound from his DID arrives at my box, I get the following error:
> 
> Mar 27 16:39:43 NOTICE[1142106560]: Host 66.234.228.132 failed to
> authenticate as voicepulse 
> 
> [voicepulse]
> context = voicepulse-incoming
> secret = XXXXXXXXX
> auth = md5
> type = friend
> host = gw5.voicepulse.com
> 
> [voicepulse-bdw]
> context = voicepulse-incoming
> secret = XXXXXXXXX
> auth = md5
> type = friend
> host = gw5.voicepulse.com
> 
It is possible to maintain two distinct IAX2 connections between a
pair of servers, but each connection will have to authenticate itself
using a different username - unless someone has a trick here, which
I doubt.

Your problem is that you have two incoming connections which are
both claiming to be "voicepulse".  Perhaps you could ask VoicePulse
to use a different login name for one of the accounts.

Why not put all of the incoming DDIs on one account?  I'm sure you
could find a way to share the bill, as you probably know how many of
these lines belong to each of you.  You could still maintain separate
accounts for outgoing calls, of course.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-users mailing list