[asterisk-bugs] [JIRA] (ASTERISK-25396) chan_sip: Extremely long callerid name causes invalid SIP
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Sep 17 07:42:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227602#comment-227602 ]
Rusty Newton commented on ASTERISK-25396:
-----------------------------------------
Thanks Walter!
> chan_sip: Extremely long callerid name causes invalid SIP
> ---------------------------------------------------------
>
> Key: ASTERISK-25396
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25396
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/Interoperability
> Affects Versions: 11.19.0, 13.5.0
> Reporter: Walter Doekes
> Severity: Minor
>
> Example:
> {noformat}
> *CLI> channel originate Local/s at default application Wait 10
> ...
> Reliably Transmitting (no NAT) to 1.2.3.4:5060:
> INVITE sip:johndoe at 1.2.3.4 SIP/2.0
> Via: SIP/2.0/UDP 10.101.10.156:5060;branch=z9hG4bK666145d9
> Max-Forwards: 70
> From: "AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDD
> To: <sip:johndoe at 1.2.3.4>
> Contact: <sip:123456789 at 10.101.10.156:5060>
> Call-ID: 2764d24c65faae38254ffbbf44f326c9 at 10.101.10.156:5060
> CSeq: 102 INVITE
> User-Agent: Asterisk PBX GIT-11-3cf0f29
> Date: Thu, 17 Sep 2015 09:07:27 GMT
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
> Supported: replaces, timer
> Remote-Party-ID: "AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB" <sip:123456789 at 10.101.10.156>;party=calling;privacy=off;screen=no
> Content-Type: application/sdp
> Content-Length: 319
> {noformat}
> That is:
> *From: "AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDD* (eol)
> Steps to reproduce:
> {noformat}
> [modules]
> autoload=no
> load => res_clioriginate.so
> load => res_rtp_asterisk.so
> load => chan_sip.so
> load => chan_local.so
> load => app_dial.so
> load => func_callerid.so
> load => pbx_config.so
> {noformat}
> {noformat}
> [default]
> exten => s,1,NoOp
> same => n,Set(CALLERID(num)=123456789)
> same => n,Set(CALLERID(name)=AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF )
> same => n,Set(CALLERID(name)=${CALLERID(name)} AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF )
> same => n,Set(CALLERID(name)=${CALLERID(name)} AAAAAAAAAAAAAAA BBBBBBBBBBBBBBB CCCCCCCCCCCCCCC DDDDDDDDDDDDDDD EEEEEEEEEEEEEEE FFFFFFFFFFFFFFF )
> same => n,Dial(SIP/johndoe at 1.2.3.4)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list