Re: [asterisk-users] Parking Lot CallerID

2007-05-24 Thread Alex Balashov

On Thu, 24 May 2007, Ken Williams wrote:


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?


  It is possible that the phone accepts some form of SIP NOTIFY message 
for revising its caller ID display.  Some caller ID / CNAM is implemented 
this way because the lookup takes place subsequent to the establishment of 
end-to-end signaling parameters, mirroring the ISDN setting for the same.


--
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: +1-678-954-0670
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Parking Lot CallerID

2007-05-24 Thread Ken Williams
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?
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users