Hi, i'm having a bit of a problem with callerid(name|number). When a
call arrives to a server and it's forwarded to the other server, the
callerid(name|number) disapears.

Here's the output:


   -- Executing NoOp("SIP/201.216.198.199-08171990", "") in new stack
   -- Executing NoOp("SIP/201.216.198.199-08171990", "1151540837") in new stack
   -- Executing Dial("SIP/201.216.198.202-081f19e0",
"IAX2/asta/202|20") in new stack



this is when the call comes into the first asterisk. Here's what
happens with the second asterisk:

   -- Executing NoOp("IAX2/astb-9", "Unknown") in new stack
   -- Executing NoOp("IAX2/astb-9", "") in new stack
   -- Executing Macro("IAX2/astb-9", "stdexten|202") in new stack
   -- Executing Dial("IAX2/astb-9", "SIP/202|20") in new stack



And the dial plans:

first:

exten => 01152584202,1,NoOp(${CALLERID(name)})
exten => 01152584202,n,NoOp(${CALLERID(number)})
exten => 01152584202,n,Dial(IAX2/asta/202,20)
exten => 01152584202,n,Hangup()


second:

exten => 202,1,NoOp(${CALLERID(name)})
exten => 202,n,NoOp(${CALLERID(number)})
exten => 202,n,Macro(stdexten,202)
exten => 202,n,Hangup



Cheers!
Santiago
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to