[asterisk-users] Unable to capture CallerID through Zap

Gordon Henderson gordon+asterisk at drogon.net
Sun Mar 23 11:25:45 CDT 2008


On Sun, 23 Mar 2008, 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 obtain
> the Caller ID if the calls are from the phone line.
>
>
> exten => s,1,Answer()
> exten => s, n, Verbose(1|incoming number is ${CHANNEL} calling to ${EXTEN}
> routing to ${phonenum} )

exten => s,n,Noop(Incoming number is ${CALLERID(all)})

Note, you ought to have the number even before you Answer() the call.

Gordon



More information about the asterisk-users mailing list