[asterisk-bugs] [JIRA] (ASTERISK-17883) SIP CANCEL is broken when phone is not registered to asterisk (sip friend and/or sip user)

Alexander Traud (JIRA) noreply at issues.asterisk.org
Mon Jun 1 05:05:34 CDT 2015


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

Alexander Traud commented on ASTERISK-17883:
--------------------------------------------

Same with Asterisk 13.3.2 and Google Android 4.4.4.
Only few Android phones offer that SIP client, for example a Sony Xperia Z1 Compact » Settings » Call » (Internet Call Settings) Accounts. In my case, it does not make any difference whether Android is registered or not. The SIP-CANCEL is rejected with STATUS 481. Only if Asterisk ignores tags (sip.conf: pedantic=no), the call is hung-up correctly.

> SIP CANCEL is broken when phone is not registered to asterisk (sip friend and/or sip user)
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-17883
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17883
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.4, 13.3.2
>            Reporter: Artem Makhutov
>            Severity: Minor
>         Attachments: sip.log
>
>
> I have discovered a bug while playing with asterisk and with the embedded sip client of an android mobile phone.
> Canceling a call is broken when the mobile phone is not registered to asterisk.
> When calling from the android phone and the other party picks up the phone everything works just fine. But when the other party does not pick up the phone and I hangup the call on the mobile then the other phone will never stop ringing.
> This problem does not occur when the mobile phone is registered to asterisk.
> Here is the relevant configuration of sip.conf:
> [2005]
> type=friend
> defaultuser=2005
> transport=udp
> fromuser=2005
> context=internal
> host=dynamic
> fromdomain=xxxxxxx
> secret=xxxxxxx
> qualify=yes
> nat=yes
> directmedia=no
> disallow=all
> allow=speex
> allow=alaw
> allow=ulaw
> allow=gsm
> allow=g729
> allow=h264



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



More information about the asterisk-bugs mailing list