[asterisk-users] How to capture destination number when receive call through ZAP

Rob Hillis rob at hillis.dyndns.org
Mon Mar 24 17:44:41 CDT 2008


Distinctive ring is still not going to provide the line that was called 
in the ${EXTEN} variable, so you're still stuck with dialplan trickery 
to figure out which number was rung.


Mojo with Horan & Company, LLC wrote:
> Distinctive Ringing might be available from your telecom provider.
>
> mark morreny wrote:
>   
>> Hi all,
>>
>> I am using Digium PCI board to receive PSTN call through regular phone 
>> line.  It is no problem for me to receive calls, but I am not able to 
>> capture the destination number through the ZAP channel
>>
>>
>> exten => s, n, Verbose(1|destination to ${EXTEN}  )
>>
>>
>> ${EXTEN} returns 's' instead of the actual destination number.  Since 
>> I have multiple phone numbers, I want to be able to route different 
>> calls to different places. 
>>
>> Is this possible to do with Asterisk?
>>
>> Thanks,
>> Mark
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>     
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080325/ddcdaa0b/attachment.htm 


More information about the asterisk-users mailing list