[Asterisk-Users] getting called number from a zap channel
Tobias Wolf
tobias.wolf at evision.de
Thu Oct 6 02:22:39 MST 2005
Hello,
i've got the following setup:
exten => _X.,1,Dial(Zap/${EXTEN},15,T)
exten => 9000,1,AGI(agi://localhost/myagi.agi);
Now i want to do the follwing. With the catchall extension i make an
outbound call to another person. This Person will then get transfered to
extension 9000 and will be connected to the AGI-Script. So far this
works fine. But the AGI Script has to know with whom it is connected so
i want to know the number of the called person.
In a setup with CAPI i was able to get the Number from the DNID
Variable, but with a Zap-Channel with Variable is empty :(
Actually i am running a rather outdated 1.0.2 version of asterisk. I
have tried out 1.0.8 with the same result. Is it possible to give 1.2 a
try without having to change the whole config??
tobias
More information about the asterisk-users
mailing list