[Freeswitch-users] multiple extensions on incoming

David Villasmil david.villasmil.work at gmail.com
Thu Aug 13 21:14:10 UTC 2020


There’s lots of spaces where they shouldn’t be:

What Flavio said and:

<action application="transfer"
data="[leg_timeout=10]user/1020,user/1021,user/1022"/>


On Thu, 13 Aug 2020 at 21:50, Flavio Donadio <flavio at donadio.com.br> wrote:

> John,
>
>
> Did you copy exactly what’s in your dialplan? If so, the expression will
> never de correctly evaluated. Take all spaces out of your expression:
>
> <condition … expression=“^(2109065738)$”>
>
> I am also not sure if the call will be automatically transferred to the
> internal context (where users 1000-1019 are defined)… Please, anyone chime
> in!
>
>
> Regards,
> Flavio
>
>
> On 13 Aug 2020, at 05:26, John Tuxies <atuxnull at gmail.com> wrote:
>
> seems that something is missing, since call does not reach any extension.
> here is my /etc/freeswitch/dialplan/public/04_ *2109065738*.xml
>
>
>
>
>
>
> *<include>  <extension name="public_did">    <condition
> field="destination_number" expression="^( 2109065738 )$">
>   <action application="transfer" data=" [leg_timeout=10]
> user/1020,user/1021,user/1022 "/>    </condition>  </extension>
> </include>*
>
>
> I can see the call arriving in fs_cli, but it does not reach any
> extension. And the caller gets a notification that number is unavailable
>
>
>
>
> On Thu, Aug 13, 2020 at 1:23 AM Brian West <brian at freeswitch.com> wrote:
>
>> What you do is user/1020,user/1021,user/1022
>>
>> /b
>>
>>
>> On Wed, Aug 12, 2020 at 4:51 PM John Tuxies <atuxnull at gmail.com> wrote:
>>
>>> i have tried to do the following for the simultaneous ringing, where
>>> 2109065738 is my DID and 192.168.1.212 is the IP of the FS server.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *<include>  <extension name="public_did">    <condition
>>> field="destination_number" expression="^( 2109065738 )$">      <action
>>> application="bridge" data="sofia/internal/1020 at 192.168.1.212
>>> <1020 at 192.168.1.212>|sofia/internal/1021 at 192.168.1.212
>>> <1021 at 192.168.1.212>|sofia/internal/1022 at 192.168.1.212 <1022 at 192.168.1.212>
>>> "/>    </condition>  </extension>        </include>*
>>> Unfortunately it has only the 1st extension (1020) to ring and then goes
>>> to voicemail.
>>>
>>> On Mon, Aug 10, 2020 at 2:23 PM John Tuxies <atuxnull at gmail.com> wrote:
>>>
>>>> I am having my system with the DIDs assigned on each extension for the
>>>> incoming calls.
>>>> My /dialplan/public has the following structure:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *<include>  <extension name="public_did">    <condition
>>>> field="destination_number" expression="^(2109065738)$">           <action
>>>> application="set" data="domain_name=$${domain}"/>           <action
>>>> application="transfer" data="1020 XML default"/>    </condition>
>>>> </extension></include>*
>>>>
>>>> I would like this DID to reach
>>>>
>>>> I would like to have the one DID to reach 3 extensions simultaneously
>>>> 1020-22
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> * <include>  <extension name="public_did">    <condition
>>>> field="destination_number" expression="^(2109065738)$">           <action
>>>> application="set" data="domain_name=$${domain}"/>           <action
>>>> application="transfer" data="1023 XML default"/>    </condition>
>>>> </extension></include> *
>>>>
>>>> and a 2nd DID to call an extension(1023) and after 10secs to call
>>>> another extension(1024) and after 10 secs make an outgoing call to a
>>>> particular mobile number(69400700123)
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> https://freeswitch.com
>>
>>
>>
>> --
>>
>> Brian West | Co-founder and Developer
>> Need Commercial support? email sales at freeswitch.com
>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
>> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>> Email: brian at freeswitch.com
>> Mobile: 918-424-9378
>> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>> [image: https://www.facebook.com/signalwireinc?src=email]
>> <https://www.facebook.com/freeswitch> [image:
>> https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200813/c6588de3/attachment-0001.html>


More information about the FreeSWITCH-users mailing list