[asterisk-bugs] [JIRA] (ASTERISK-20902) Asterisk does not send 200 OK to caller after receiving 200 OK from callee

David Cunningham (JIRA) noreply at issues.asterisk.org
Tue Feb 5 02:15:59 CST 2013


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

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

Hi Walter,

1. Correct.

2. Correct. I've attached a new test_fork.agi which can be called directly from extensions.conf with:
exten => 1000101, 1, AGI(test_fork.agi)

3. The problem is that the macro calls an AGI, and somehow manages to know that the AGI has a child process which hasn't finished even thought the parent AGI has.

4. We have tested with a double fork, and without the waitpid(). Neither of these helps. The waidpid() has options so that it doesn't block. We are certain that the parent has gone past that and exited, but Asterisk does not forward on the 200 OK until the child process exits.

                
> Asterisk does not send 200 OK to caller after receiving 200 OK from callee
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-20902
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20902
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX, PBX/pbx_realtime
>    Affects Versions: 1.8.11.1
>         Environment: Ubuntu 10.10
>            Reporter: David Cunningham
>            Assignee: Rusty Newton
>         Attachments: 0000004-0000003-notworking.txt, 0000004-0000003-working.txt, call_phone.agi, extensions.conf, notworking_2013-01-14.txt, sip.conf, test_fork.agi, test_fork.agi, trace-20902-1.txt, working_2013-01-14.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