[asterisk-bugs] [JIRA] (ASTERISK-20902) Asterisk does not send 200 OK when second leg answers

David Cunningham (JIRA) noreply at issues.asterisk.org
Mon Jan 7 21:59:45 CST 2013


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

David Cunningham commented on ASTERISK-20902:
---------------------------------------------

Hi Michael,

The first leg is from 0000004 to Asterisk with the following INVITE:

INVITE sip:0000003 at xx.xx.xx.25:5070;transport=udp SIP/2.0
Record-Route: <sip:xx.xx.xx.25;lr=on;ftag=2ff16670b5e728e8o0>
Via: SIP/2.0/UDP xx.xx.xx.25;branch=z9hG4bK93d7.d45c9a11.0
Via: SIP/2.0/UDP 10.0.0.214:5060;rport=19050;received=yy.yy.yy.241;branch=z9hG4bK-14b230c
From: "A C" <sip:0000004 at hostname.example.com>;tag=2ff16670b5e728e8o0
To: "P M" <sip:0000003 at hostname.example.com>
Call-ID: 4ca5bb10-b9dddcc8 at 10.0.0.214

Then Asterisk makes a call to 0000003 with this INVITE:

INVITE sip:0000003 at xx.xx.xx.25:5060 SIP/2.0
Via: SIP/2.0/UDP xx.xx.xx.25:5070;branch=z9hG4bK6e086edc;rport
Max-Forwards: 70
From: "A C" <sip:0000004 at xx.xx.xx.25:5070>;tag=as608d9223
To: <sip:0000003 at xx.xx.xx.25:5060>
Contact: <sip:0000004 at xx.xx.xx.25:5070>
Call-ID: 449b7c72780f528852148631747d1d79 at xx.xx.xx.25:5070

Then phone 0000003 responds with a 200 OK:

SIP/2.0 200 OK
To: <sip:0000003 at xx.xx.xx.25:5060>;tag=99dde23b4ffe7c8ei0
From: "A C" <sip:0000004 at xx.xx.xx.25:5070>;tag=as608d9223
Call-ID: 449b7c72780f528852148631747d1d79 at xx.xx.xx.25:5070

However Asterisk then never sends the 200 OK to 0000004 on SIP session with call ID 4ca5bb10-b9dddcc8 at 10.0.0.214.
Thanks.

                
> Asterisk does not send 200 OK when second leg answers
> -----------------------------------------------------
>
>                 Key: ASTERISK-20902
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20902
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX
>    Affects Versions: 1.8.11.1
>         Environment: Ubuntu 10.10
>            Reporter: David Cunningham
>            Assignee: David Cunningham
>         Attachments: 0000004-0000003-notworking.txt, 0000004-0000003-working.txt
>
>
> Three phones on one network: 0000001, 0000003, and 0000004.
> When phone 0000001 is NOT plugged in, and 0000004 calls 0000003, when 0000003 answers Asterisk does NOT send a 200 OK to 0000004.
> When phone 0000001 IS plugged in, under the same call scenario and with no other changes, when 0000003 answers Asterisk DOES send a 200 OK to 0000004.
> Bizarre I know. Traces of both working and not working scenarios attached. Happens on both 1.8.11.1 and 1.8.7.1. Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list