Hi, I am trying to implement BLF in Grandstream (GXP1400) with freeswitch 1.4.20. For that , i used "<param name="send-presence-on-register" value="true"/>" in sip profile. But Not getting any NOTIFY request to sip phone,and BLF is not working. Can any one suggest me how to enable this function in Freeswitch ? Any help would be much appreciated. -- Thanks, Bhavik Patel
Hi All, For my tasks need to know uuid both feet before bridge. How can i do this? If I do in the dialplan <action application="set" data="my_uuid=${create_uuid foo}" inline="true"/> and then <action application="bridge" data="{origination_uuid=${uuid}}user/1003"/> I get an error 2015-07-14 14:25:32.350565 [CRIT] switch_core_session.c:2342 Duplicate UUID! 2015-07-14 14:25:32.350565 [CRIT] mod_sofia.c:4376 Error Creating Session How correctly before bridge I assign or generate a uuid and use later? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382
Use origination_uuid=${my_uuid} not ${uuid} ${uuid} is the existing a-leg, origination_uuid will be the new b-leg Currently you're trying to create a b-leg with the same uuid as the a-leg, hence the error. I also suggest you put origination_uuid in [] not {} - if you ever add extra legs you'll have the duplicate error return as all the b-legs would get the same uuid. You also definitely *don't* need inline=true, I would avoid using it as it'll execute much earlier than you need it, and if you use set the same variable inline later in your dialplan then it may not create the bridge with the uuid you expect. Steve On 14 July 2015 at 13:36, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi All,
For my tasks need to know uuid both feet before bridge. How can i do this?
If I do in the dialplan <action application="set" data="my_uuid=${create_uuid foo}" inline="true"/>
and then <action application="bridge" data="{origination_uuid=${uuid}}user/1003"/>
I get an error 2015-07-14 14:25:32.350565 [CRIT] switch_core_session.c:2342 Duplicate UUID! 2015-07-14 14:25:32.350565 [CRIT] mod_sofia.c:4376 Error Creating Session
How correctly before bridge I assign or generate a uuid and use later?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dobrý den, Great! Thanks a lot for the help. Now it is working as it should. I think it is worth adding these things in questions and answers, so that people know about these brackets [ ] and how it works inline=true -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 úterý 14. července 2015, 14:51:28, napsal jste: Use origination_uuid=${my_uuid} not ${uuid} ${uuid} is the existing a-leg, origination_uuid will be the new b-leg Currently you're trying to create a b-leg with the same uuid as the a-leg, hence the error. I also suggest you put origination_uuid in [] not {} - if you ever add extra legs you'll have the duplicate error return as all the b-legs would get the same uuid. You also definitely don't need inline=true, I would avoid using it as it'll execute much earlier than you need it, and if you use set the same variable inline later in your dialplan then it may not create the bridge with the uuid you expect. Steve On 14 July 2015 at 13:36, Denis Jakovlev <yadenis@seznam.cz> wrote: Hi All, For my tasks need to know uuid both feet before bridge. How can i do this? If I do in the dialplan <action application="set" data="my_uuid=${create_uuid foo}" inline="true"/> and then <action application="bridge" data="{origination_uuid=${uuid}}user/1003"/> I get an error 2015-07-14 14:25:32.350565 [CRIT] switch_core_session.c:2342 Duplicate UUID! 2015-07-14 14:25:32.350565 [CRIT] mod_sofia.c:4376 Error Creating Session How correctly before bridge I assign or generate a uuid and use later? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I think it is worth adding these things in questions and answers, so that people know about these brackets [ ] and how it works inline=true
They're documented on Confluence / the wiki, but to include them in this thread and for your info Variables in {} are set on all the legs Variables in [] are set only on the leg they appear before {a=123}[b=456]user/1000|[b=789]user/1001 The call to 1000 will have a=123 & b=456 The call to 1001 will have a=123 & b=789 Dialplan parsing happens in to stages - hunting and execution. In hunting it goes through the extensions, looks for all matching conditions, and builds up a list of all actions to execute. It then executes those actions in order. When an action has inline=true it is executed immediately during the hunt instead of being queued for the execution stage. That means the variable value is available for other conditions to check during the hunting stage. However the actions don't expand the value until they're executed so ${my_uuid} in your bridge isn't expanded until execution and therefore the variable doesn't need to be set inline. On 14 July 2015 at 14:35, Denis Jakovlev <yadenis@seznam.cz> wrote:
Dobrý den,
Great! Thanks a lot for the help. Now it is working as it should.
I think it is worth adding these things in questions and answers, so that people know about these brackets [ ] and how it works inline=true
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 úterý 14. července 2015, 14:51:28, napsal jste: *
Use origination_uuid=${my_uuid} not ${uuid}
${uuid} is the existing a-leg, origination_uuid will be the new b-leg
Currently you're trying to create a b-leg with the same uuid as the a-leg, hence the error.
I also suggest you put origination_uuid in [] not {} - if you ever add extra legs you'll have the duplicate error return as all the b-legs would get the same uuid.
You also definitely *don't* need inline=true, I would avoid using it as it'll execute much earlier than you need it, and if you use set the same variable inline later in your dialplan then it may not create the bridge with the uuid you expect.
Steve
On 14 July 2015 at 13:36, Denis Jakovlev <yadenis@seznam.cz> wrote: Hi All,
For my tasks need to know uuid both feet before bridge. How can i do this?
If I do in the dialplan <action application="set" data="my_uuid=${create_uuid foo}" inline="true"/>
and then <action application="bridge" data="{origination_uuid=${uuid}}user/1003"/>
I get an error 2015-07-14 14:25:32.350565 [CRIT] switch_core_session.c:2342 Duplicate UUID! 2015-07-14 14:25:32.350565 [CRIT] mod_sofia.c:4376 Error Creating Session
How correctly before bridge I assign or generate a uuid and use later?
*-- S pozdravem, Ing.Denis Jakovlev *mob.tel
*. 775-415-382 * _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Any feedback please. On Tue, Jul 14, 2015 at 5:38 PM, bhavik patel <bhavikpatel14388@gmail.com> wrote:
Hi,
I am trying to implement BLF in Grandstream (GXP1400) with freeswitch 1.4.20.
For that , i used "<param name="send-presence-on-register" value="true"/>" in sip profile.
But Not getting any NOTIFY request to sip phone,and BLF is not working.
Can any one suggest me how to enable this function in Freeswitch ?
Any help would be much appreciated.
-- Thanks, Bhavik Patel
-- Thanks, Bhavik Patel
manage-presence needs to be enabled On Wednesday, July 15, 2015, bhavik patel <bhavikpatel14388@gmail.com> wrote:
Any feedback please.
On Tue, Jul 14, 2015 at 5:38 PM, bhavik patel <bhavikpatel14388@gmail.com <javascript:_e(%7B%7D,'cvml','bhavikpatel14388@gmail.com');>> wrote:
Hi,
I am trying to implement BLF in Grandstream (GXP1400) with freeswitch 1.4.20.
For that , i used "<param name="send-presence-on-register" value="true"/>" in sip profile.
But Not getting any NOTIFY request to sip phone,and BLF is not working.
Can any one suggest me how to enable this function in Freeswitch ?
Any help would be much appreciated.
-- Thanks, Bhavik Patel
-- Thanks, Bhavik Patel
I did try " http://www.microweb10.com/index.php/en/tutorials/enable-presence-fs" but not getting success. Please suggest me. On Thu, Jul 16, 2015 at 9:23 AM, Michael Jerris <mike@jerris.com> wrote:
manage-presence needs to be enabled
On Wednesday, July 15, 2015, bhavik patel <bhavikpatel14388@gmail.com> wrote:
Any feedback please.
On Tue, Jul 14, 2015 at 5:38 PM, bhavik patel <bhavikpatel14388@gmail.com
wrote:
Hi,
I am trying to implement BLF in Grandstream (GXP1400) with freeswitch 1.4.20.
For that , i used "<param name="send-presence-on-register" value="true"/>" in sip profile.
But Not getting any NOTIFY request to sip phone,and BLF is not working.
Can any one suggest me how to enable this function in Freeswitch ?
Any help would be much appreciated.
-- Thanks, Bhavik Patel
-- Thanks, Bhavik Patel
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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, Bhavik Patel
Do i need to configure ODBC connection also to make it working ? On Thu, Jul 16, 2015 at 9:38 AM, bhavik patel <bhavikpatel14388@gmail.com> wrote:
I did try " http://www.microweb10.com/index.php/en/tutorials/enable-presence-fs" but not getting success.
Please suggest me.
On Thu, Jul 16, 2015 at 9:23 AM, Michael Jerris <mike@jerris.com> wrote:
manage-presence needs to be enabled
On Wednesday, July 15, 2015, bhavik patel <bhavikpatel14388@gmail.com> wrote:
Any feedback please.
On Tue, Jul 14, 2015 at 5:38 PM, bhavik patel < bhavikpatel14388@gmail.com> wrote:
Hi,
I am trying to implement BLF in Grandstream (GXP1400) with freeswitch 1.4.20.
For that , i used "<param name="send-presence-on-register" value="true"/>" in sip profile.
But Not getting any NOTIFY request to sip phone,and BLF is not working.
Can any one suggest me how to enable this function in Freeswitch ?
Any help would be much appreciated.
-- Thanks, Bhavik Patel
-- Thanks, Bhavik Patel
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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, Bhavik Patel
-- Thanks, Bhavik Patel
participants (4)
-
bhavik patel
-
Denis Jakovlev
-
Michael Jerris
-
Steven Ayre