[Freeswitch-dev] mod_verto dial-string changes in directory/default.xml does not work
Hi, I'm trying to implement the changes explained in https://freeswitch.org/confluence/display/FREESWITCH/mod_verto, to activate it. The part I don't understand fully is the dial-string changes, for example in the choice 1: Usage: ${verto_contact ${dialed_user}@${dialed_domain}}My first try was to use the second option: <param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}:${verto_contact ${dialed_user}@${dialed_domain}}"/> What I try was to call a local extension that is logged in using verto, but somehow is trying to look for it like if is a sofia user, of course it says that the user is not available. The above apporach of adding line in dial-string FAILS. I want to understand this line fully, mostly because of the flow that traverse this dial-string. I'd also try the last option of saying that a specific user is a verto user: <params> <param name="dial-string" value="${verto_contact ${dialed_user} <at> ${dialed_domain}}"/> </params> That works. But, I dont want to keep on adding dial-string line in every extension. Rather, just add this to directory/default.xml. Does anybody face same issue.
This question is more appropriate for the users list On Thursday, June 11, 2015, Bhavesh Soni <bhavesh.soni@gslab.com> wrote:
Hi, I'm trying to implement the changes explained in https://freeswitch.org/confluence/display/FREESWITCH/mod_verto, to activate it.
The part I don't understand fully is the dial-string changes, for example in the choice 1:
Usage: ${verto_contact ${dialed_user}@${dialed_domain}}My first try was to use the second option:
<param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ ${dialed_domain}}${sofia_contact(*/${dialed_user}@ ${dialed_domain})}:${verto_contact ${dialed_user}@${dialed_domain}}"/>
What I try was to call a local extension that is logged in using verto, but somehow is trying to look for it like if is a sofia user, of course it says that the user is not available. The above apporach of adding line in dial-string FAILS.
I want to understand this line fully, mostly because of the flow that traverse this dial-string. I'd also try the last option of saying that a specific user is a verto user:
<params> <param name="dial-string" value="${verto_contact ${dialed_user} <at> ${dialed_domain}}"/> </params>
That works.
But, I dont want to keep on adding dial-string line in every extension. Rather, just add this to directory/default.xml. Does anybody face same issue.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Bhavesh Soni
-
Michael Jerris