[asterisk-users] Dual asterisk, CallerID(name|number) problem

Delca delcas at gmail.com
Thu Sep 21 14:13:34 MST 2006


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


More information about the asterisk-users mailing list