[asterisk-users] Problem with callerid(dnid) and queue

Carlo Dimaggio jaasmailing at gmail.com
Tue May 11 13:44:57 CDT 2010


Hi all,

In order to use the "open url" function of zoiper (it opens an url  
based on the asterisk $callerid(dnid)), I need rewriting of the dnid.
In my dialplan I have:

exten => 1000,3,Set(CALLERID(dnid)=newdnid)
exten => 1000,4,Noop(${CALLERID(dnid)})
exten => 1000,5,Queue(test-queue)

but the callerid(dnid) shows the extension called (the member of the  
test-queue) and not the "newdid". I have tried also with the option  
"o" in cmd Dial but without success.

Do you know if there is a way to obtain the newdnid?


Thanks!
Carlo



More information about the asterisk-users mailing list