[asterisk-users] Getting SIP field P-Asserted-Identity from EAGI
Danny Nicholas
danny at debsinc.com
Thu Feb 26 08:25:54 CST 2009
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
More information about the asterisk-users
mailing list