[Freeswitch-users] Configure FS using Flowroute.com
Alex Harris
Alex.Harris at SoftwareForBusinessSolutions.com
Tue Apr 21 09:29:25 PDT 2009
That did it! Thank you so much for all your help.
~Alex
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Tuesday, April 21, 2009 8:54 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com
You've called your gateway "flowroute" vs. mine which is
"sip.flowroute.com"; you need to amend the dialplan to reference
"flowroute"; then you should be set.
>>>>> flowroute gateway
sip:*******@sip.flowroute.com
<action application="bridge"
data="sofia/gateway/flowroute/${default_provider_username}#$1"/>
C.
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 20:22
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com
The vars.xml has been modified with the following:
<X-PRE-PROCESS cmd="set" data="default_provider=sip.flowroute.com"/>
<X-PRE-PROCESS cmd="set" data="default_provider_username=*******"/>
<X-PRE-PROCESS cmd="set" data="default_provider_password=********"/>
<X-PRE-PROCESS cmd="set"
data="default_provider_from_domain=sip.flowroute.com"/>
<!-- true or false -->
<X-PRE-PROCESS cmd="set" data="default_provider_register=true"/>
<X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/>
the 01_example.xml has been modified with the code you provided
The Status output is:
Name Type Data
State
============================================================================
===============================
internal profile sip:mod_sofia@**.***.219.221:5060
RUNNING (0)
external profile sip:mod_sofia@**.***.219.221:5080
RUNNING (0)
flowroute gateway sip:*******@sip.flowroute.com
REGED
**.***.219.221 alias internal
ALIASED
internal-ipv6 profile
sip:mod_sofia@[2002:63be:dbdd::63be:dbdd]:5060 RUNNING (0)
default alias internal
ALIASED
nat alias external
ALIASED
outbound alias external
ALIASED
============================================================================
==============================
When I try to dial out this is what I am getting:
freeswitch at S4BS> 2009-04-20 20:19:45 [NOTICE] switch_channel.c:592
switch_channel_set_name() New Channel sofia/internal/1001@**.***.219.221
[7bbb17eb-e953-1743-84b5-d4b0ae651332] 2009-04-20 20:19:45 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing Alex->15184282539 in
context default 2009-04-20 20:19:45 [ERR] mod_sofia.c:2411
sofia_outgoing_channel() Invalid Gateway 2009-04-20 20:19:45 [NOTICE]
mod_sofia.c:2624 sofia_outgoing_channel() Close Cha
nnel N/A [CS_NEW]
2009-04-20 20:19:45 [ERR] switch_ivr_originate.c:1459 switch_ivr_originate()
Can
not create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
2009-04-20 20:19:45 [INFO] mod_dptools.c:2036 audio_bridge_function()
Originate
Failed. Cause: INVALID_NUMBER_FORMAT
2009-04-20 20:19:45 [NOTICE] mod_dptools.c:2068 audio_bridge_function()
Hangup s
ofia/internal/1001@**.***.219.221 [CS_EXECUTE] [INVALID_NUMBER_FORMAT]
2009-04-20 20:19:45 [NOTICE] switch_core_session.c:1018
switch_core_session_thre
ad() Session 3 (sofia/internal/1001@**.***.219.221) Ended
2009-04-20 20:19:45 [NOTICE] switch_core_session.c:1020
switch_core_session_thre
ad() Close Channel sofia/internal/1001@**.***.219.221 [CS_DONE]
Thank you for the help.
~Alex
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 7:09 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com
Are you either restarting FS or issuing the reloadxml command (press F6 on
the console) after making these changes?
Did you modify vars.xml per my last note?
Also, check out http://wiki.freeswitch.org/wiki/Getting_Started_Guide - it's
worth investing the time to understand how FS parses the various config
files. Look in /usr/local/freeswitch/log at freeswitch.xml.fsxml - this
file contains the entire free switch configuration since last as parsed by
the application.
Seems you're not hitting the issue I was with FlowRoute - but as the error
indicates you're trying to route a call out from a gateway that does not
exist.
What's the output of "sofia status" (F5 on the console)? It should show:
sip.flowroute.com gateway sip:nnnnnnn at sip.flowroute.com
REGED
Chris.
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com
I modified the 01_example.com.xml with the code below and I am still getting
"Invalid Gateway". I tried creating a file 01_flowroute.com.xml and placed
the code below and had the same unfortunate result. On flowroute site I
have placed my IP in the outbound allowed IPs and also inbound routes. Is
there something else that I should do to try to get things to work?
Sorry, for asking for so much help.
~Alex
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
More information about the FreeSWITCH-users
mailing list