[asterisk-dev] [Code Review] 3349: Implement RFC-3966 TEL URI incoming INVITE
Corey Farrell
reviewboard at asterisk.org
Tue Mar 18 12:01:04 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3349/#review11266
-----------------------------------------------------------
/trunk/channels/sip/reqresp_parser.c
<https://reviewboard.asterisk.org/r/3349/#comment20894>
Link to the RFC is fine, I'd say don't quote the syntax.
/trunk/channels/sip/reqresp_parser.c
<https://reviewboard.asterisk.org/r/3349/#comment20896>
Please follow the same format as the first comment in this procedure for multiline comments.
/trunk/channels/sip/reqresp_parser.c
<https://reviewboard.asterisk.org/r/3349/#comment20895>
You are checking for the wrong result from parse_uri, this will still fail.
You should give the tests a try, ./configure --enable-dev-mode, then enable TEST_FRAMEWORK in 'make menuselect'. In asterisk CLI run:
test execute category /channels/chan_sip/
- Corey Farrell
On March 17, 2014, 3:01 p.m., Geert Van Pamel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3349/
> -----------------------------------------------------------
>
> (Updated March 17, 2014, 3:01 p.m.)
>
>
> Review request for Asterisk Developers, Corey Farrell, lmadensen, Matt Jordan, and wdoekes.
>
>
> Bugs: ASTERISK-17179
> https://issues.asterisk.org/jira/browse/ASTERISK-17179
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> Implements RFC-3966 TEL URI incoming INVITE.
>
> See https://issues.asterisk.org/jira/browse/ASTERISK-17179 for a description of the original isssue.
>
> I have been patching all versions since Asterisk 1.6. I would like to include the code into the main trunk for version 13.
>
> Previously Asterisk was failing with error on incoming IMS call:
>
> Nov 13 17:52:05 NOTICE[27459]: chan_sip.c:6973 check_user_full: From address missing 'sip:', using it anyway
>
> Nov 13 17:52:05 WARNING[27459]: chan_sip.c:6525 get_destination: Huh? Not a SIP header (tel:0987654321;phone-context=+32987654321)?
>
> Reason: tel: protocol was not recognized.
>
>
> Diffs
> -----
>
> /trunk/channels/sip/reqresp_parser.c 410429
> /trunk/channels/chan_sip.c 410429
>
> Diff: https://reviewboard.asterisk.org/r/3349/diff/
>
>
> Testing
> -------
>
> Executed an incoming TEL URI INVITE connection.
> CLI was present on the display and in the CDR file.
> No errors on SIP debug output.
>
>
> File Attachments
> ----------------
>
> RFC-3966 tel URI patch
> https://reviewboard.asterisk.org/media/uploaded/files/2014/03/13/cad7a996-88c1-47fe-a2a9-cc6987af3b75__rfc-3966-tel-uri-patch-diff.txt
>
>
> Thanks,
>
> Geert Van Pamel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140318/4bd8f2bf/attachment-0001.html>
More information about the asterisk-dev
mailing list