Ring Group problem on default freeswitch configuration

gpetrom

New Member
May 6, 2021
9
0
1
45
Hi

I am playing with freeswitch on debian 11.
I have setup freeswitch with default configuration.
The only thing that i have changed is default password.
Added a gateway in the default directory. Gateway is registering ok and i am able to do outgoing calls and incoming calls to did and then transferring them to an extension.
When i am trying to transfer to ring group extension it does not work . See bellow what i have done.
Incoming did route in the oublic directory.
<include> <extension name="incoming_did"> <condition field="destination_number" expression="^(xxxxxx)$"> <action application="transfer" data="2100 XML default"/> </condition> </extension> </include>

Ring group in the default.xml in dialplan directory

<extension name="ring_all"> <condition field="destination_number" expression="^(2100)$"> <action application="bridge" data="{ignore_early_media=true}sofia/internal/1000@192.168.100.243|sofia/internal/1001@192.168.100.243"/> </condition> </extension>

I have also tried the bellow
<extension name="ring_all"> <condition field="destination_number" expression="^(2100)$"> <action application="bridge" data="{ignore_early_media=true}sofia/internal/1000|sofia/internal/1001"/> </condition> </extension>

<extension name="ring_all"> <condition field="destination_number" expression="^(2100)$"> <action application="bridge" data="{ignore_early_media=true}sofia/default/1000@192.168.100.243|sofia/default/1001@192.168.100.243"/> </condition> </extension>

Nothing seems to work
Freeswitch tries to invite 1000@192.168.100.243 and 1001@192.168.100.243 and it is looping see screenshot
and i think that should tried to invite 1000@ip_of_the_phone
Am i doing something wrong?
 

Attachments

  • call_loop.png
    call_loop.png
    18.7 KB · Views: 1
Last edited:

gpetrom

New Member
May 6, 2021
9
0
1
45
Hi

I have managed to solve this after a lot of searching the solution was in front of me.
<extension name="ring_all"> <condition field="destination_number" expression="^(2100)$"> <action application="bridge" data="{ignore_early_media=true}user/1000@192.168.100.243,user/1001@192.168.100.243"/> </condition> </extension>
I do not understand why this is not mentioned anywhere. In the books and in the official site of freeswitch they say that you have to route
sofia/internal/1000@domain
Is this a change in the new freeswitch?