[asterisk-users] Parking Lot CallerID
Ken Williams
ken at intermountainelectronics.com
Thu May 24 06:20:18 MST 2007
Is there anyway of storing an incoming calls CallerID on a parked call
and having it restored when someone picks up the parked call?
I've tried storing the CID as a global variable and restoring it in my
dialplan, and while NoOp shows it working, the phone ignores it and uses
the parking lot extension for callerid instead. I believe this is
because the phone is calling out instead of a call coming in, is there
anyway around this?
This is a basic idea of what I've done to try to capture the CID in
testing:
exten => 200,1,SetGlobalVar(P1NAME=${CALLERID(NAME)})
exten => 200,n,SetGlobalVar(P1NUM=${CALLERID(NUM)})
exten => 200,n,Park()
exten => _20x,1,Wait(1)
exten => _20x,n,NoOp(${DIAL_OPTIONS})
exten => _20x,n,Set(CALLERID(NAME)=${P1NAME})
exten => _20x,n,Set(CALLERID(NUM)=${P1NUM})
exten => _20x,n,NoOp(${CALLERID(NAME)} ${CALLERID(NUM)})
exten => _20x,n,ParkedCall(${EXTEN})
Beings the call is originating on the phone I'm not sure there's a way
to push the CID back to it, any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070524/ecf32047/attachment.htm
More information about the asterisk-users
mailing list