[asterisk-dev] keep the dahdi line of server 1 and servers between iax trunk(not hangup)
tsengeljab tsogoo
ubtsogoo at yahoo.com
Tue Sep 20 06:00:47 CDT 2011
hi all,
i have configured the 2 asterisk servers between use IAX trunk,
server 1.
dahdi line connect to telecom company,
server 2.
dahdi lines connect to siemens hicom analogy PBX
hicom extention number is NXX,
in this time, we have one problem, clients dial to server 1 through dahdi, when operator transfer the call to NXX extension, than finish the call(NXX extension and clients) , in this time keep the dahdi line of server 1 and servers between iax trunk(not hangup).
how to fix it? what problem?
________________________________
From: "asterisk-dev-request at lists.digium.com" <asterisk-dev-request at lists.digium.com>
To: asterisk-dev at lists.digium.com
Sent: Tuesday, September 20, 2011 4:53 AM
Subject: asterisk-dev Digest, Vol 86, Issue 111
Send asterisk-dev mailing list submissions to
asterisk-dev at lists.digium.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-dev
or, via email, send a message with subject or body 'help' to
asterisk-dev-request at lists.digium.com
You can reach the person managing the list at
asterisk-dev-owner at lists.digium.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of asterisk-dev digest..."
Today's Topics:
1. [Code Review] Add test execution modes to the Asterisk
Testsuite (mjordan)
2. Re: [Code Review] Add test execution modes to the Asterisk
Testsuite (mjordan)
3. Re: [Code Review] Tests for SIP handling of 484 Address
Incomplete; Incomplete application (opticron)
----------------------------------------------------------------------
Message: 1
Date: Mon, 19 Sep 2011 19:11:04 -0000
From: "mjordan" <reviewboard at asterisk.org>
Subject: [asterisk-dev] [Code Review] Add test execution modes to the
Asterisk Testsuite
To: "Paul Belanger" <pabelanger at digium.com>
Cc: , mjordan <reviewboard at asterisk.org>, Asterisk Developers
<asterisk-dev at lists.digium.com>
Message-ID: <20110919191104.9181.4649 at hotblack.digium.com>
Content-Type: text/plain; charset="utf-8"
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1447/
-----------------------------------------------------------
Review request for Asterisk Developers and Paul Belanger.
Summary
-------
This patch adds the ability for global 'modes' to be defined for the Asterisk test-suite. Those settings in a mode can then be applied either at the base level in the runtests.py script, or by any test that inherits from TestClass.py. As the global settings file makes use of the TestConfig class, all settings in the TestConfig class theoretically be applied on a global scale - although since each test checks its dependencies independently, only the Test Conditions are currently useful.
One additional settings was added - exclude-tests. This lets the global settings file explicitly call out tests (or subsets of tests) to not run without having to modify the tests.yaml file, and acts as a counterpart to the --test command line flag.
The only assumption made by this patch is that the global settings file is named 'test-config.yaml' and is located at the current run directory (the location of the runtests.py script).
Diffs
-----
/asterisk/trunk/README.txt 2346
/asterisk/trunk/lib/python/asterisk/TestCase.py 2346
/asterisk/trunk/lib/python/asterisk/TestConfig.py 2346
/asterisk/trunk/runtests.py 2346
/asterisk/trunk/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml 2346
Diff: https://reviewboard.asterisk.org/r/1447/diff
Testing
-------
Tested fast config mode, standard config mode, and pessimistic config mode. Each worked as intended:
* Fast config mode successfully excluded those tests with a reactor_timeout greater than one minute
* Standard config mode applied no global settings
* Pessimistic config mode applied the Test Conditions to all tests inheriting from TestCase. Those tests that further defined test specific overrides applied those settings over the global conditions.
Thanks,
mjordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110919/1cfa2ea3/attachment-0001.htm>
------------------------------
Message: 2
Date: Mon, 19 Sep 2011 19:22:04 -0000
From: "mjordan" <reviewboard at asterisk.org>
Subject: Re: [asterisk-dev] [Code Review] Add test execution modes to
the Asterisk Testsuite
To: "Paul Belanger" <pabelanger at digium.com>
Cc: , mjordan <reviewboard at asterisk.org>, Asterisk Developers
<asterisk-dev at lists.digium.com>
Message-ID: <20110919192204.10973.19418 at hotblack.digium.com>
Content-Type: text/plain; charset="utf-8"
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1447/
-----------------------------------------------------------
(Updated Sept. 19, 2011, 2:22 p.m.)
Review request for Asterisk Developers and Paul Belanger.
Summary (updated)
-------
This patch adds the ability for global 'modes' to be defined for the Asterisk test-suite. Those settings in a mode can then be applied either at the base level in the runtests.py script, or by any test that inherits from TestClass.py. As the global settings file makes use of the TestConfig class, all settings in the TestConfig class can theoretically be applied on a global scale - although since each test checks its dependencies independently, only the Test Conditions are currently useful.
One additional settings was added - exclude-tests. This lets the global settings file explicitly call out tests (or subsets of tests) to not run without having to modify the tests.yaml file, and acts as a counterpart to the --test command line flag.
The only assumption made by this patch is that the global settings file is named 'test-config.yaml' and is located at the current run directory (the location of the runtests.py script).
Diffs
-----
/asterisk/trunk/README.txt 2346
/asterisk/trunk/lib/python/asterisk/TestCase.py 2346
/asterisk/trunk/lib/python/asterisk/TestConfig.py 2346
/asterisk/trunk/runtests.py 2346
/asterisk/trunk/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml 2346
/asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml 2346
Diff: https://reviewboard.asterisk.org/r/1447/diff
Testing
-------
Tested fast config mode, standard config mode, and pessimistic config mode. Each worked as intended:
* Fast config mode successfully excluded those tests with a reactor_timeout greater than one minute
* Standard config mode applied no global settings
* Pessimistic config mode applied the Test Conditions to all tests inheriting from TestCase. Those tests that further defined test specific overrides applied those settings over the global conditions.
Thanks,
mjordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110919/1f32e8b7/attachment-0001.htm>
------------------------------
Message: 3
Date: Mon, 19 Sep 2011 20:52:20 -0000
From: "opticron" <reviewboard at asterisk.org>
Subject: Re: [asterisk-dev] [Code Review] Tests for SIP handling of
484 Address Incomplete; Incomplete application
To: "Paul Belanger" <pabelanger at digium.com>, rmudgett at digium.com
Cc: , opticron <reviewboard at asterisk.org>, Asterisk Developers
<asterisk-dev at lists.digium.com>
Message-ID: <20110919205220.21476.57145 at hotblack.digium.com>
Content-Type: text/plain; charset="utf-8"
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1417/#review4381
-----------------------------------------------------------
Ship it!
Both of the run-tests files need to be marked as executable, but other than that it looks like it's good to go.
- opticron
On Sept. 6, 2011, 12:45 p.m., mjordan wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1417/
> -----------------------------------------------------------
>
> (Updated Sept. 6, 2011, 12:45 p.m.)
>
>
> Review request for Asterisk Developers, Paul Belanger and rmudgett.
>
>
> Summary
> -------
>
> These tests are for the change under review for ASTERISK-17288 (https://reviewboard.asterisk.org/r/1416/ ). They test SIP handling of 484 Address Incomplete and the Incomplete application's effect on chan_sip.
>
>
> This addresses bug ASTERISK-17288.
> https://issues.asterisk.org/jira/browse/ASTERISK-17288
>
>
> Diffs
> -----
>
> /asterisk/trunk/lib/python/asterisk/sipp.py 2057
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/configs/ast1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/configs/ast1/manager.general.conf.inc PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/configs/ast1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/run-test PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/sipp/receiver1.xml PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/sipp/sender1.xml PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/apps/incomplete/tests.yaml PRE-CREATION
> /asterisk/trunk/tests/apps/tests.yaml 2057
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/configs/ast1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/configs/ast1/manager.general.conf.inc PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/configs/ast1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/run-test PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/sipp/uas1.xml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/tests.yaml 2057
>
> Diff: https://reviewboard.asterisk.org/r/1417/diff
>
>
> Testing
> -------
>
> Without the patch for ASTERISK-17288, both tests will fail. The application Incomplete test will fail with a timeout to the t extension, as it received no additional information to dial (and the SIP test will fail as the 484 response will never be forwarded to the dialing party). The SIP handle response test will fail with a hangup cause of 111.
>
>
> Thanks,
>
> mjordan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110919/e2f4058d/attachment.htm>
------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
AstriCon 2010 - October 26-28 Washington, DC
Put in your talk proposal: http://www.bit.ly/speak-astricon2010
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
End of asterisk-dev Digest, Vol 86, Issue 111
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110920/c1d56168/attachment-0001.htm>
More information about the asterisk-dev
mailing list