equis software
2009-Feb-26 13:36 UTC
[asterisk-users] Getting SIP field P-Asserted-Identity from EAGI
Hi, using EAGI variables like agi_request agi_channel agi_language agi_type agi_uniqueid agi_callerid agi_dnid agi_rdnis agi_context agi_extension agi_priority agi_enhanced agi_accountcode I get a lot of data about a call, but I need to obtain P-Asserted-Identity value from a SIP call. Are tehe any eagi variable to get that? Or have you any solution?? Thanks!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090226/8d8105b7/attachment.htm
Danny Nicholas
2009-Feb-26 14:25 UTC
[asterisk-users] Getting SIP field P-Asserted-Identity from EAGI
Based on this page - http://blog.herbertm.ca/2007/09/03/extracting-dids-from-the-sip-header You could put this in your dialplan [ext-did-custom] exten => s,1,Set(ASSERT="${SIP_HEADER(Call-ID)}") exten => s,2,AGI(xxx.pl,${ASSERT}) _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of equis software Sent: Thursday, February 26, 2009 7:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Getting SIP field P-Asserted-Identity from EAGI Hi, using EAGI variables like agi_request agi_channel agi_language agi_type agi_uniqueid agi_callerid agi_dnid agi_rdnis agi_context agi_extension agi_priority agi_enhanced agi_accountcode I get a lot of data about a call, but I need to obtain P-Asserted-Identity value from a SIP call. Are tehe any eagi variable to get that? Or have you any solution?? Thanks!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090226/2d5c4298/attachment.htm
Benny Amorsen
2009-Feb-26 14:39 UTC
[asterisk-users] Getting SIP field P-Asserted-Identity from EAGI
Can you access channel functions from EAGI? SIP_HEADER(P-Asserted-Identity) contains what you need. It would be nice if Asterisk supported it natively and forgot about the deprecated Remote-Party-ID header. /Benny
Tilghman Lesher
2009-Feb-26 15:45 UTC
[asterisk-users] Getting SIP field P-Asserted-Identity from EAGI
On Thursday 26 February 2009 08:39:29 Benny Amorsen wrote:> Can you access channel functions from EAGI? > > SIP_HEADER(P-Asserted-Identity) contains what you need. > > It would be nice if Asterisk supported it natively and forgot about > the deprecated Remote-Party-ID header.Of course you can. GET VARIABLE SIP_HEADER(P-Asserted-Identity) -- Tilghman