What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)?
I use assignments ip address of remote system to FreeSwith user in directory. ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com>:
What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ 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
If I just set up a user, I get a problem where “gw+” is being added to the SIP header, so calls from me to the third party system fail… something that’s better described here: https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-prov... <https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-provider.19656/> That’s why I started wondering if creating a user wasn’t the right way to go..?
On 18 Jan 2017, at 18:18, Sergey Safarov <s.safarov@gmail.com> wrote:
I use assignments ip address of remote system to FreeSwith user in directory.
ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com <mailto:rick@magicmail.mooo.com>>: What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <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
Anyone know what the missing link is here, getting an inbound route to point successfully at a trunk (which is authenticating as a user in the directory)? I’m sure I’ve done this before countless times, but having a bit of a senior moment I think...
On 18 Jan 2017, at 18:25, Rick Jarvis <rick@magicmail.mooo.com> wrote:
If I just set up a user, I get a problem where “gw+” is being added to the SIP header, so calls from me to the third party system fail… something that’s better described here: https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-prov... <https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-provider.19656/>
That’s why I started wondering if creating a user wasn’t the right way to go..?
On 18 Jan 2017, at 18:18, Sergey Safarov <s.safarov@gmail.com <mailto:s.safarov@gmail.com>> wrote:
I use assignments ip address of remote system to FreeSwith user in directory.
ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com <mailto:rick@magicmail.mooo.com>>: What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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
Bump! (Sorry, desperate for an answer on this)
On 19 Jan 2017, at 16:16, Rick Jarvis <rick@magicmail.mooo.com> wrote:
Anyone know what the missing link is here, getting an inbound route to point successfully at a trunk (which is authenticating as a user in the directory)? I’m sure I’ve done this before countless times, but having a bit of a senior moment I think...
On 18 Jan 2017, at 18:25, Rick Jarvis <rick@magicmail.mooo.com <mailto:rick@magicmail.mooo.com>> wrote:
If I just set up a user, I get a problem where “gw+” is being added to the SIP header, so calls from me to the third party system fail… something that’s better described here: https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-prov... <https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-provider.19656/>
That’s why I started wondering if creating a user wasn’t the right way to go..?
On 18 Jan 2017, at 18:18, Sergey Safarov <s.safarov@gmail.com <mailto:s.safarov@gmail.com>> wrote:
I use assignments ip address of remote system to FreeSwith user in directory.
ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com <mailto:rick@magicmail.mooo.com>>: What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <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 <mailto: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
Hi, I am not sure if I understand correctly but if you want to send the dialed number instead of the sip account name to a registered trunk, you have to set the "dial-string" accordingly in directory. Here is what I use: <param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}}${regex(${sofia_contact(*/${dialed_user})}|^(.+)/sip:.+@(.+)|%1/sip:${destination_number}@%2)}"/> It uses regex call to replace the username in contact with the destination_number var. You will then get the destination_number in your outgoing invite r-uri and from, with an additional Route header with the contact value. Hope this helps! Best Regards, -- Vallimamod Abdullah vma@vallimamod.org .
On 24 Jan 2017, at 11:58, Rick Jarvis <rick@magicmail.mooo.com> wrote:
Bump! (Sorry, desperate for an answer on this)
On 19 Jan 2017, at 16:16, Rick Jarvis <rick@magicmail.mooo.com> wrote:
Anyone know what the missing link is here, getting an inbound route to point successfully at a trunk (which is authenticating as a user in the directory)? I’m sure I’ve done this before countless times, but having a bit of a senior moment I think...
On 18 Jan 2017, at 18:25, Rick Jarvis <rick@magicmail.mooo.com> wrote:
If I just set up a user, I get a problem where “gw+” is being added to the SIP header, so calls from me to the third party system fail… something that’s better described here: https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-prov...
That’s why I started wondering if creating a user wasn’t the right way to go..?
On 18 Jan 2017, at 18:18, Sergey Safarov <s.safarov@gmail.com> wrote:
I use assignments ip address of remote system to FreeSwith user in directory.
ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com>: What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
That’s a great help, thank you!
On 24 Jan 2017, at 11:20, Vallimamod Abdullah <vma@vallimamod.org> wrote:
Hi,
I am not sure if I understand correctly but if you want to send the dialed number instead of the sip account name to a registered trunk, you have to set the "dial-string" accordingly in directory.
Here is what I use:
<param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}}${regex(${sofia_contact(*/${dialed_user})}|^(.+)/sip:.+@(.+)|%1/sip:${destination_number}@%2)}"/>
It uses regex call to replace the username in contact with the destination_number var. You will then get the destination_number in your outgoing invite r-uri and from, with an additional Route header with the contact value.
Hope this helps!
Best Regards, -- Vallimamod Abdullah vma@vallimamod.org .
On 24 Jan 2017, at 11:58, Rick Jarvis <rick@magicmail.mooo.com> wrote:
Bump! (Sorry, desperate for an answer on this)
On 19 Jan 2017, at 16:16, Rick Jarvis <rick@magicmail.mooo.com> wrote:
Anyone know what the missing link is here, getting an inbound route to point successfully at a trunk (which is authenticating as a user in the directory)? I’m sure I’ve done this before countless times, but having a bit of a senior moment I think...
On 18 Jan 2017, at 18:25, Rick Jarvis <rick@magicmail.mooo.com> wrote:
If I just set up a user, I get a problem where “gw+” is being added to the SIP header, so calls from me to the third party system fail… something that’s better described here: https://www.3cx.com/community/threads/configuring-freeswitch-as-a-voice-prov...
That’s why I started wondering if creating a user wasn’t the right way to go..?
On 18 Jan 2017, at 18:18, Sergey Safarov <s.safarov@gmail.com> wrote:
I use assignments ip address of remote system to FreeSwith user in directory.
ср, 18 янв. 2017, 19:41 Rick Jarvis <rick@magicmail.mooo.com>: What is the best and cleanest method for providing a trunk for someone else to register into, in the most transparent way (i.e. cross-compatible, for providing a ITSP service to third party systems)? _________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (3)
-
Rick Jarvis
-
Sergey Safarov
-
Vallimamod Abdullah