[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 14:54:33 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 edited comment on ASTERISK-17883 at 6/1/15 2:54 PM:
--------------------------------------------------------------------
Same with Asterisk 13.3.2. Only few Android phones offer that SIP client, for example
* Sony Xperia Z1 Compact (Android 4.4.4) Menu » Settings » Call » (Internet Call Settings) Accounts
* Google Nexus 4 (Android 5.1.1) Menu » Phone » Options » Settings » Calls » Calling accounts » (SIP settings) SIP 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. Thanks for the hint, Paul!
was (Author: traud):
Same with Asterisk 13.3.2. Only few Android phones offer that SIP client, for example
* Sony Xperia Z1 Compact (Android 4.4.4) Menu » Settings » Call » (Internet Call Settings) Accounts
* Google Nexus 4 (Android 5.1.1) Menu » Phone » Options » Settings » Calls » Calling accounts » (SIP settings) SIP 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