Hi Guys,
What is the proper format for dialplan to set Caller ID when using spool
outgoing call feature of Asterisk 1.6.
This is my call file:
Channel: SIP/SIP_Provider/4164445555
CallerID: "My Number" <4167778888>
MaxRetries: 1
RetryTime: 10
WaitTime: 45
Context: hello-world
Extension: s
Priority: 1
Set: cid=4164445555
Archive: Yes
This is my context:
[hello-world]
exten => s,1,Set(${CALLERID(number)=$cid)
exten => s,n,Answer
exten => s,n,NoOp(${CALLERID(number))
exten => s,n,Playback(hello-world)
I want the hello-world context to see the call as coming into this context as
4164445555 since I passed the $cid variable but it doesn't happen. What is the
proper format to this dialplan?
Thanks,
Bruce
_________________________________________________________________
Live connected with Messenger on your phone
http://go.microsoft.com/?linkid=9712958