Extract Remote-Party-ID from incoming INVITE indialplan

Home » Asterisk Users » Extract Remote-Party-ID from incoming INVITE indialplan
Asterisk Users 2 Comments

_____

From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] 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 ?

2 thoughts on - Extract Remote-Party-ID from incoming INVITE indialplan

  • I’m on 1.6.2.16.1. How about :

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

  • Hello,

    I don’t want to manipulate this SIP header, only read what is the value
    of it in the initial SIP INVITE.