#2 works for me on Asterisk 1.8.12 when setting the header like this:

exten => _S,n,SipSetHeader("Diversion: " ${CALLERID(rdnis)})

I haven't been able to make it work on 1.6 yet though, has anyone else?


/Henrik


>
>
>
> 
>
>From: [email protected]
>[mailto:[email protected]] On Behalf Of Don Kelly
>Sent: Wednesday, January 02, 2013 9:32 AM
>To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>Subject: Re: [asterisk-users] Dialing out and recording
>
> 
>
>I have the same requirement, but it's important that the caller ID
>information from the original caller is presented to the destination and
>we
>announce the call before the "transfer" is complete. The carrier requires
>a
>diversion header if the ANI is not one of "our" DIDs. Does someone have
>experience with this working?
>
>--
>
>Two suggestions for you, Don.  #1 if the Dial is "Private" the
>"announcement" is taken care of. #2 I'm supposing that you could do a "SIP
>Header" command before the Dial to resolve the diversion header issue.
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.digium.com/pipermail/asterisk-users/attachments/20130102/459
>43b1f/attachment-0001.htm>
>
>------------------------------


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to