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, Verbose(1|callid is ${CALLID(num)})
exten => s,n,Verbose(1|callpres is ${CALLINGPRES})
exten => s,n,Dial(SIP/[EMAIL PROTECTED],60)
-- Executing [EMAIL PROTECTED]:3] Verbose("Zap/1-1", "1|incoming number is
Zap/1-1 calling to s routing to ") in new stack
-- Executing [EMAIL PROTECTED]:4] Verbose("Zap/1-1", "1| callidall is ") in
new stack
callidall is
-- Executing [EMAIL PROTECTED]:5] Verbose("Zap/1-1", "1|callid is ") in new
stack
callid is
-- Executing [EMAIL PROTECTED]:6] Verbose("Zap/1-1", "1|callpres is 0") in
new
stack
How come I am not able to get the call from ID and call to ID? Is this
something with my setup?
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