_____  

From: [email protected]
[mailto:[email protected]] 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: [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.

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
:-)

--
_____________________________________________________________________
-- 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