Idea looks good, thanks you. I'll test and post back. Calling the distributor twice may switch the gateway; only one way to find out for sure.
I am also looking to make distributor work when calling through "click-to-call".
Is it possible at all to use inline bridge parameter with mod_distributor?
Suppose I have two gateways that normally be used in the bridge as:
[parameter=value1]sofia/external/gw1_uuid/$1
[parameter=value2]sofia/external/gw2_uuid/$1
How do I use these gateways in a distributor while injecting...
They are not very user friendly to set up unfortunately. As far as I can remember (brief encounter many years ago) it has "line profiles" that groups a bunch of parameters together.
I just looked at my actual regex that I use; it is slightly different
^(?:0011613|00613|\+613|613|03)?([4-689]\d{7})$
I then make necessary adjustments at the bridge line based on what the provider expects (I use multiple providers- both local and international)
This one also would do the...
Same situation here in Australia.....normally you dial 10 digit FNN (Full National Number) but to dial local, only 8 digits are required.
Yes, using prefix is the old way. If you plan your extension numbers carefully, Fusion dial plan can and will route calls without a prefix. For example our...
Did you test with SIP ALG disabled on your router?
I use sngrep on Fusion box; it provides better graphical representation and easy navigation.
To analyse an incoming call, run
sngrep port 5080
on the Fusionbox, assuming you are running external profile on 5080.
You can use either formats below:
@weekly systemctl restart freeswitch
OR
0 0 * * 0 systemctl restart freeswitch
Also please note, sometimes you may need to use full path to systemctl, like /usr/bin/systemctl
This is for FreePBX but the concept is same; have a close look at the X_AccessList on the page: https://wiki.freepbx.org/pages/viewpage.action?pageId=4161594
and the FreeSWITCH wiki: https://freeswitch.org/confluence/display/FREESWITCH/Obihai
Thank you very much for the pointer; I can't believe I missed it :eek:
Good news is, it works a charm :D
This is how I've been using it but when you have more than 2 gateways to fail through, setting individual caller id as well as bridge line becomes a hassle.
I sometimes use inline variables on the bridge line to pass gateway specific values, like:
{absolute_codec_string=PCMU}sofia/gateway/gw_uid/00$1
and it works.
Now have a requirement to pass different caller id number numbers to each gateway in fail over mode; so I tried these following...