Dear team,
Please help me out with below:
Actual requirement is as follows
- User A dials user B
- User A and user B are in the same bridged call
- While bridged, User A presses dtmf ’ ** ’ for blind transfer call to other number
- User A enters user C number → User C answers the call
- When User A disconnects automatically User C should be connected to User B.
Users details:
User A : 444444
User B : 555555
User C : 666666
Issue is that :
If User A disconnects, automatically User C also gets disconnected ( No bridge happening between User B and User C )
extensions.conf file:
[testtransfer]
exten => _X.,1,set(__DYNAMIC_FEATURES=blindxfer#atxfer)
same => n,playback(silence)
same => n,progress()
same => n,ringing()
same => n,set(CONTACTS=${PJSIP_DIAL_CONTACTS(${EXTEN})})
same => n,dial(${CONTACTS},45,T)
same => n,hangup()
Asterisk version :
[root@localhost ~]# rasterisk
Asterisk 20.12.0, Copyright (C) 1999 - 2025, Sangoma Technologies Corporation and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 20.12.0 currently running on localhost (pid = 1133)
Parsing /etc/asterisk/logger.conf
Core debug is still 3.
localhost*CLI>
Pjsip endpoint configuration :
=# select * from ps_endpoints where id in('444444','555555','666666');
-[ RECORD 1 ]----+--------------------
id | 444444
transport | transport-wss
aors | 444444
auth | auth_444444
context | testtransfer
disallow | all
allow | ulaw,alaw,opus,g729
direct_media | no
nat | force_rport,comedia
rtp_symmetric | yes
rewrite_contact | yes
dtls_verify |
dtls_setup |
dtls_rekey | 0
media_encryption |
dtls_cert_file |
dtls_private_key |
dtls_ca_file |
dtls_cipher |
webrtc | yes
mailboxes |
ice_support | yes
force_rport | yes
session_expires | 1800
use_avpf |
outbound_auth |
rtp_timeout |
rtp_timeout_hold |
allow_transfer | yes
dtmf_mode | rfc4733
-[ RECORD 2 ]----+--------------------
id | 555555
transport | transport-wss
aors | 555555
auth | auth_555555
context | testtransfer
disallow | all
allow | ulaw,alaw,opus,g729
direct_media | no
nat | force_rport,comedia
rtp_symmetric | yes
rewrite_contact | yes
dtls_verify |
dtls_setup |
dtls_rekey | 0
media_encryption |
dtls_cert_file |
dtls_private_key |
dtls_ca_file |
dtls_cipher |
webrtc | yes
mailboxes |
ice_support | yes
force_rport | yes
session_expires | 1800
use_avpf |
outbound_auth |
rtp_timeout |
rtp_timeout_hold |
allow_transfer | yes
dtmf_mode | rfc4733
-[ RECORD 3 ]----+--------------------
id | 666666
transport | transport-wss
aors | 666666
auth | auth_666666
context | testtransfer
disallow | all
allow | ulaw,alaw,opus,g729
direct_media | no
nat | force_rport,comedia
rtp_symmetric | yes
rewrite_contact | yes
dtls_verify |
dtls_setup |
dtls_rekey | 0
media_encryption |
dtls_cert_file |
dtls_private_key |
dtls_ca_file |
dtls_cipher |
webrtc | yes
mailboxes |
ice_support | yes
force_rport | yes
session_expires | 1800
use_avpf |
outbound_auth |
rtp_timeout |
rtp_timeout_hold |
allow_transfer | yes
dtmf_mode | rfc4733
Pjsip aors configuration :
=# select * from ps_aors where id in('444444','555555','666666');
-[ RECORD 1 ]------+-------
id | 444444
max_contacts | 20
remove_existing | yes
minimum_expiration | 60
maximum_expiration | 7200
contact |
qualify_frequency |
-[ RECORD 2 ]------+-------
id | 555555
max_contacts | 20
remove_existing | yes
minimum_expiration | 60
maximum_expiration | 7200
contact |
qualify_frequency |
-[ RECORD 3 ]------+-------
id | 666666
max_contacts | 20
remove_existing | yes
minimum_expiration | 60
maximum_expiration | 7200
contact |
qualify_frequency |
Pjsip auths configuration :
=# select * from ps_auths where username in('444444','555555','666666');
-[ RECORD 1 ]----------
id | auth_444444
auth_type | userpass
username | 444444
password | 444444
realm | asterisk
-[ RECORD 2 ]----------
id | auth_555555
auth_type | userpass
username | 555555
password | 555555
realm | asterisk
-[ RECORD 3 ]----------
id | auth_666666
auth_type | userpass
username | 666666
password | 666666
realm | asterisk
Features.conf content :
features.txt (8.8 KB)
Attached message logs :
messages.txt (4.4 MB)
Current working System :
Thanks and regards