[asterisk-commits] mmichelson: testsuite/asterisk/trunk r4997 - in /asterisk/trunk/tests/channel...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 28 08:52:09 CDT 2014


Author: mmichelson
Date: Mon Apr 28 08:52:01 2014
New Revision: 4997

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4997
Log:
Adjust PJSIP AMI show_endpoint test to have multiple permanent contacts configured.

This helps to exercise the code that was recently added that allows for
comma-separated permanent contacts to be listed for AORs.


Modified:
    asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/configs/ast1/pjsip.conf
    asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml

Modified: asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/configs/ast1/pjsip.conf?view=diff&rev=4997&r1=4996&r2=4997
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/configs/ast1/pjsip.conf Mon Apr 28 08:52:01 2014
@@ -30,7 +30,7 @@
 endpoint=user1
 
 [user1](aor_t)
-contact=sip:user1 at 127.0.0.1:5062
+contact=sip:user1 at 127.0.0.1:5062,sip:user1 at 127.0.0.2:5063
 
 [user1](auth_t)
 username=user1

Modified: asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml?view=diff&rev=4997&r1=4996&r2=4997
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml Mon Apr 28 08:52:01 2014
@@ -135,8 +135,8 @@
                     DefaultExpiration: '3600'
                     MaximumExpiration: '7200'
                     MinimumExpiration: '60'
-                    Contacts: 'user1/sip:user1 at 127.0.0.1:5062'
-                    TotalContacts: '1'
+                    Contacts: 'user1/sip:user1 at 127.0.0.1:5062,user1/sip:user1 at 127.0.0.2:5063'
+                    TotalContacts: '2'
                     ContactsRegistered: '0'
                     EndpointName: 'user1'
             count: 1




More information about the asterisk-commits mailing list