[asterisk-bugs] [JIRA] (ASTERISK-23790) [patch] - SIP From headers longer than 256 characters result in dropped call and 'No closing bracket' warnings.

uniken1 (JIRA) noreply at issues.asterisk.org
Thu Jun 19 06:58:57 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219641#comment-219641 ] 

uniken1 commented on ASTERISK-23790:
------------------------------------

I install Asterisk 1.8.26.1 from sources.
I try to install patch with command 
cd /usr/local/src/asterisk-1.8.26.1
patch -p0 < chan_sip-large-from-header-1.8.patch
-bash: patch: command not found

So I manualy replace strings in chan_sip.c then
make 
make install

Nothing changes. Same error.

> [patch] - SIP From headers longer than 256 characters result in dropped call and 'No closing bracket' warnings.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23790
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23790
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.26.1, 12.2.0
>         Environment: CentOS 6.5
>            Reporter: uniken1
>            Assignee: uniken1
>         Attachments: chan_sip-large-from-header-11.patch, chan_sip-large-from-header-1.8.patch, myDebugLog
>
>
> [Edit by Rusty - The bracket is present in the packet - Asterisk receives it but stops parsing the From header before it gets to the bracket. I'm guessing due to a character length limit somewhere]
> Asterisk drop call from trunk when SIP display info pressent in SIP invite packet. When I tcpdump packets I found that Asterisk incorrect parsing SIP packet. It said "No closing bracket found...", but bracket realy exists.
> Check screens:
> http://i64.fastpic.ru/big/2014/0526/cd/207e0e4f6924812d1bcdbe2b5283eacd.png
> http://i64.fastpic.ru/big/2014/0526/ab/5764bee7a86881b6a29065396d554cab.png



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list