[Freeswitch-users] No ringback/transfer_ringback freetdm

NeCoSec - Ulrich Schinz freeswitch-list at necosec.de
Wed Apr 18 12:13:46 MSD 2012


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 ;)



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