[Freeswitch-users] mod_event_socket with Dialplan Interaction

Dimitry Nagorny dimitry.nagorny at gmx.de
Thu Nov 3 09:46:39 MSK 2016


Am 2. November 2016 15:18:05 MEZ, schrieb Brian West <brian at freeswitch.org>:
>bgapi originate {variable=foo,baz=bar}sofia/external/user at pbx
>&socket(...)
>
>You set the variables you wish to influence the sip leg inside the {}
>
>/b
>
>On Wed, Nov 2, 2016 at 2:24 AM, Dimitry Nagorny
><dimitry.nagorny at gmx.de>
>wrote:
>
>> Good morning all,
>>
>> I have a quick question: Is it possible that a received command
>through
>> mod_event_socket can be send through a (default) dialplan?
>>
>> Like „bgapi originate /sofia/external/user at pbx &socket(...)“ goes
>before
>> the INVITE through the dialplan to get details from DB.
>>
>> Why I want this? I want to enrich the sip of the INVITE with some
>> additional information. I already searched the wiki/Confluence and
>couldn’t
>> find an answer.
>>
>>
>> Best Regards
>> *Dimitry Nagorny*
>>
>>
>_________________________________________________________________________
>> 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
>>
>
>
>
>-- 
>
>*Brian West*
>brian at freeswitch.org
>
>
>*Twitter: @FreeSWITCH , @briankwest*
>http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
>http://www.freeswitchcookbook.com (50% Discount using code
>FreeSwitch50)
>https://www.gofundme.com/freeswitch_ubuntu
>
>Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>/r/freeswitch <https://www.reddit.com/r/freeswitch>
>
>*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
>
>------------------------------------------------------------------------
>
>_________________________________________________________________________
>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

Thanks you for your answer Brian but maybe my question was wrong.

I try to do something like 
bgapi sofia/default/user &socket (...)
but this throws Invalid Profile. So instead of external/gateway I want it to go to dialplan "default". 

Or something similar that gives me the opperrunity to open a DB connection for a recieved request on the event_socket. I can't grab this info from within the third party system which sends the request.


Thanks
Dimitry
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161103/58dda15b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list