No ringback/transfer_ringback freetdm
Hi there, first of all, my name is Uli. I'm reading this list for a while and today im gonna post my first question ;) I'm using a Sangoma A500 with FreeTDM and FreeSWITCH. My setup is running, better say _was_ running, perfectly. I'm not 100% sure, but maybe sunday or monday I updated freeswitch. Since there I have a strange thing. If someone is calling via ISDN to my FreeSWITCH-box there is no ringback tone on the callers phone (i.e. tooot...tooot...tooot...). My phone here is ringing, I can answer the call, after timeout voicemail answers. Here are some parts of my config: Extension, which is matched: <extension name="coming_from_isdn_bureau"> <condition field="destination_number" expression="^(<MYNUMBER>)$"> <action application="set" data="effective_caller_id_number=00${caller_id_number}"/> <action application="set" data="ringback=$${de-ring}"/> <action application="set" data="transfer_ringback=$${de-ring}"/> <action application="transfer" data="225 XML default"/> </condition> </extension> In my first running setup I did not set variable ringback and transfer_ringback. And there was a toot...tooot...toot... Observing that there is no ringback any more I decided to set these variables, but with no (or not the wanted) effect. Application info sais: variable_ringback: [%(1000,4000,425)] variable_transfer_ringback: [%(1000,4000,425)] Calling internal (sip->sip) is no problem. Ringtones are there. Calling from sip-phone to external number via ISDN (Sangoma A500) is also no problem. There I don't set ringback-variable... <extension name="ext_isdn_calls"> <condition field="caller_id_number" expression="^(222|223)$" break="never"> <action application="set" data="effective_caller_id_number=<MSN-A>"/> <anti-action application="set" data="effective_caller_id_number=<MSN-B>"/> </condition> <condition field="destination_number" expression="^(0)(\d+)$"> <action application="info"/> <action application="bridge" data="freetdm/wp1/a/$2"/> </condition> </extension> Maybe someone has an idea, where I can do further debugging or where there could be a misconfiguration... Best regards Uli P.s.: hope you can understand my german english ;)
Hi again, I solved my problem. Only, I'm not sure, I understand my solution.... Like written, I'm transferring the call in context default, there is an extension defined, where ringback was set to ${de-ring}. After commenting this part, everything works find. But why?? Anybody has an idea? Kind regards Uli Am 18.04.2012 10:13, schrieb NeCoSec - Ulrich Schinz:
Hi there,
first of all, my name is Uli. I'm reading this list for a while and today im gonna post my first question ;)
I'm using a Sangoma A500 with FreeTDM and FreeSWITCH. My setup is running, better say _was_ running, perfectly. I'm not 100% sure, but maybe sunday or monday I updated freeswitch. Since there I have a strange thing. If someone is calling via ISDN to my FreeSWITCH-box there is no ringback tone on the callers phone (i.e. tooot...tooot...tooot...). My phone here is ringing, I can answer the call, after timeout voicemail answers.
Here are some parts of my config:
Extension, which is matched:
<extension name="coming_from_isdn_bureau"> <condition field="destination_number" expression="^(<MYNUMBER>)$"> <action application="set" data="effective_caller_id_number=00${caller_id_number}"/> <action application="set" data="ringback=$${de-ring}"/> <action application="set" data="transfer_ringback=$${de-ring}"/> <action application="transfer" data="225 XML default"/> </condition> </extension>
In my first running setup I did not set variable ringback and transfer_ringback. And there was a toot...tooot...toot... Observing that there is no ringback any more I decided to set these variables, but with no (or not the wanted) effect.
Application info sais:
variable_ringback: [%(1000,4000,425)] variable_transfer_ringback: [%(1000,4000,425)]
Calling internal (sip->sip) is no problem. Ringtones are there. Calling from sip-phone to external number via ISDN (Sangoma A500) is also no problem. There I don't set ringback-variable...
<extension name="ext_isdn_calls"> <condition field="caller_id_number" expression="^(222|223)$" break="never"> <action application="set" data="effective_caller_id_number=<MSN-A>"/> <anti-action application="set" data="effective_caller_id_number=<MSN-B>"/> </condition> <condition field="destination_number" expression="^(0)(\d+)$"> <action application="info"/> <action application="bridge" data="freetdm/wp1/a/$2"/> </condition> </extension>
Maybe someone has an idea, where I can do further debugging or where there could be a misconfiguration...
Best regards Uli
P.s.: hope you can understand my german english ;)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (1)
-
NeCoSec - Ulrich Schinz