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: [email protected]
[mailto:[email protected]] 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!!!
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users