On 03/16/2011 02:07 PM, Danny Nicholas wrote:
------------------------------------------------------------------------

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Jonas Kellens
*Sent:* Wednesday, March 16, 2011 2:39 AM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* [asterisk-users] Extract Remote-Party-ID from incoming INVITE indialplan

Hello list,

is it possible to extract the Remote-Party-ID from an incoming call in the dialplan ? Is there some kind of function for this ?



Kind regards,
Jonas.

If you're on the 1.8 branch, it's just a SIPHeader function, otherwise you're out of luck.


I'm on 1.6.2.16.1. How about :

exten => _XXX.,n,Set(DID="${SIP_HEADER(Remote-Party-ID)}")


Kind regards,
Jonas.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to