Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Configure FS using Flowroute.com


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 5:34 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

I am new to VoIP and FS and I was hoping that someone could help me configure my FS server.

I have add flowroute.com.xml to C:\Program Files (x86)\FreeSWITCH\conf\directory\default using the example on the wiki.

I have updated vars.xml with

<X-PRE-PROCESS cmd="set" data="default_provider=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=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"/>

Right now everytime I try to dial out I get a Gateway Invalid error and I try to dial the DID and only get a busy tone. Any help would be much appriciate.

Thank you,

Alex
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Apr 20, 2009 5:35 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

You'll have to do this http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com

/b

On Apr 20, 2009, at 5:15 PM, Alex Harris wrote:
Quote:
I am new to VoIP and FS and I was hoping that someone could help me configure my FS server.

I have add flowroute.com.xml to C:\Program Files (x86)\FreeSWITCH\conf\directory\default using the example on the wiki.

I have updated vars.xml with

<X-PRE-PROCESS cmd="set" data="default_provider=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=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"/>

Right now everytime I try to dial out I get a Gateway Invalid error and I try to dial the DID and only get a busy tone. Any help would be much appriciate.

Thank you,

Alex

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



Brian West
brian@freeswitch.org



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 6:14 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

I placed the xml found at
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com into the
file \conf\directory\default\flowroute.com.xml
Should I have placed it in another location?

Thank you,

Alex



You'll have to do this
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com

/b

On Apr 20, 2009, at 5:15 PM, Alex Harris wrote:

Quote:
I am new to VoIP and FS and I was hoping that someone could help me
configure my FS server.

I have add flowroute.com.xml to C:\Program Files (x86)\FreeSWITCH
\conf\directory\default using the example on the wiki.

I have updated vars.xml with

<X-PRE-PROCESS cmd="set" data="default_provider=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=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"/>

Right now everytime I try to dial out I get a Gateway Invalid error
and I try to dial the DID and only get a busy tone. Any help would
be much appriciate.

Thank you,

Alex
_______________________________________________
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

Brian West
brian@freeswitch.org

-- Meet us at ClueCon! http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090420/
c2f2bc54/attachment.html

------------------------------

_______________________________________________
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


End of Freeswitch-users Digest, Vol 34, Issue 111
*************************************************


_______________________________________________
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
Back to top
chris at fowler.cc
Guest





PostPosted: Mon Apr 20, 2009 6:18 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

About two weeks ago FlowRoute stopped working with FreeSwitch. Looking at the SIP trace there is chatter about a Proxy Auth required. I ran out of time to debug as this was on a production system.

The work around was:

1) You need to prefix the dialed number with the FlowRoute Account Number in the dialplan:
<action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>

2) Specifiy FreeSWITCH's Public IP in the FlowRoute Interconnection page in the "Outbound Allowed IPs"


I've updated the wiki with the work around. This needs more debug as it used to work with registration only - which is preferable if your public IP is changing. (FWIW - Inbound calls have always worked).


Alex: To make flowroute your default provider add to /usr/local/freeswitch/conf/vars.xml

<X-PRE-PROCESS cmd="set" data="default_provider=sip.flowroute.com"/>
<X-PRE-PROCESS cmd="set" data="default_provider_username=nnnnnnnn"/>
<X-PRE-PROCESS cmd="set" data="default_provider_password=secret"/>
<X-PRE-PROCESS cmd="set" data="default_provider_from_domain=sip.flowroute.com"/>

Chris.


-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex Harris
Sent: Monday, April 20, 2009 16:04
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Configure FS using Flowroute.com

I placed the xml found at
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com into the
file \conf\directory\default\flowroute.com.xml
Should I have placed it in another location?

Thank you,

Alex



You'll have to do this
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com

/b

On Apr 20, 2009, at 5:15 PM, Alex Harris wrote:

Quote:
I am new to VoIP and FS and I was hoping that someone could help me
configure my FS server.

I have add flowroute.com.xml to C:\Program Files (x86)\FreeSWITCH
\conf\directory\default using the example on the wiki.

I have updated vars.xml with

<X-PRE-PROCESS cmd="set" data="default_provider=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=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"/>

Right now everytime I try to dial out I get a Gateway Invalid error
and I try to dial the DID and only get a busy tone. Any help would
be much appriciate.

Thank you,

Alex
_______________________________________________
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

Brian West
brian@freeswitch.org

-- Meet us at ClueCon! http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090420/
c2f2bc54/attachment.html

------------------------------

_______________________________________________
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


End of Freeswitch-users Digest, Vol 34, Issue 111
*************************************************


_______________________________________________
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

_______________________________________________
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
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 6:47 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

Thank you for the help, but since I am so new to FS or any VoIP system I
don't know where to make the DP change.

Again thank you guys for you help, I just hope I can get the basics working
and then figure out the system from there.

~Alex

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 4:18 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com

About two weeks ago FlowRoute stopped working with FreeSwitch. Looking at
the SIP trace there is chatter about a Proxy Auth required. I ran out of
time to debug as this was on a production system.

The work around was:

1) You need to prefix the dialed number with the FlowRoute Account Number in
the dialplan:
<action application="bridge"
data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>

2) Specifiy FreeSWITCH's Public IP in the FlowRoute Interconnection page in
the "Outbound Allowed IPs"


I've updated the wiki with the work around. This needs more debug as it
used to work with registration only - which is preferable if your public IP
is changing. (FWIW - Inbound calls have always worked).


Alex: To make flowroute your default provider add to
/usr/local/freeswitch/conf/vars.xml

<X-PRE-PROCESS cmd="set" data="default_provider=sip.flowroute.com"/>
<X-PRE-PROCESS cmd="set" data="default_provider_username=nnnnnnnn"/>
<X-PRE-PROCESS cmd="set" data="default_provider_password=secret"/>
<X-PRE-PROCESS cmd="set"
data="default_provider_from_domain=sip.flowroute.com"/>

Chris.


-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 16:04
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Configure FS using Flowroute.com

I placed the xml found at
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com into the
file \conf\directory\default\flowroute.com.xml
Should I have placed it in another location?

Thank you,

Alex



You'll have to do this
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Flowroute.com

/b

On Apr 20, 2009, at 5:15 PM, Alex Harris wrote:

Quote:
I am new to VoIP and FS and I was hoping that someone could help me
configure my FS server.

I have add flowroute.com.xml to C:\Program Files (x86)\FreeSWITCH
\conf\directory\default using the example on the wiki.

I have updated vars.xml with

<X-PRE-PROCESS cmd="set" data="default_provider=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=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"/>

Right now everytime I try to dial out I get a Gateway Invalid error
and I try to dial the DID and only get a busy tone. Any help would
be much appriciate.

Thank you,

Alex
_______________________________________________
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

Brian West
brian@freeswitch.org

-- Meet us at ClueCon! http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090420/
c2f2bc54/attachment.html

------------------------------

_______________________________________________
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


End of Freeswitch-users Digest, Vol 34, Issue 111
*************************************************


_______________________________________________
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

_______________________________________________
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


_______________________________________________
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
Back to top
chris at fowler.cc
Guest





PostPosted: Mon Apr 20, 2009 6:56 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

Hi Alex,

DialPlan is in /usr/local/freeswitch/conf/dialplan/default

Edit the example (I think 01_ prefix); should look like this:

<include>

<extension name="local.example.com">
<condition field="${toll_allow}" expression="local"/>
<condition field="destination_number" expression="^(\d{7})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#1${default_areacode}$1"/>
</condition>
</extension>

<extension name="threedigits.example.com">
<condition field="${toll_allow}" expression="domestic"/>
<condition field="destination_number" expression="^(\d{3})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/gateway/inphonex/$1"/>
</condition>
</extension>

<extension name="domestic.example.com">
<condition field="${toll_allow}" expression="domestic"/>
<condition field="destination_number" expression="^(\d{11})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>
</condition>
</extension>

<extension name="international.example.com">
<condition field="${toll_allow}" expression="international"/>
<condition field="destination_number" expression="^(011\d+)$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>
</condition>
</extension>

</include>


_______________________________________________
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
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 7:06 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

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

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 4:49 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com

Hi Alex,

DialPlan is in /usr/local/freeswitch/conf/dialplan/default

Edit the example (I think 01_ prefix); should look like this:

<include>

<extension name="local.example.com">
<condition field="${toll_allow}" expression="local"/>
<condition field="destination_number" expression="^(\d{7})$">
<action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge"
data="sofia/gateway/sip.flowroute.com/${default_provider_username}#1${defaul
t_areacode}$1"/>
</condition>
</extension>

<extension name="threedigits.example.com">
<condition field="${toll_allow}" expression="domestic"/>
<condition field="destination_number" expression="^(\d{3})$">
<action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/gateway/inphonex/$1"/>
</condition>
</extension>

<extension name="domestic.example.com">
<condition field="${toll_allow}" expression="domestic"/>
<condition field="destination_number" expression="^(\d{11})$">
<action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge"
data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>
</condition>
</extension>

<extension name="international.example.com">
<condition field="${toll_allow}" expression="international"/>
<condition field="destination_number" expression="^(011\d+)$">
<action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge"
data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/>
</condition>
</extension>

</include>


_______________________________________________
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


_______________________________________________
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
Back to top
chris at fowler.cc
Guest





PostPosted: Mon Apr 20, 2009 9:10 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

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@sip.flowroute.com REGED


Chris.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 10:23 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

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@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@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 7:09 PM
To: freeswitch-users@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@sip.flowroute.com
REGED


Chris.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Mon Apr 20, 2009 10:25 pm    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

I have also done a reloadxml and a shutdown.

~Alex

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 7:09 PM
To: freeswitch-users@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@sip.flowroute.com
REGED


Chris.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
chris at fowler.cc
Guest





PostPosted: Tue Apr 21, 2009 10:55 am    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

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.

Quote:
Quote:
Quote:
Quote:
Quote:
flowroute gateway sip:*******@sip.flowroute.com

<action application="bridge" data="sofia/gateway/flowroute/${default_provider_username}#$1"/>

C.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex Harris
Sent: Monday, April 20, 2009 20:22
To: freeswitch-users@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@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@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 7:09 PM
To: freeswitch-users@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@sip.flowroute.com
REGED


Chris.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Alex.Harris at Softwar...
Guest





PostPosted: Tue Apr 21, 2009 11:50 am    Post subject: [Freeswitch-users] Configure FS using Flowroute.com Reply with quote

That did it! Thank you so much for all your help.

~Alex

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Tuesday, April 21, 2009 8:54 AM
To: freeswitch-users@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.

Quote:
Quote:
Quote:
Quote:
Quote:
flowroute gateway
sip:*******@sip.flowroute.com

<action application="bridge"
data="sofia/gateway/flowroute/${default_provider_username}#$1"/>

C.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 20:22
To: freeswitch-users@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@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@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris
Fowler
Sent: Monday, April 20, 2009 7:09 PM
To: freeswitch-users@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@sip.flowroute.com
REGED


Chris.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex
Harris
Sent: Monday, April 20, 2009 17:05
To: freeswitch-users@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services