[asterisk-users] Inbound call not dialing exten

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jun 16 02:33:09 CDT 2011


On Thu, Jun 16, 2011 at 12:48:39PM +0530, mahesh katta wrote:
> Hi all,
> 
> I have 100 DID's which is 4578900 to 4578999 , and i have 5001 to 5099
> extensions. when incomming call come to this DID no. (4578901) that time
> 5001 extestinsion should ring.
> below my dial plan is not getting any result , inthat has any mistakes.
> please help.
> 
> exten => _45789XX,1,AGI(agi://127.0.0.1:4577/call_log)
> exten => _45789XX,1,Set(Dest=2{EXTEN:-2})
> exten =>
> _45789XX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))
> exten => _45789XX,3,Dial(SIP/${Dest},,tTo)
> exten => _45789XX,4,Hangup
> Best Regards,

There is one obvious problem. But you missed an obvious debugging step
to debug it:

In the asterisk CLI:

  core set verbose 3

Now, look at the trace. What do you see at the time of the call?
Compare that to the dialplan you wrote.

And once again: do not use Asterisk 1.2 on a new installation.

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