[Freeswitch-users] How to Bridge To Local Extensions?
David Villasmil Govea
david.villasmil at gmail.com
Mon Jan 12 15:15:03 MSK 2015
BTW, I've never heard of verbal error code 231, that's why I ask whether
you downloaded and freeswitch from the git...
On Mon, Jan 12, 2015 at 1:12 PM, David Villasmil Govea <
david.villasmil at gmail.com> wrote:
> Are you using freeswitch with its default config or did you install
> something like fusionpbx?
> Can you please post your log now? the log for the last dial string, where
> calls go out and then get hung up.
> (Are you sure your codecs are correct?)
>
> On Mon, Jan 12, 2015 at 1:06 PM, George F. Phelps <
> GeorgePhelps at gfphelps.com> wrote:
>
>> David Govea,
>>
>>
>>
>> Still fails; both extensions rang. However, before I can answer either
>> one, I heard the same verbal error code: “231”.
>>
>>
>>
>> How do I track down the meaning of “231”?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Monday, January 12, 2015 6:14 AM
>>
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>> You can also try:
>>
>> bridge user/1001:_:user/1002
>>
>> On Jan 12, 2015 12:04 PM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> David Govea,
>>
>>
>>
>> That syntax, with more than one extension specified, causes the following
>> Freeswitch warning log message:
>>
>>
>>
>> [WARNING] switch_ivr_originate.c:2531 Only calling the first element in
>> the list in this mode.
>>
>>
>>
>> However, the call — to only the first extension on the list — does work.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Monday, January 12, 2015 3:21 AM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>> try this:
>>
>>
>>
>> <action application="bridge" data="user/1001"/>
>>
>>
>>
>>
>>
>> On Jan 12, 2015 4:33 AM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> Here you go:
>>
>>
>>
>> <include>
>>
>> <extension name="my.inbound">
>>
>> <condition field="destination_number" expression="^1404XXXXXXX">
>>
>> <action application="set" data="domain_name=$${domain}"/>
>>
>> <action application="bridge"
>> data="{ignore_early_media=true}sofia/internal/1001%${domain}"/>
>>
>> </condition>
>>
>> </extension>
>>
>> </include>
>>
>>
>>
>> Symbol ${domain} resolves to the local LAN, IP address.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Sunday, January 11, 2015 10:18 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>> Cab you paste your dialplan?
>> Also, never EVER show your ip addresses.
>>
>> On Jan 12, 2015 2:48 AM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> Yes, I tested with that dialstring. My extension was registered, and
>> online.
>>
>>
>>
>> The call disconnects with verbal error code “231”. The associated
>> logfile is at:
>>
>>
>>
>> http://pastebin.com/BeWhhgSU
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Sunday, January 11, 2015 8:31 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>> Did you try the dialstring with /sofia/internal/1001% your_ip ? If
>> extension 1001 is registered they should get the call. What happens when
>> you do that?
>>
>> On Jan 12, 2015 2:01 AM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> David Govea,
>>
>>
>>
>> I am attempting to implement simultaneous ringing — where when one of my
>> inbound DIDs is called, then two SIP extensions and one outbound DID are
>> all rung at the same time. Simultaneous ringing is also referred, in the
>> Freeswitch documentation, as “forked dialing” and “calling multiple
>> destinations.”
>>
>>
>>
>> I am trying to get the first extension to work with “bridge.”
>>
>>
>>
>> This Freeswitch example shows bridging (I thought?) to two (2) extensions:
>>
>>
>>
>> *Calling multiple destinations
>> <https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge>*
>>
>> By using commas to separate the addresses, bridge will dial them
>> simultaneously. Using pipes, it'll dial one at a time. Use :_: to separate
>> multiple destinations to be dialed in a multi-threaded manner (this is
>> referred to as "Enterprise Origination") - this gives more flexibility (and
>> avoids the "Only calling the first element in the list in this mode"
>> warning)
>>
>> If you need to set different channel variables for each destination, you
>> may prefix the destinations with [] and the variables inside the brackets.
>> Example:
>>
>> <action application="bridge"
>> data="[origination_caller_id_number=1234]sofia/<profile>/<extension>,
>> [origination_caller_id_number=55555]sofia/<profile>/<extension>"/>
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Sunday, January 11, 2015 7:31 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>> Sorry,
>>
>> I thought you wanted to call the user 1001, because you spoke about
>> bridge. You can't "bridge" to an extension. Can you please explain in
>> detail what you want to do?
>>
>> On Jan 12, 2015 1:29 AM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> David Govea,
>>
>>
>>
>> Thanks for your input. I tried that coding yesterday, and the call
>> failed. I wasn’t 100 percent sure I was using the correct coding. When I
>> call, I hear spoken error “231” and then the call hangs up.
>>
>>
>>
>> I created a pastebin.com of the failed call log, at:
>>
>>
>>
>> http://pastebin.com/BeWhhgSU
>>
>>
>>
>> A reminder that this “transfer” statement works:
>>
>>
>>
>> <action application="transfer" data="1001 XML default"/>
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David
>> Villasmil Govea
>> *Sent:* Sunday, January 11, 2015 4:19 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] How to Bridge To Local Extensions?
>>
>>
>>
>>
>> https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_6:_Calling_registered_user
>>
>> That's:
>>
>> <action application="bridge" data="sofia/internal/1001%YOUR_IP" />
>>
>> Note the % sign..., not @
>>
>> On Jan 11, 2015 10:09 PM, "George F. Phelps" <GeorgePhelps at gfphelps.com>
>> wrote:
>>
>> Can someone help me with my question?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>> *From:* George F. Phelps [mailto:GeorgePhelps at gfphelps.com]
>> *Sent:* Saturday, January 10, 2015 12:02 PM
>> *To:* freeswitch-users at lists.freeswitch.org
>> *Subject:* How to Bridge To Local Extensions?
>>
>>
>>
>> The “transfer” statement, shown below, works (in my inbound dialplan):
>>
>>
>>
>> <action application="transfer" data="1001 XML default"/>
>>
>>
>>
>> What is the correct syntax for using “bridge” instead of “transfer”? The
>> following statement does not work for me:
>>
>>
>>
>> <action application="bridge" data="sofia/internal/1001"/>
>>
>>
>>
>> My extensions are effectively default values and in the default directory
>> location. For example:
>>
>>
>>
>> more /usr/local/freeswitch/conf/directory/default/1001.xml
>>
>>
>>
>> <include>
>>
>> <user id="1001">
>>
>> <params>
>>
>> <param name="password" value="XXXX"/>
>>
>> <param name="vm-password" value="1001"/>
>>
>> </params>
>>
>> <variables>
>>
>> <variable name="toll_allow" value="domestic,international,local"/>
>>
>> <variable name="accountcode" value="1001"/>
>>
>> <variable name="user_context" value="default"/>
>>
>> <variable name="effective_caller_id_name" value="Extension 1001"/>
>>
>> <variable name="effective_caller_id_number" value="1001"/>
>>
>> <variable name="outbound_caller_id_name"
>> value="$${outbound_caller_name}"/>
>>
>> <variable name="outbound_caller_id_number"
>> value="$${outbound_caller_id}"/>
>>
>> <variable name="callgroup" value="techsupport"/>
>>
>> </variables>
>>
>> </user>
>>
>> </include>
>>
>>
>>
>> My goal is to configure simultaneous ringing for multiple extensions:
>>
>>
>>
>> <action application="bridge"
>> data="{ignore_early_media=true}sofia/internal/1001,sofia/internal/1002"/>
>>
>>
>>
>> Thanks,
>>
>>
>>
>> George
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>
>
>
> --
> DVG
>
> --
> Imagination is more important than knowledge
> Albert Einstein
>
--
DVG
--
Imagination is more important than knowledge
Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150112/7dcbee81/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list