[asterisk-users] Extract Remote-Party-ID from incoming INVITE indialplan

Danny Nicholas danny at debsinc.com
Wed Mar 16 08:52:37 CDT 2011


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Wednesday, March 16, 2011 8:51 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Extract Remote-Party-ID from incoming INVITE
indialplan

 

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

  _____  

size=2 width="100%" align=center> 

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



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.

That answer is for another poster or you to decide.  I don't fool with 1.6
or 1.8, just read what gets posted here about them.  Guess I'm a 1.4 Luddite
:-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110316/87932ea6/attachment-0001.htm>


More information about the asterisk-users mailing list