Im still tring to figure out how to route my calls out of a secondary
termination provider when my primary fails.  I have no idea how to even
attempt this.. It seems like it would be something simple...



Regards
John

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Blair
Sent: Sunday, November 13, 2005 7:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion;
[email protected]
Subject: [Asterisk-Users] How to get Referred-By header


  I have been trying to get the value in the Referred-By header from
within the parkandannounce application without success. I first tried
getting it via ast_channel assuming the SIP driver would request a
channel for the inbound call and Referred-By could be found that way.
Maybe it can but I cannot figure out how.

  I then tried to use get_header(req,"Referred-By") assuming if I have a
pointer to the packet get_header would be able to extract the desired
value. No good.

   Has anyone done this? I really need to get the Referred-By value for
a local application and I'm out of choices.

Thanks,Steve
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to