[Freeswitch-users] Ringtone on multiple destinations

Christian Benke benkokakao at gmail.com
Thu Feb 16 17:15:58 MSK 2012


> You MUST ignore early media when doing an enterprise originate. Therefore,
> to get ringback tone you'll need to set the ringback channel variable on the
> A leg. Your extension will end up looking something like this:
>
> <action application="set" data="ringback=${us-ring}"/>
> <action application="bridge"
> data="<ignore_early_media=true>[leg_timeout=0][origination_caller_id_number=30]user/35@${domain_name}:_:[leg_timeout=0][origination_caller_id_number=30]user/31@${domain_name}"/>


Thanks, this is obviously fixing the situation with SIP to SIP.

However, there are still issues when calling in via ISDN(Inbound Call
from ISDN to multiple SIP-endpoints), the results vary:

- On calling a single endpoint, tone is played when "ringback" is set
to UNDEFINED, but not when it's set to a proper value. Adding a
"ring_ready" will obviously make both variants work.

- On calling multiple endpoints, a tone is ONLY transmitted when
"ring_ready" is set - if i understand correctly, this will send a
RINGING regardless of the endpoints response. Without explicitely
setting ring_ready, the callstate never changes from PROCEED, even
though the endpoints indicate they are 180 RINGING. Setting ringback
to UNDEF or a proper value doesn't change the result.

Is there a way to use the actual RINGING-signalisation of multiple
endpoints as a trigger for FS to change the callstate to RINGING
instead of doing it artificially with ring_ready?


Here are the results in detail(See attached logs)

ISDN to single SIP-Endpoint:
No Tone:
freeswitch_single_isdn_no_ring_ready_ringback_rs_ring.log

Tone works:
freeswitch_single_isdn_no_ring_ready_ringback_empty.lo
freeswitch_single_isdn_ring_ready_ringback_rs_ring.log
freeswitch_single_isdn_ring_ready_ringback_empty.log

ISDN to multiple SIP-Endpoints:
No Tone:
freeswitch_multiple_isdn_no_ring_ready_ringback_empty.log
freeswitch_multiple_isdn_no_ring_ready_ringback_rs_ring.log

Tone works:
freeswitch_multiple_isdn_ring_ready_ringback_empty.log
freeswitch_multiple_isdn_ring_ready_ringback_rs_ring.log


And btw, i got the hint... ;-) (Not yet available in Europe though)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_single_isdn_no_ring_ready_ringback_rs_ring.log
Type: text/x-log
Size: 26068 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .freeswitch_single_isdn_no_ring_ready_ringback_empty.log.swp
Type: application/octet-stream
Size: 16384 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_single_isdn_ring_ready_ringback_rs_ring.log
Type: text/x-log
Size: 27113 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0007.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_multiple_isdn_no_ring_ready_ringback_empty.log
Type: text/x-log
Size: 31052 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0008.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_multiple_isdn_no_ring_ready_ringback_rs_ring.log
Type: text/x-log
Size: 32469 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0009.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_multiple_isdn_ring_ready_ringback_empty.log
Type: text/x-log
Size: 31963 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0010.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_multiple_isdn_ring_ready_ringback_rs_ring.log
Type: text/x-log
Size: 33383 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120216/880c0b12/attachment-0011.bin 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list