[Asterisk-Dev] Asterisk 1.2.0-beta2 ParkAndAnnounce question

BJ Weschke bweschke at gmail.com
Thu Nov 10 13:46:40 MST 2005


On 11/10/05, Steve Blair <blairs at isc.upenn.edu> wrote:
>
>  Hello:
>
>   I am currently using Asterisk 1.2.0-beta2 for voicemail and call park
> applications. All call processing is done in a SER 0.9 box. If a call
> is blind transfered from an IP phone registered to SER to the Asterisk
> parking lot lead number Asterisk attempts to park it. However when
> ParkAndAnnounce tries to announce the lot number it can
> only call the called or calling party number in the SIP invite message. This
> doesn't work. What I really need is for ParkAndAnnounce to call
> the phone which transfered the call into the lot. This is in the Referred-By
> header. Is there anyway to get the value in the Refered-By header?
>

 That's an interesting application. :)

 Since app_parkandannounce is channel technology agnostic, you
wouldn't really be able to grab the SIP hdr itself within the
application because you could have no assurance that it's going to be
there depending on what channel calls the app.

 An alternative might be to use the SIP_HEADER dialplan function to
grab the Refered-By header and then feed that into the dial argument
of the app_parkandannounce app after any massaging of the data
necessary?


--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/



More information about the asterisk-dev mailing list