[asterisk-users] Two lines for outgoing calls

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Dec 26 10:55:40 CST 2007


On Wed, Dec 26, 2007 at 06:13:39PM +0200, Dominik Zalewski wrote:
> Dear All,
> 
> I'm using Asterisk 1.4.16.2 with Zaptel 1.4.7 on Debian with kernel
> 2.6.18. 
> 
> I have two analog lines Zap/1 and Zap/2 as group 1 in zapata.conf. I'm
> using below context for dialing out.
> 
> [outbound-local]
> exten => _9XXX,1,Dial(Zap/g1/${EXTEN:1},30,tTr)
> exten => _9XXXXX,1,Dial(Zap/g1/${EXTEN:1},30,tTr)
> exten => _9ZXXXXXX,1,Dial(Zap/g1/${EXTEN:1},30,tTr)
> exten => _9ZXXXXXXX,1,Dial(Zap/g1/${EXTEN:1},30,tTr)
> exten => _90900XXXXX,1,Dial(Zap/g1/${EXTEN:1},30m,tTr)
> 
> When Zap/1 is busy and I try to call, it will use Zap/2 which is fine
> but there is something wrong cause I hear one ring and then a weird
> sound like a noise or something and then hangup. I have to reload zaptel
> modules and then everything works fine for a while.
> 
>    -- Executing [9150 at from-internal:1] Dial("SIP/200-08221590",
> "Zap/g1/150|30|tTr") in new stack
>     -- Called g1/150
>     -- Zap/2-1 answered SIP/200-08221590
>     -- Hungup 'Zap/2-1'
> 
> I even thought that second fxo module is broken so I changed it. No
> results.

Can you take SIP out of the picture?

Try the following in the command-line:

  originate Zap/2/150 application Echo

Next, get some debug logging: enable "debug" or "full" in logger.conf

  logger reload
  core set verbose 3
  core set debug 5

Make a call, and post the relevant parts of the log. This should give
some more clues about who caused the hangup and why.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list