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
_______________________________________________
-- 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