[asterisk-bugs] [JIRA] (ASTERISK-23257) sip.conf option pendantic=yes not working for dialed numbers with sign #

Walter Doekes (JIRA) noreply at issues.asterisk.org
Tue Feb 11 08:55:03 CST 2014


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

Walter Doekes commented on ASTERISK-23257:
------------------------------------------

Depends on what you want.

If you leave pedantic to 'yes', you won't notice any bugs. But you'll notice how asterisk gracefully accepts your bad SIP and turns it into legal SIP ('#' becomes '%23').

If you set it to 'no', you'll see inconsistent buggy behaviour with regards to sending '#' some of the time.

You could open a ticket requesting it to always behave as pedantic=yes. But then you could simply set pedantic=yes instead and be done with it.
You could open a ticket requesting it to send out bad SIP all of the time with pedantic=no. But that ticket will most likely get the WONTFIX resolution.
                
> sip.conf option pendantic=yes not working for dialed numbers with sign #
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-23257
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23257
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Messaging
>    Affects Versions: 11.7.0
>         Environment: Centos 6.4 64 Bit
>            Reporter: Wilmar Campos
>            Assignee: Wilmar Campos
>
> Bug occurs when pedantic=yes option is active in sip.conf.
> To replicate just create an extension like:
> {noformat}
> exten => _12.,1,NoOP(SIP Call ${EXTEN}, ${CALLERID(all)})
> same => n,Dial(SIP/${EXTEN}@IP_PROVIDER,120,)
> same => n,Hangup
> {noformat}
> When user dial {{126060#1305777777}}, the provider receives the call like:
> {{126060%231305777777}}.
> Please use same default sip.conf and add only pedantic=yes.
> The flow of the call in signaling messages are:
> {noformat}
> customer -> asterisk SIP/SDP Request: INVITE sip:126060#13057777777 at asterisk_ip, with session description
> asterisk -> customer SIP Status: 100 Trying
> asterisk -> provider SIP/SDP Request: INVITE sip:126060%23130577777 at provider_ip, with session description
> {noformat}
> The issue is replicable with Asterisk 11.6.0 and 11.7.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list