[asterisk-commits] kharwell: testsuite/asterisk/trunk r6540 - /asterisk/trunk/tests/channels/pjs...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 20 17:56:23 CDT 2015


Author: kharwell
Date: Fri Mar 20 17:56:21 2015
New Revision: 6540

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=6540
Log:
pjsua doesn't send a 180 ringing

Previously the 'update_connected_line_information' routine was always sending a
180 RING, but after some changes were made it will only send one if it needs to.
Apparently, pjsua not receiving a 180 caused it to later send an out of dialog
REFER instead of an in dialog one. This of course is not handled by Asterisk.
Since this seems to be a problem in pjsua for now this change makes sure a ring
is always sent via the dialplan, thus pjsua will now send the REFER in dialog
and the test passes.


Modified:
    asterisk/trunk/tests/channels/pjsip/transfers/blind_transfer/caller_refer_only/configs/ast1/extensions.conf

Modified: asterisk/trunk/tests/channels/pjsip/transfers/blind_transfer/caller_refer_only/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/transfers/blind_transfer/caller_refer_only/configs/ast1/extensions.conf?view=diff&rev=6540&r1=6539&r2=6540
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/transfers/blind_transfer/caller_refer_only/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/transfers/blind_transfer/caller_refer_only/configs/ast1/extensions.conf Fri Mar 20 17:56:21 2015
@@ -4,6 +4,9 @@
 
 [transfertest]
 exten => bob,1,NoOp()
+	; send a ring because pjsua needs one, otherwise it
+	; messes up and sends an out of dialog REFER
+	same => n,Ringing()
 	same => n,Dial(PJSIP/bob)
 	same => n,Hangup()
 




More information about the asterisk-commits mailing list