[Asterisk-code-review] Update app/voicemail tests to use chan pjsip instead of chan... (testsuite[certified/13.21])

George Joseph asteriskteam at digium.com
Thu Jun 7 08:22:45 CDT 2018


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/9041 )

Change subject: Update app/voicemail tests to use chan_pjsip instead of chan_sip
......................................................................

Update app/voicemail tests to use chan_pjsip instead of chan_sip

This required a small change to the voicemail.py library but otherwise
sip_to_pjsip.py took care of converting all of the sip.conf files.
Then it was just a matter of adjusting the dial strings in the run-test
files.

Change-Id: I2722aa6b670e500063a497371f7a7749d59e13e5
---
M lib/python/asterisk/voicemail.py
M tests/apps/dial/dial_answer/configs/ast1/extensions.conf
A tests/apps/dial/dial_answer/configs/ast1/pjsip.conf
D tests/apps/dial/dial_answer/configs/ast1/sip.conf
M tests/apps/dial/dial_answer/test-config.yaml
M tests/apps/dial/dial_busy/configs/ast1/extensions.conf
A tests/apps/dial/dial_busy/configs/ast1/pjsip.conf
D tests/apps/dial/dial_busy/configs/ast1/sip.conf
M tests/apps/dial/dial_busy/test-config.yaml
M tests/apps/dial/dial_congestion/configs/ast1/extensions.conf
A tests/apps/dial/dial_congestion/configs/ast1/pjsip.conf
D tests/apps/dial/dial_congestion/configs/ast1/sip.conf
M tests/apps/dial/dial_congestion/test-config.yaml
M tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/extensions.conf
A tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/pjsip.conf
D tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/sip.conf
M tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
M tests/apps/dial/dial_hangup/configs/ast1/extensions.conf
A tests/apps/dial/dial_hangup/configs/ast1/pjsip.conf
D tests/apps/dial/dial_hangup/configs/ast1/sip.conf
M tests/apps/dial/dial_hangup/test-config.yaml
M tests/apps/dial/dial_no_answer/configs/ast1/extensions.conf
A tests/apps/dial/dial_no_answer/configs/ast1/pjsip.conf
D tests/apps/dial/dial_no_answer/configs/ast1/sip.conf
M tests/apps/dial/dial_no_answer/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
M tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
A tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/pjsip.conf
D tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/sip.conf
M tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
M tests/apps/dial/dial_timeout/configs/ast1/extensions.conf
A tests/apps/dial/dial_timeout/configs/ast1/pjsip.conf
D tests/apps/dial/dial_timeout/configs/ast1/sip.conf
M tests/apps/dial/dial_timeout/test-config.yaml
M tests/apps/dial/dial_unavail/configs/ast1/extensions.conf
A tests/apps/dial/dial_unavail/configs/ast1/pjsip.conf
D tests/apps/dial/dial_unavail/configs/ast1/sip.conf
M tests/apps/dial/dial_unavail/test-config.yaml
A tests/apps/voicemail/authenticate_extensions/configs/ast1/pjsip.conf
D tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf
A tests/apps/voicemail/authenticate_extensions/configs/ast2/pjsip.conf
D tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf
M tests/apps/voicemail/authenticate_extensions/run-test
M tests/apps/voicemail/authenticate_extensions/test-config.yaml
A tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/pjsip.conf
D tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf
A tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/pjsip.conf
D tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf
M tests/apps/voicemail/authenticate_invalid_mailbox/run-test
M tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
A tests/apps/voicemail/authenticate_invalid_password/configs/ast1/pjsip.conf
D tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf
A tests/apps/voicemail/authenticate_invalid_password/configs/ast2/pjsip.conf
D tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf
M tests/apps/voicemail/authenticate_invalid_password/run-test
M tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
A tests/apps/voicemail/authenticate_nominal/configs/ast1/pjsip.conf
D tests/apps/voicemail/authenticate_nominal/configs/ast1/sip.conf
A tests/apps/voicemail/authenticate_nominal/configs/ast2/pjsip.conf
D tests/apps/voicemail/authenticate_nominal/configs/ast2/sip.conf
M tests/apps/voicemail/authenticate_nominal/run-test
M tests/apps/voicemail/authenticate_nominal/test-config.yaml
A tests/apps/voicemail/check_voicemail_callback/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_callback/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_callback/run-test
M tests/apps/voicemail/check_voicemail_callback/test-config.yaml
A tests/apps/voicemail/check_voicemail_delete/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_delete/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_delete/run-test
M tests/apps/voicemail/check_voicemail_delete/test-config.yaml
A tests/apps/voicemail/check_voicemail_dialout/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_dialout/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_dialout/run-test
M tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
A tests/apps/voicemail/check_voicemail_envelope/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_envelope/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_envelope/run-test
M tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
A tests/apps/voicemail/check_voicemail_forward/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_forward/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_forward/run-test
M tests/apps/voicemail/check_voicemail_forward/test-config.yaml
A tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_forward_hangup/run-test
M tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
A tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
M tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
A tests/apps/voicemail/check_voicemail_new_user/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_new_user/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_new_user/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_new_user/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_new_user/run-test
M tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
A tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
M tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
A tests/apps/voicemail/check_voicemail_nominal/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_nominal/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_nominal/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_nominal/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_nominal/run-test
M tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_change_password/run-test
M tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_change_password_spooldir/run-test
M tests/apps/voicemail/check_voicemail_options_change_password_spooldir/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_record_busy/run-test
M tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_record_name/run-test
M tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_record_temp/run-test
M tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
A tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_options_record_unavail/run-test
M tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
A tests/apps/voicemail/check_voicemail_reply/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_reply/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_reply/run-test
M tests/apps/voicemail/check_voicemail_reply/test-config.yaml
A tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/pjsip.conf
D tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf
A tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/pjsip.conf
D tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf
M tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
M tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
A tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_contexts/run-test
M tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
A tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_external_notification/run-test
M tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
A tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_forwarding/run-test
M tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
A tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/run-test
M tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
A tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_nominal/run-test
A tests/apps/voicemail/leave_voicemail_priority/configs/ast1/pjsip.conf
D tests/apps/voicemail/leave_voicemail_priority/configs/ast1/sip.conf
A tests/apps/voicemail/leave_voicemail_priority/configs/ast2/pjsip.conf
D tests/apps/voicemail/leave_voicemail_priority/configs/ast2/sip.conf
M tests/apps/voicemail/leave_voicemail_priority/run-test
M tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
240 files changed, 3,304 insertions(+), 1,232 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/lib/python/asterisk/voicemail.py b/lib/python/asterisk/voicemail.py
index 22ae949..283650b 100644
--- a/lib/python/asterisk/voicemail.py
+++ b/lib/python/asterisk/voicemail.py
@@ -86,7 +86,7 @@
 
     # The default expected channel to be used to send info to the voicemail
     # server
-    default_sender_channel = "SIP/ast1-00000000"
+    default_sender_channel = "PJSIP/ast1-00000000"
 
     def __init__(self):
         """Constructor"""
diff --git a/tests/apps/dial/dial_answer/configs/ast1/extensions.conf b/tests/apps/dial/dial_answer/configs/ast1/extensions.conf
index 82f03cc..0ac0ce9 100644
--- a/tests/apps/dial/dial_answer/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_answer/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_answer/configs/ast1/pjsip.conf b/tests/apps/dial/dial_answer/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..8f0ec1b
--- /dev/null
+++ b/tests/apps/dial/dial_answer/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_answer/configs/ast1/sip.conf b/tests/apps/dial/dial_answer/configs/ast1/sip.conf
deleted file mode 100644
index 24fce14..0000000
--- a/tests/apps/dial/dial_answer/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_answer/test-config.yaml b/tests/apps/dial/dial_answer/test-config.yaml
index be6916b..191156d 100644
--- a/tests/apps/dial/dial_answer/test-config.yaml
+++ b/tests/apps/dial/dial_answer/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -28,9 +28,6 @@
         config-section: sipp-config
         typename: 'sipp.SIPpTestCase'
     modules:
-        -
-            config-section: 'cdr-config-12'
-            typename: 'cdr.CDRModule'
         -
             config-section: ami-config-13-5
             typename: 'ami.AMIEventModule'
@@ -58,7 +55,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -73,7 +70,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -84,7 +81,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -103,7 +100,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -113,7 +110,7 @@
                 DestLinkedid: '.*'
                 CallerIDNum: '<unknown>'
                 CallerIDName: '<unknown>'
-                ConnectedLineNum: '<unknown>'
+                ConnectedLineNum: 's'
                 ConnectedLineName: '<unknown>'
                 DialStatus: 'ANSWER'
         count: '1'
diff --git a/tests/apps/dial/dial_busy/configs/ast1/extensions.conf b/tests/apps/dial/dial_busy/configs/ast1/extensions.conf
index 43ddf35..361c9f3 100644
--- a/tests/apps/dial/dial_busy/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_busy/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_busy/configs/ast1/pjsip.conf b/tests/apps/dial/dial_busy/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_busy/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_busy/configs/ast1/sip.conf b/tests/apps/dial/dial_busy/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_busy/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_busy/test-config.yaml b/tests/apps/dial/dial_busy/test-config.yaml
index ef4a525..ffa7b16 100644
--- a/tests/apps/dial/dial_busy/test-config.yaml
+++ b/tests/apps/dial/dial_busy/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -48,7 +48,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -65,7 +65,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 486 Busy Here'
                 AsteriskCause: 'User busy'
         count: '1'
@@ -74,7 +74,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -93,7 +93,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_congestion/configs/ast1/extensions.conf b/tests/apps/dial/dial_congestion/configs/ast1/extensions.conf
index 43ddf35..361c9f3 100644
--- a/tests/apps/dial/dial_congestion/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_congestion/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_congestion/configs/ast1/pjsip.conf b/tests/apps/dial/dial_congestion/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_congestion/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_congestion/configs/ast1/sip.conf b/tests/apps/dial/dial_congestion/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_congestion/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_congestion/test-config.yaml b/tests/apps/dial/dial_congestion/test-config.yaml
index 86a8f96..c493481 100644
--- a/tests/apps/dial/dial_congestion/test-config.yaml
+++ b/tests/apps/dial/dial_congestion/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -61,7 +61,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 503 Service Unavailable'
                 AsteriskCause: 'Circuit/channel congestion'
         count: '1'
@@ -70,7 +70,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -87,7 +87,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/extensions.conf b/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/extensions.conf
index f06e920..1be2b61 100644
--- a/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/extensions.conf
@@ -9,7 +9,7 @@
 
 exten => s,1,NoOp()
 	same => n,Set(FEATUREMAP(disconnect)=2)
-	same => n,Dial(SIP/bob,,Hb(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,,Hb(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/pjsip.conf b/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/sip.conf b/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_dtmf_hangup_cancel/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml b/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
index 7908e27..43a0ebd 100644
--- a/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
+++ b/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
@@ -15,7 +15,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'pbx_config'
@@ -50,7 +50,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -64,7 +64,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 180 Ringing'
                 AsteriskCause: 'Normal Clearing'
         count: '1'
@@ -73,7 +73,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         callbackModule: 'send_dtmf'
         callbackMethod: 'send_dtmf'
     -
@@ -81,7 +81,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_hangup/configs/ast1/extensions.conf b/tests/apps/dial/dial_hangup/configs/ast1/extensions.conf
index 82f03cc..0ac0ce9 100644
--- a/tests/apps/dial/dial_hangup/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_hangup/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_hangup/configs/ast1/pjsip.conf b/tests/apps/dial/dial_hangup/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..8f0ec1b
--- /dev/null
+++ b/tests/apps/dial/dial_hangup/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_hangup/configs/ast1/sip.conf b/tests/apps/dial/dial_hangup/configs/ast1/sip.conf
deleted file mode 100644
index 24fce14..0000000
--- a/tests/apps/dial/dial_hangup/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_hangup/test-config.yaml b/tests/apps/dial/dial_hangup/test-config.yaml
index 7600b7e..f10eb55 100644
--- a/tests/apps/dial/dial_hangup/test-config.yaml
+++ b/tests/apps/dial/dial_hangup/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -49,7 +49,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -63,7 +63,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
                 TechCause: 'SIP 180 Ringing'
                 AsteriskCause: 'Normal Clearing'
         count: '1'
@@ -72,7 +72,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         callbackModule: 'hangup'
         callbackMethod: 'send_hangup'
     -
@@ -80,7 +80,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_no_answer/configs/ast1/extensions.conf b/tests/apps/dial/dial_no_answer/configs/ast1/extensions.conf
index 43ddf35..361c9f3 100644
--- a/tests/apps/dial/dial_no_answer/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_no_answer/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_no_answer/configs/ast1/pjsip.conf b/tests/apps/dial/dial_no_answer/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_no_answer/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_no_answer/configs/ast1/sip.conf b/tests/apps/dial/dial_no_answer/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_no_answer/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_no_answer/test-config.yaml b/tests/apps/dial/dial_no_answer/test-config.yaml
index 1d6cebe..4a8b103 100644
--- a/tests/apps/dial/dial_no_answer/test-config.yaml
+++ b/tests/apps/dial/dial_no_answer/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -61,7 +61,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 480 Temporarily Unavailable'
                 AsteriskCause: 'User alerting'
         count: '1'
@@ -70,7 +70,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -87,7 +87,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/extensions.conf
index 8039df3..fc09819 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
index 51b708e..4877881 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -57,7 +57,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -69,7 +69,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 486 Busy Here'
@@ -81,7 +81,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 486 Busy Here'
@@ -92,7 +92,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -107,7 +107,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -122,7 +122,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -137,7 +137,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/extensions.conf
index 4f92912..c165d88 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/extensions.conf
@@ -9,7 +9,7 @@
 
 exten => s,1,NoOp()
 	same => n,Set(FEATUREMAP(disconnect)=2)
-	same => n,Dial(SIP/bob&SIP/charlie,,Hb(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,Hb(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
index 7b1f7d1..01b3d6d 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
@@ -15,7 +15,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -51,7 +51,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -61,7 +61,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -73,7 +73,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 180 Ringing'
@@ -84,7 +84,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         callbackModule: 'send_dtmf'
         callbackMethod: 'send_dtmf'
     -
@@ -92,7 +92,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -109,7 +109,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -127,7 +127,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 180 Ringing'
@@ -138,7 +138,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -155,7 +155,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/extensions.conf
index 8039df3..fc09819 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
index 2cb9485..1b3c8a9 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -57,7 +57,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -69,7 +69,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 503 Service Unavailable'
@@ -81,7 +81,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 503 Service Unavailable'
@@ -92,7 +92,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -107,7 +107,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -122,7 +122,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -137,7 +137,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/extensions.conf
index 8039df3..fc09819 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
index 2978626..6e465ac 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -57,7 +57,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -69,7 +69,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 480 Temporarily Unavailable'
@@ -81,7 +81,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 480 Temporarily Unavailable'
@@ -92,7 +92,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -107,7 +107,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -122,7 +122,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -137,7 +137,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/extensions.conf
index 8039df3..fc09819 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
index bbb11fc..a79b675 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -57,7 +57,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -69,7 +69,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 420 Bad Extension'
@@ -81,7 +81,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 420 Bad Extension'
@@ -92,7 +92,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -107,7 +107,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -122,7 +122,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -137,7 +137,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
index 07cfa21..d18d260 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
index 5e1bc48..4752971 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
@@ -15,7 +15,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -50,7 +50,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -60,7 +60,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -75,7 +75,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 180 Ringing'
@@ -87,7 +87,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -98,7 +98,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -117,7 +117,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -136,7 +136,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -155,7 +155,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
index 07cfa21..d18d260 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
index 776e76d..93e5439 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -48,7 +48,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -58,7 +58,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -70,7 +70,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 486 Busy Here'
@@ -82,7 +82,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -93,7 +93,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -108,7 +108,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -123,7 +123,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -138,7 +138,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
index 07cfa21..d18d260 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
index 3cb2889..0c2d5c6 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -48,7 +48,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -58,7 +58,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -70,7 +70,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 503 Service Unavailable'
@@ -82,7 +82,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -93,7 +93,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -108,7 +108,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -123,7 +123,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -138,7 +138,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
index 07cfa21..d18d260 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
index 3b69ac7..d7118c5 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
@@ -14,7 +14,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -49,7 +49,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
@@ -59,7 +59,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -71,7 +71,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 480 Temporarily Unavailable'
@@ -83,7 +83,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -94,7 +94,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -109,7 +109,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -124,7 +124,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -139,7 +139,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
index 07cfa21..d18d260 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob&SIP/charlie,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob&PJSIP/charlie,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/pjsip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..653c3a0
--- /dev/null
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/pjsip.conf
@@ -0,0 +1,54 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+[charlie]
+port = 5067
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
+[charlie]
+type = aor
+contact = sip:127.0.0.1:5067
+
+[charlie]
+type = identify
+endpoint = charlie
+match = 127.0.0.1
+
+[charlie]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = charlie
+
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/sip.conf b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/sip.conf
deleted file mode 100644
index 149cdaf..0000000
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/sip.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
-
-[charlie]
-context=default
-type=peer
-host=127.0.0.1
-port=5067
-insecure=invite
-disallow=all
-allow=ulaw
\ No newline at end of file
diff --git a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
index a898bee..deb08f1 100644
--- a/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
+++ b/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -48,7 +48,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -58,7 +58,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/charlie-.{8}'
+                dchannel: 'PJSIP/charlie-.{8}'
                 lastapp: 'Dial'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
@@ -70,7 +70,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 TechCause: 'SIP 420 Bad Extension'
@@ -82,7 +82,7 @@
             match:
                 Event: 'UserEvent'
                 UserEvent: 'HangupCause'
-                HangupChannel: 'SIP/charlie-.*'
+                HangupChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 TechCause: 'SIP 200 OK'
@@ -93,7 +93,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -108,7 +108,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -123,7 +123,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -138,7 +138,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/charlie-.*'
+                DestChannel: 'PJSIP/charlie-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_timeout/configs/ast1/extensions.conf b/tests/apps/dial/dial_timeout/configs/ast1/extensions.conf
index 34e768e..36f2fc4 100644
--- a/tests/apps/dial/dial_timeout/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_timeout/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob,2,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,2,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_timeout/configs/ast1/pjsip.conf b/tests/apps/dial/dial_timeout/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_timeout/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_timeout/configs/ast1/sip.conf b/tests/apps/dial/dial_timeout/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_timeout/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_timeout/test-config.yaml b/tests/apps/dial/dial_timeout/test-config.yaml
index ce16bbe..d4a3459 100644
--- a/tests/apps/dial/dial_timeout/test-config.yaml
+++ b/tests/apps/dial/dial_timeout/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -48,7 +48,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
@@ -62,7 +62,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 180 Ringing'
                 AsteriskCause: 'Normal Clearing'
         count: '1'
@@ -71,7 +71,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/dial/dial_unavail/configs/ast1/extensions.conf b/tests/apps/dial/dial_unavail/configs/ast1/extensions.conf
index 43ddf35..361c9f3 100644
--- a/tests/apps/dial/dial_unavail/configs/ast1/extensions.conf
+++ b/tests/apps/dial/dial_unavail/configs/ast1/extensions.conf
@@ -1,7 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
-	same => n,Dial(SIP/bob,,b(default^apply_handler^1))
+	same => n,Dial(PJSIP/bob,,b(default^apply_handler^1))
 	same => n,Hangup()
 
 exten => apply_handler,1,NoOp()
diff --git a/tests/apps/dial/dial_unavail/configs/ast1/pjsip.conf b/tests/apps/dial/dial_unavail/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..733ddf4
--- /dev/null
+++ b/tests/apps/dial/dial_unavail/configs/ast1/pjsip.conf
@@ -0,0 +1,35 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[bob]
+port = 5066
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 0.0.0.0
+
+[bob]
+type = aor
+contact = sip:127.0.0.1:5066
+
+[bob]
+type = identify
+endpoint = bob
+match = 127.0.0.1
+
+[bob]
+type = endpoint
+context = default
+disallow = all
+allow = ulaw
+aors = bob
+
diff --git a/tests/apps/dial/dial_unavail/configs/ast1/sip.conf b/tests/apps/dial/dial_unavail/configs/ast1/sip.conf
deleted file mode 100644
index 2c1d1e1..0000000
--- a/tests/apps/dial/dial_unavail/configs/ast1/sip.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[bob]
-context=default
-type=peer
-host=127.0.0.1
-port=5066
-insecure=invite
-disallow=all
-allow=ulaw
diff --git a/tests/apps/dial/dial_unavail/test-config.yaml b/tests/apps/dial/dial_unavail/test-config.yaml
index dd683b0..1ab86e1 100644
--- a/tests/apps/dial/dial_unavail/test-config.yaml
+++ b/tests/apps/dial/dial_unavail/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_stack'
         - asterisk : 'app_userevent'
         - asterisk : 'cdr_csv'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
         - asterisk : 'func_channel'
         - asterisk : 'func_hangupcause'
         - asterisk : 'func_strings'
@@ -47,7 +47,7 @@
                 dcontext: 'default'
                 callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
-                dchannel: 'SIP/bob-.{8}'
+                dchannel: 'PJSIP/bob-.{8}'
                 lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
@@ -61,7 +61,7 @@
                 UserEvent: 'HangupCause'
         requirements:
             match:
-                HangupChannel: 'SIP/bob-.*'
+                HangupChannel: 'PJSIP/bob-.*'
                 TechCause: 'SIP 420 Bad Extension'
                 AsteriskCause: 'No route to destination'
         count: '1'
@@ -70,7 +70,7 @@
         conditions:
             match:
                 Event: 'DialBegin'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
@@ -87,7 +87,7 @@
         conditions:
             match:
                 Event: 'DialEnd'
-                DestChannel: 'SIP/bob-.*'
+                DestChannel: 'PJSIP/bob-.*'
         requirements:
             match:
                 Channel: 'Local/s at default-.*'
diff --git a/tests/apps/voicemail/authenticate_extensions/configs/ast1/pjsip.conf b/tests/apps/voicemail/authenticate_extensions/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_extensions/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf b/tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf
deleted file mode 100644
index 16b8af0..0000000
--- a/tests/apps/voicemail/authenticate_extensions/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/authenticate_extensions/configs/ast2/pjsip.conf b/tests/apps/voicemail/authenticate_extensions/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_extensions/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf b/tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/authenticate_extensions/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/authenticate_extensions/run-test b/tests/apps/voicemail/authenticate_extensions/run-test
index 602da32..8f19b43 100755
--- a/tests/apps/voicemail/authenticate_extensions/run-test
+++ b/tests/apps/voicemail/authenticate_extensions/run-test
@@ -136,15 +136,15 @@
 
     def executeTest(self, ami):
         if self.test_counter == 0:
-            logger.debug("Originating call to sip/ast/9000")
-            df = ami.originate("sip/ast1/9000", "voicemailCaller", "wait", 1)
+            logger.debug("Originating call to PJSIP/9000 at ast1")
+            df = ami.originate("PJSIP/9000 at ast1", "voicemailCaller", "wait", 1)
             df.addErrback(self.handle_originate_failure)
         else:
-            self.sender_channel = "SIP/ast1-00000001"
+            self.sender_channel = "PJSIP/ast1-00000001"
             startObject = LoginWithoutMailbox(self.test_state_controller, self)
             self.test_state_controller.change_state(startObject)
-            logger.debug("Originating call to sip/ast/9000")
-            df = ami.originate("sip/ast1/9000", "voicemailCaller", "wait", 1)
+            logger.debug("Originating call to PJSIP/9000 at ast1")
+            df = ami.originate("PJSIP/9000 at ast1", "voicemailCaller", "wait", 1)
             df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/authenticate_extensions/test-config.yaml b/tests/apps/voicemail/authenticate_extensions/test-config.yaml
index 859004e..466669a 100644
--- a/tests/apps/voicemail/authenticate_extensions/test-config.yaml
+++ b/tests/apps/voicemail/authenticate_extensions/test-config.yaml
@@ -11,7 +11,7 @@
         - python : 'starpy'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_voicemail'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/pjsip.conf b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf
deleted file mode 100644
index 16b8af0..0000000
--- a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/pjsip.conf b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf b/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/authenticate_invalid_mailbox/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/run-test b/tests/apps/voicemail/authenticate_invalid_mailbox/run-test
index 17095be..7997005 100755
--- a/tests/apps/voicemail/authenticate_invalid_mailbox/run-test
+++ b/tests/apps/voicemail/authenticate_invalid_mailbox/run-test
@@ -65,7 +65,7 @@
     def __init__(self):
         super(AuthenticateInvalidMailbox, self).__init__()
         self.create_asterisk(2)
-        self.channel = "sip/ast1/9000"
+        self.channel = "PJSIP/9000 at ast1"
 
     def ami_connect(self, ami):
         super(AuthenticateInvalidMailbox, self).ami_connect(ami)
diff --git a/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml b/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
index ceaf166..13bf03f 100644
--- a/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
+++ b/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
@@ -11,7 +11,7 @@
         - python : 'starpy'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_voicemail'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/pjsip.conf b/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf b/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf
deleted file mode 100644
index 16b8af0..0000000
--- a/tests/apps/voicemail/authenticate_invalid_password/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/pjsip.conf b/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf b/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/authenticate_invalid_password/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/authenticate_invalid_password/run-test b/tests/apps/voicemail/authenticate_invalid_password/run-test
index ec389b9..06d2368 100755
--- a/tests/apps/voicemail/authenticate_invalid_password/run-test
+++ b/tests/apps/voicemail/authenticate_invalid_password/run-test
@@ -135,15 +135,15 @@
 
     def executeTest(self, ami):
         if self.test_counter == 0:
-            logger.debug("Originating call to sip/ast/9000")
-            df = ami.originate("sip/ast1/9000", "voicemailCaller", "wait", 1)
+            logger.debug("Originating call to PJSIP/9000 at ast1")
+            df = ami.originate("PJSIP/9000 at ast1", "voicemailCaller", "wait", 1)
             df.addErrback(self.handle_originate_failure)
         else:
-            self.sender_channel = "SIP/ast1-00000001"
+            self.sender_channel = "PJSIP/ast1-00000001"
             startObject = LoginWithoutMailbox(self.test_state_controller, self)
             self.test_state_controller.change_state(startObject)
-            logger.debug("Originating call to sip/ast/9001")
-            df = ami.originate("sip/ast1/9001", "voicemailCaller", "wait", 1)
+            logger.debug("Originating call to PJSIP/9001 at ast1")
+            df = ami.originate("PJSIP/9001 at ast1", "voicemailCaller", "wait", 1)
             df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml b/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
index 73deb42..0834058 100644
--- a/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
+++ b/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
@@ -11,7 +11,7 @@
         - python : 'starpy'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_voicemail'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/authenticate_nominal/configs/ast1/pjsip.conf b/tests/apps/voicemail/authenticate_nominal/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_nominal/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/authenticate_nominal/configs/ast1/sip.conf b/tests/apps/voicemail/authenticate_nominal/configs/ast1/sip.conf
deleted file mode 100644
index 16b8af0..0000000
--- a/tests/apps/voicemail/authenticate_nominal/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/authenticate_nominal/configs/ast2/pjsip.conf b/tests/apps/voicemail/authenticate_nominal/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/authenticate_nominal/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/authenticate_nominal/configs/ast2/sip.conf b/tests/apps/voicemail/authenticate_nominal/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/authenticate_nominal/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/authenticate_nominal/run-test b/tests/apps/voicemail/authenticate_nominal/run-test
index 49b182f..36c633b 100755
--- a/tests/apps/voicemail/authenticate_nominal/run-test
+++ b/tests/apps/voicemail/authenticate_nominal/run-test
@@ -106,9 +106,9 @@
         and test controller object type
         """
         self.credentials = [
-            ("9000", "1234", "SIP/ast1-00000000", LoginWithMailbox),
-            ("9001", "0", "SIP/ast1-00000001", LoginWithoutMailbox),
-            ("9002", "1234567890", "SIP/ast1-00000002", LoginWithoutMailbox)]
+            ("9000", "1234", "PJSIP/ast1-00000000", LoginWithMailbox),
+            ("9001", "0", "PJSIP/ast1-00000001", LoginWithoutMailbox),
+            ("9002", "1234567890", "PJSIP/ast1-00000002", LoginWithoutMailbox)]
         self.create_asterisk(2)
         self.test_counter = 0
 
@@ -139,8 +139,8 @@
         self.test_state_controller.change_state(startObject)
         self.sender_channel = tuple[2]
 
-        logger.debug("Originating call to sip/ast1/" + tuple[0])
-        df = self.ami_sender.originate("sip/ast1/" + tuple[0], "voicemailCaller", "wait", 1)
+        logger.debug("Originating call to PJSIP/" + tuple[0] + "@ast1")
+        df = self.ami_sender.originate("PJSIP/" + tuple[0] + "@ast1", "voicemailCaller", "wait", 1)
         df.addErrback(self.handle_originate_failure)
         self.test_counter += 1
 
diff --git a/tests/apps/voicemail/authenticate_nominal/test-config.yaml b/tests/apps/voicemail/authenticate_nominal/test-config.yaml
index 213496d..f0f6521 100644
--- a/tests/apps/voicemail/authenticate_nominal/test-config.yaml
+++ b/tests/apps/voicemail/authenticate_nominal/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_callback/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_callback/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_callback/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_callback/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_callback/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_callback/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_callback/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_callback/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_callback/run-test b/tests/apps/voicemail/check_voicemail_callback/run-test
index 62f8e0e..8bc7dc4 100755
--- a/tests/apps/voicemail/check_voicemail_callback/run-test
+++ b/tests/apps/voicemail/check_voicemail_callback/run-test
@@ -203,7 +203,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_callback/test-config.yaml b/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
index f62ea87..7c7e112 100644
--- a/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_delete/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_delete/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_delete/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_delete/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_delete/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_delete/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_delete/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_delete/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_delete/run-test b/tests/apps/voicemail/check_voicemail_delete/run-test
index 1c20a1e..4a9d525 100755
--- a/tests/apps/voicemail/check_voicemail_delete/run-test
+++ b/tests/apps/voicemail/check_voicemail_delete/run-test
@@ -185,7 +185,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_delete/test-config.yaml b/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
index 2defc46..29e02e9 100644
--- a/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_dialout/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_dialout/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_dialout/run-test b/tests/apps/voicemail/check_voicemail_dialout/run-test
index a36821c..fac4222 100755
--- a/tests/apps/voicemail/check_voicemail_dialout/run-test
+++ b/tests/apps/voicemail/check_voicemail_dialout/run-test
@@ -195,7 +195,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml b/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
index b462b81..9d682f9 100644
--- a/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
@@ -11,7 +11,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_envelope/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_envelope/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_envelope/run-test b/tests/apps/voicemail/check_voicemail_envelope/run-test
index 62123cf..bc6e0d5 100755
--- a/tests/apps/voicemail/check_voicemail_envelope/run-test
+++ b/tests/apps/voicemail/check_voicemail_envelope/run-test
@@ -238,7 +238,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml b/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
index 4ec2025..939ab88 100644
--- a/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
@@ -13,7 +13,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_forward/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_forward/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_forward/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_forward/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_forward/run-test b/tests/apps/voicemail/check_voicemail_forward/run-test
index 3c572dd..3dd2aec 100755
--- a/tests/apps/voicemail/check_voicemail_forward/run-test
+++ b/tests/apps/voicemail/check_voicemail_forward/run-test
@@ -218,7 +218,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_forward/test-config.yaml b/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
index 1d8cadc..acd7785 100644
--- a/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_forward_hangup/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/run-test b/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
index 855886f..2836fb1 100755
--- a/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
+++ b/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
@@ -225,7 +225,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml b/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
index 10cca13..f0971ff 100644
--- a/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_forward_with_prepend/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test b/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
index 61e5131..2dbc408 100755
--- a/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
+++ b/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
@@ -234,7 +234,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml b/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
index 6069fb0..ab48613 100644
--- a/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
@@ -12,7 +12,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_new_user/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_new_user/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_new_user/run-test b/tests/apps/voicemail/check_voicemail_new_user/run-test
index 1124fb1..e3c3bad 100755
--- a/tests/apps/voicemail/check_voicemail_new_user/run-test
+++ b/tests/apps/voicemail/check_voicemail_new_user/run-test
@@ -202,7 +202,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml b/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
index 0565758..1c4d32d 100644
--- a/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
@@ -14,7 +14,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_new_user_hangup/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test b/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
index 7616a56..03e6136 100755
--- a/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
+++ b/tests/apps/voicemail/check_voicemail_new_user_hangup/run-test
@@ -198,7 +198,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml b/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
index b705781..2c2ed55 100644
--- a/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_nominal/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_nominal/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_nominal/run-test b/tests/apps/voicemail/check_voicemail_nominal/run-test
index 728d8aa..0066f03 100755
--- a/tests/apps/voicemail/check_voicemail_nominal/run-test
+++ b/tests/apps/voicemail/check_voicemail_nominal/run-test
@@ -265,7 +265,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml b/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
index 28be740..6089973 100644
--- a/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_change_password/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/run-test b/tests/apps/voicemail/check_voicemail_options_change_password/run-test
index 1cf5d82..37f91d0 100755
--- a/tests/apps/voicemail/check_voicemail_options_change_password/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_change_password/run-test
@@ -185,7 +185,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
index c4c532f..b157464 100644
--- a/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
@@ -14,7 +14,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/run-test b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/run-test
index a691945..5c6b8d9 100755
--- a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/run-test
@@ -182,7 +182,7 @@
     """
 
     testParentDir = "tests/apps/voicemail"  # parent directory the test is in
-    channel = "sip/ast1/8052"  # channel to connect to that acts as vm server
+    channel = "PJSIP/8052 at ast1"  # channel to connect to that acts as vm server
 
     def __init__(self):
         super(CheckVoicemailChangePassword, self).__init__()
diff --git a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/test-config.yaml
index 22e0aa9..bfd8156 100644
--- a/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_change_password_spooldir/test-config.yaml
@@ -15,7 +15,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_busy/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/run-test b/tests/apps/voicemail/check_voicemail_options_record_busy/run-test
index 5731b91..3d96c09 100755
--- a/tests/apps/voicemail/check_voicemail_options_record_busy/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_record_busy/run-test
@@ -174,7 +174,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
index 496bca0..de47837 100644
--- a/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
@@ -11,7 +11,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_name/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/run-test b/tests/apps/voicemail/check_voicemail_options_record_name/run-test
index de527a6..8749c8e 100755
--- a/tests/apps/voicemail/check_voicemail_options_record_name/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_record_name/run-test
@@ -174,7 +174,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
index 6fb31b8..1b5dcac 100644
--- a/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
@@ -11,7 +11,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_temp/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/run-test b/tests/apps/voicemail/check_voicemail_options_record_temp/run-test
index 74224bb..846e4a6 100755
--- a/tests/apps/voicemail/check_voicemail_options_record_temp/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_record_temp/run-test
@@ -239,7 +239,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
index 6fb31b8..1b5dcac 100644
--- a/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
@@ -11,7 +11,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_options_record_unavail/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/run-test b/tests/apps/voicemail/check_voicemail_options_record_unavail/run-test
index a998130..10f71d4 100755
--- a/tests/apps/voicemail/check_voicemail_options_record_unavail/run-test
+++ b/tests/apps/voicemail/check_voicemail_options_record_unavail/run-test
@@ -174,7 +174,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml b/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
index d5cdc37..b852f21 100644
--- a/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
@@ -11,7 +11,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_reply/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_reply/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_reply/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_reply/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_reply/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_reply/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_reply/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_reply/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_reply/run-test b/tests/apps/voicemail/check_voicemail_reply/run-test
index 6835138..c918826 100755
--- a/tests/apps/voicemail/check_voicemail_reply/run-test
+++ b/tests/apps/voicemail/check_voicemail_reply/run-test
@@ -218,7 +218,7 @@
     """
     The channel to connect to that acts as the voicemail server
     """
-    channel = "sip/ast1/8052"
+    channel = "PJSIP/8052 at ast1"
 
     """
     The voicemail manager object
diff --git a/tests/apps/voicemail/check_voicemail_reply/test-config.yaml b/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
index b3f6809..9979e6c 100644
--- a/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
@@ -13,7 +13,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/pjsip.conf b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..4d1eac8
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast1
+aors = ast2
+
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf
deleted file mode 100644
index 1d6df41..0000000
--- a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast1/sip.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast1
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/pjsip.conf b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..66698dd
--- /dev/null
+++ b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+context = voicemailCaller
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf b/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf
deleted file mode 100644
index b0d2cd0..0000000
--- a/tests/apps/voicemail/check_voicemail_while_leaving_msg/configs/ast2/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-context = voicemailCaller
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test b/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
index 7027bf8..4be96de 100755
--- a/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
+++ b/tests/apps/voicemail/check_voicemail_while_leaving_msg/run-test
@@ -213,11 +213,6 @@
     testParentDir = "tests/apps/voicemail"
 
     """
-    The channel to connect to that acts as the voicemail server
-    """
-    channel = "sip/ast1/"
-
-    """
     The voicemail manager object
     """
     voicemailManager = None
@@ -284,8 +279,8 @@
                     self.stop_reactor()
 
         else:
-            logger.debug("Originating call to " + self.channel)
-            df = ami.originate(self.channel + "8052", "voicemailCaller", "wait", 1)
+            logger.debug("Originating call to PJSIP/8052 at ast1")
+            df = ami.originate("PJSIP/8052 at ast1", "voicemailCaller", "wait", 1)
             df.addErrback(self.handle_originate_failure)
             self.leaveVoicemail()
 
@@ -299,9 +294,9 @@
         self.stop_reactor()
 
     def leaveVoicemail(self):
-        logger.debug("Originating call to " + self.channel + "1234")
+        logger.debug("Originating call to PJSIP/1234 at ast1")
         self.ast[self.ami_sender.id].cli_exec("dialplan set global TALK_AUDIO " + self.audioFile)
-        df = self.ami_sender.originate(self.channel + "1234", "voicemailCaller", "leaveVoicemail", 1)
+        df = self.ami_sender.originate("PJSIP/1234 at ast1", "voicemailCaller", "leaveVoicemail", 1)
         df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml b/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
index c1e3d91..1f86f3f 100644
--- a/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
+++ b/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
@@ -17,7 +17,7 @@
         - asterisk : 'app_voicemail'
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/sip.conf
deleted file mode 100644
index 0d703fb..0000000
--- a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast1/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_contexts/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/run-test b/tests/apps/voicemail/leave_voicemail_contexts/run-test
index 169512e..4897686 100755
--- a/tests/apps/voicemail/leave_voicemail_contexts/run-test
+++ b/tests/apps/voicemail/leave_voicemail_contexts/run-test
@@ -132,12 +132,12 @@
         self.reset_timeout()
         if self.testCounter < 5:
             # The first 5 tests start out in extension 9000
-            self.ami_sender.originate(channel = "sip/ast1/9000",
+            self.ami_sender.originate(channel = "PJSIP/9000 at ast1",
                 context = "voicemailCaller",
                 exten = "wait",
                 priority= 1).addErrback(self.handle_originate_failure)
         elif self.testCounter < len(self.expectedValues):
-            self.ami_sender.originate(channel = "sip/ast1/1234",
+            self.ami_sender.originate(channel = "PJSIP/1234 at ast1",
                 context = "voicemailCaller",
                 exten = "wait",
                 priority = 1).addErrback(self.handle_originate_failure)
diff --git a/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml b/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
index 95bc2a3..63fe6d8 100644
--- a/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
+++ b/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
@@ -10,7 +10,7 @@
         - python : 'starpy'
         - asterisk: 'app_voicemail'
         - asterisk: 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/sip.conf
deleted file mode 100644
index 0d703fb..0000000
--- a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/run-test b/tests/apps/voicemail/leave_voicemail_external_notification/run-test
index 0ab2710..4497be6 100755
--- a/tests/apps/voicemail/leave_voicemail_external_notification/run-test
+++ b/tests/apps/voicemail/leave_voicemail_external_notification/run-test
@@ -144,23 +144,23 @@
     def executeTest(self):
         if self.testCounter == 0:
             logger.debug("Executing test [" + str(self.testCounter) + "] - send to 1234")
-            df = self.senderAmi.originate("sip/ast1/1234", "sendvoicemail", "1234", 1)
+            df = self.senderAmi.originate("PJSIP/1234 at ast1", "sendvoicemail", "1234", 1)
             df.addErrback(self.handle_originate_failure)
         elif self.testCounter == 1:
             logger.debug("Executing test [" + str(self.testCounter) + "] - send to 9000")
-            df = self.senderAmi.originate("sip/ast1/9000", "sendvoicemail", "1234", 1)
+            df = self.senderAmi.originate("PJSIP/9000 at ast1", "sendvoicemail", "1234", 1)
             df.addErrback(self.handle_originate_failure)
         elif self.testCounter == 2:
             logger.debug("Executing test [" + str(self.testCounter) + "] - send to 9001")
-            df = self.senderAmi.originate("sip/ast1/9001", "sendvoicemail", "1234", 1)
+            df = self.senderAmi.originate("PJSIP/9001 at ast1", "sendvoicemail", "1234", 1)
             df.addErrback(self.handle_originate_failure)
         elif self.testCounter == 3:
             logger.debug("Executing test [" + str(self.testCounter) + "] - send to 9002")
-            df = self.senderAmi.originate("sip/ast1/9002", "sendvoicemail", "1234", 1)
+            df = self.senderAmi.originate("PJSIP/9002 at ast1", "sendvoicemail", "1234", 1)
             df.addErrback(self.handle_originate_failure)
         elif self.testCounter == 4:
             logger.debug("Executing test [" + str(self.testCounter) + "] - send to 9003")
-            df = self.senderAmi.originate("sip/ast1/9003", "sendvoicemail", "1234", 1)
+            df = self.senderAmi.originate("PJSIP/9003 at ast1", "sendvoicemail", "1234", 1)
             df.addErrback(self.handle_originate_failure)
 
         self.testCounter += 1
diff --git a/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml b/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
index b6bfe25..4f15d61 100644
--- a/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
+++ b/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
@@ -13,7 +13,7 @@
         - python : 'starpy'
         - asterisk: 'app_voicemail'
         - asterisk: 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/sip.conf
deleted file mode 100644
index 0d703fb..0000000
--- a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast1/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_forwarding/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/run-test b/tests/apps/voicemail/leave_voicemail_forwarding/run-test
index a88164e..d604fe2 100755
--- a/tests/apps/voicemail/leave_voicemail_forwarding/run-test
+++ b/tests/apps/voicemail/leave_voicemail_forwarding/run-test
@@ -129,8 +129,8 @@
 
     def originate_call(self):
         extension = self.extensions[self.test_counter]
-        logger.info("Originating call to sip/ast1/" + str(extension))
-        df = self.ami_sender.originate("sip/ast1/" + str(extension), "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
+        logger.info("Originating call to PJSIP/" + str(extension)) + "@ast1"
+        df = self.ami_sender.originate("PJSIP/" + str(extension) + "@ast1", "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
         df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
@@ -152,7 +152,7 @@
         else:
             """ Originate the next call and reset the state machine """
             self.test_counter += 1
-            self.sender_channel = "SIP/ast1-0000000" + str(self.test_counter)
+            self.sender_channel = "PJSIP/ast1-0000000" + str(self.test_counter)
             self.test_state_controller.change_state(StartVoiceMailState(self.test_state_controller, self))
             self.originate_call()
 
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml b/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
index ad9ada2..0afafa7 100644
--- a/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
+++ b/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk: 'app_voicemail'
         - asterisk: 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/sip.conf
deleted file mode 100644
index 0d703fb..0000000
--- a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast1/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/run-test b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/run-test
index 55eb3f0..2263f80 100755
--- a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/run-test
+++ b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/run-test
@@ -129,8 +129,8 @@
 
     def originate_call(self):
         extension = self.extensions[self.test_counter]
-        logger.info("Originating call to sip/ast1/" + str(extension))
-        df = self.ami_sender.originate("sip/ast1/" + str(extension), "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
+        logger.info("Originating call to PJSIP/" + str(extension) + "@ast1")
+        df = self.ami_sender.originate("PJSIP/" + str(extension) + "@ast1", "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
         df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
index b720063..41f0078 100644
--- a/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
+++ b/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
@@ -12,7 +12,7 @@
         - python : 'starpy'
         - asterisk: 'app_voicemail'
         - asterisk: 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps
diff --git a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..ed09b27
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/pjsip.conf
@@ -0,0 +1,119 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+[ast3]
+qualify = no
+
+[ast4]
+qualify = no
+
+[ast5]
+qualify = no
+
+[ast6]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
+[ast3]
+type = aor
+contact = sip:127.0.0.3
+
+[ast3]
+type = identify
+endpoint = ast3
+match = 127.0.0.3
+
+[ast3]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast3
+
+[ast4]
+type = aor
+contact = sip:127.0.0.4
+
+[ast4]
+type = identify
+endpoint = ast4
+match = 127.0.0.4
+
+[ast4]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast4
+
+[ast5]
+type = aor
+contact = sip:127.0.0.5
+
+[ast5]
+type = identify
+endpoint = ast5
+match = 127.0.0.5
+
+[ast5]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast5
+
+[ast6]
+type = aor
+contact = sip:127.0.0.6
+
+[ast6]
+type = identify
+endpoint = ast6
+match = 127.0.0.6
+
+[ast6]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast6
+
diff --git a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/sip.conf
deleted file mode 100644
index 99fe322..0000000
--- a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/sip.conf
+++ /dev/null
@@ -1,52 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
-[ast3]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.3
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
-[ast4]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.4
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
-[ast5]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.5
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
-
-[ast6]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.6
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_nominal/run-test b/tests/apps/voicemail/leave_voicemail_nominal/run-test
index 840f686..651c9d2 100755
--- a/tests/apps/voicemail/leave_voicemail_nominal/run-test
+++ b/tests/apps/voicemail/leave_voicemail_nominal/run-test
@@ -127,8 +127,8 @@
 
     def originate_call(self):
         extension = self.extensions[self.test_counter]
-        logger.info("Originating call to sip/ast1/" + str(extension))
-        df = self.ami_sender.originate("sip/ast1/" + str(extension), "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
+        logger.info("Originating call to PJSIP/" + str(extension) + "@ast1")
+        df = self.ami_sender.originate("PJSIP/" + str(extension) + "@ast1", "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
         df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/pjsip.conf b/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..1aee750
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/pjsip.conf
@@ -0,0 +1,39 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.1
+
+[ast2]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.1
+
+[ast2]
+type = aor
+contact = sip:127.0.0.2
+
+[ast2]
+type = identify
+endpoint = ast2
+match = 127.0.0.2
+
+[ast2]
+type = endpoint
+context = voicemail
+disallow = all
+allow = ulaw
+from_user = ast_server
+aors = ast2
+
diff --git a/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/sip.conf b/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/sip.conf
deleted file mode 100644
index 0d703fb..0000000
--- a/tests/apps/voicemail/leave_voicemail_priority/configs/ast1/sip.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[general]
-bindaddr = 127.0.0.1
-
-[ast2]
-type = friend
-context = voicemail
-fromuser = ast_server
-host = 127.0.0.2
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/pjsip.conf b/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/pjsip.conf
new file mode 100644
index 0000000..28f0820
--- /dev/null
+++ b/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/pjsip.conf
@@ -0,0 +1,38 @@
+;--
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements start
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+[general]
+bindaddr = 127.0.0.2
+
+[ast1]
+qualify = no
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+Non mapped elements end
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+--;
+
+
+[transport-udp]
+type = transport
+protocol = udp
+bind = 127.0.0.2
+
+[ast1]
+type = aor
+contact = sip:127.0.0.1
+
+[ast1]
+type = identify
+endpoint = ast1
+match = 127.0.0.1
+
+[ast1]
+type = endpoint
+disallow = all
+allow = ulaw
+from_user = ast2
+aors = ast1
+
diff --git a/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/sip.conf b/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/sip.conf
deleted file mode 100644
index 1303790..0000000
--- a/tests/apps/voicemail/leave_voicemail_priority/configs/ast2/sip.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[general]
-bindaddr = 127.0.0.2
-
-[ast1]
-type = friend
-fromuser = ast2
-host = 127.0.0.1
-disallow = all
-allow = ulaw
-qualify = no
-insecure = invite
diff --git a/tests/apps/voicemail/leave_voicemail_priority/run-test b/tests/apps/voicemail/leave_voicemail_priority/run-test
index eee02ff..17451e7 100755
--- a/tests/apps/voicemail/leave_voicemail_priority/run-test
+++ b/tests/apps/voicemail/leave_voicemail_priority/run-test
@@ -123,8 +123,8 @@
 
     def originate_call(self):
         extension = self.extensions[self.test_counter]
-        logger.info("Originating call to sip/ast1/" + str(extension))
-        df = self.ami_sender.originate("sip/ast1/" + str(extension), "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
+        logger.info("Originating call to PJSIP/" + str(extension) + "@ast1")
+        df = self.ami_sender.originate("PJSIP/" + str(extension) + "@ast1", "voicemailCaller", "wait", 1, None, "CallId-" + str(extension), None, None, None, {}, True )
         df.addErrback(self.handle_originate_failure)
 
     def user_event(self, ami, event):
diff --git a/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml b/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
index 8cb33b7..c89d2a1 100644
--- a/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
+++ b/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
@@ -11,7 +11,7 @@
         - python : 'starpy'
         - asterisk: 'app_voicemail'
         - asterisk: 'app_senddtmf'
-        - asterisk : 'chan_sip'
+        - asterisk : 'chan_pjsip'
     tags:
         - voicemail
         - apps

-- 
To view, visit https://gerrit.asterisk.org/9041
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: certified/13.21
Gerrit-MessageType: merged
Gerrit-Change-Id: I2722aa6b670e500063a497371f7a7749d59e13e5
Gerrit-Change-Number: 9041
Gerrit-PatchSet: 3
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180607/7f16ba96/attachment-0001.html>


More information about the asterisk-code-review mailing list