chan_sip: Support RFC-3966 TEL URIs in inbound INVITE requests
authorMatthew Jordan <mjordan@digium.com>
Sat, 12 Apr 2014 02:27:43 +0000 (02:27 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 12 Apr 2014 02:27:43 +0000 (02:27 +0000)
commiteed03fc01ac8c6ef424eff65c718f7802a4cb1ef
tree9d7f8bd4fa085773b28aa8f6ad4c251fe11dbab7
parent39ba6a16f5c0fd1fe40a41d7102b057ef3490a9e
chan_sip: Support RFC-3966 TEL URIs in inbound INVITE requests

This patch adds support for handling TEL URIs in inbound INVITE requests.
This includes the Request URI and the From URI. The number specified in
the Request URI will be the destination of the inbound channel in the dialplan.
The phone-context specified in the Request URI will be stored in the
TELPHONECONTEXT channel variable.

Review: https://reviewboard.asterisk.org/r/3349

ASTERISK-17179 #close
Reported by: Geert Van Pamel
Tested by: Geert Van Pamel
patches:
  asterisk-12.0.0-chan_sip-RFC3966_patch.txt uploaded by Geert Van Pamel (License 6140)
  asterisk-12.0.0-reqresp_parser-RFC3966_patch.txt uploaded by Geert Van Pamel (License 6140)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_sip.c
channels/sip/reqresp_parser.c