[asterisk-users] dialed peer number
Vieri
rentorbuy at yahoo.com
Thu Aug 30 05:19:35 CDT 2007
I am trying to retrieve the "dialed peer number" but
it seems that ${DIALEDPEERNUMBER} is "broken".
Also, I know that I could extract the dialed number
from the ${CHANNEL} variable but this only works for
SIP and maybe IAX (untested). However, it doesn't work
for ZAP. All I get when using ZAP is something like
"Zap/1-1" (for SIP I would get "SIP/4053-082fc408" and
that allows me to extract the dialed extension
"4053").
How can I get the dialed number when using a ZAP
channel?
(using asterisk 1.2.17)
Regards,
Vieri
PS: sorry if I dupe this post but I searched the
archives and I didn't find this message which I posted
last week (just in case someone sees it). I guess that
my original post was dropped/lost/quarantined.
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
More information about the asterisk-users
mailing list