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

Walter Doekes (JIRA) noreply at issues.asterisk.org
Tue Feb 5 02:07:58 CST 2013


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

Walter Doekes edited comment on ASTERISK-20902 at 2/5/13 2:06 AM:
------------------------------------------------------------------

So, without diving into your uploaded files, can I assume the following?

(1) The problem is with AGI calls. When there is no AGI, there is no problem?

(2) The problem has nothing to do with the call_phone.agi, and everything with test_fork.agi. Did you try putting Dial(SIP/1000101 at x.x.x.45/n,20,ortM(test-answered)) in extensions.conf and skipping the the call_phone.agi?

(3) The problem really lies with M(test-answered), because the Macro calls a script which does not end in time? I.e. does the same happen if you System(sleep 10) instead of AGI(test_fork.agi)?

(4) If all of the above is true, then you only need to figure out why your 'disown' doesn't work. (For starters, the waitpid() should go. The point was that you didn't want to wait, right? You may need to double-fork. Look at perl daemonize documentation.)
                
      was (Author: wdoekes):
    So, without diving into your uploaded files, can I assume the following?

(1) The problem is with AGI calls. When there is no AGI, there is no problem?

(2) The problem has nothing to do with the call_phone.agi, and everything with test_fork.agi. Did you try putting Dial(SIP/1000101 at x.x.x.45/n,20,ortM(test-answered)) in extensions.conf and skipping the the call_phone.agi?

(3) The problem really lies with M(test-answered), because the Macro calls a script which does not end in time? I.e. does the same happen if you System(sleep 10) instead of AGI(test_fork.agi)?

(4) If all of the above is true, then you only need to figure out why your 'disown' doesn't work. (For starters, the waitpid() should go. The point was that you don't want to wait, right?)
                  
> 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, 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