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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Jun 19 11:39:57 CDT 2014


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

Corey Farrell commented on ASTERISK-23790:
------------------------------------------

I recommend running:
bq. yum install patch

This is assuming you are running RHEL/CentOS/Scientific Linux.  If you are running a distro that uses a different package name then you may need to find it with:
bq. yum whatprovides *bin/patch

This way you can use the proper utility to apply patches in the future.  Also you said you previously had installed asterisk by yum.  Did you uninstall that copy?  If not it's possible you didn't run the manual build.  It could also be that /etc/asterisk/asterisk.conf still points the modules directory to the yum install instead of your manual install.  One thing you can do to be sure is insert a blank line at the beginning of chan_sip.c - verify that even if you get the same error message it should be from a new line number.

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