Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Inbound Gateway Call Not Working


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





PostPosted: Fri Sep 11, 2009 12:30 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

I am trying to configure a Grandstream gateway to work with FS. I can make
outbound calls without a problem. However, inbound calls are getting a 403
Forbidden from FS in response to the INVITE from the gateway.

Now, the INVITE's from address is the caller's number (e.g. 1112223333),
which ofcourse, is foreign to the FS. So the FS sends a 407 Proxy
Authentication Required and the gateway uses username "Anonymous" and the
uri "sip:4000@192.168.72.38" (4000 is the destination for all calls from the
gateway).

Is there an example configuration for this scenario?

Thanks and Best Regards,
Jerry


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 1:04 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

On Fri, Sep 11, 2009 at 10:25 AM, Jerry Richards <jerry.richards@teotech.com (jerry.richards@teotech.com)> wrote:
Quote:
I am trying to configure a Grandstream gateway to work with FS.  I can make
outbound calls without a problem.  However, inbound calls are getting a 403
Forbidden from FS in response to the INVITE from the gateway.

Now, the INVITE's from address is the caller's number (e.g. 1112223333),
which ofcourse, is foreign to the FS.  So the FS sends a 407 Proxy
Authentication Required and the gateway uses username "Anonymous" and the
uri "sip:4000@192.168.72.38 ([email]sip%3A4000@192.168.72.38[/email])" (4000 is the destination for all calls from the
gateway).

Is there an example configuration for this scenario?

Thanks and Best Regards,
Jerry


Do you need authentication in this scenario? If not then you can add the gateway's IP address in the ACL "domains" in acl.conf.xml.
-MC
Back to top
jerry.richards at teot...
Guest





PostPosted: Fri Sep 11, 2009 1:04 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

By the way, the FS DEBUG console is saying the following when an inbound
call is made:

Rejected by acl "domains". Falling back to Digest auth.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 10:25 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: Inbound Gateway Call Not Working

I am trying to configure a Grandstream gateway to work with FS. I can make
outbound calls without a problem. However, inbound calls are getting a 403
Forbidden from FS in response to the INVITE from the gateway.

Now, the INVITE's from address is the caller's number (e.g. 1112223333),
which ofcourse, is foreign to the FS. So the FS sends a 407 Proxy
Authentication Required and the gateway uses username "Anonymous" and the
uri "sip:4000@192.168.72.38" (4000 is the destination for all calls from the
gateway).

Is there an example configuration for this scenario?

Thanks and Best Regards,
Jerry


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 1:17 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

On Fri, Sep 11, 2009 at 10:56 AM, Jerry Richards <jerry.richards@teotech.com (jerry.richards@teotech.com)> wrote:
Quote:
By the way, the FS DEBUG console is saying the following when an inbound
call is made:

Rejected by acl "domains". Falling back to Digest auth.


Yes, then it's a matter of whether you want to use digest auth or not. If not then just add a line like this in the domains section in acl.conf.xml:

 <node type="allow" cidr="x.x.x.x/32"/>

where x.x.x.x is the IP addr of the gateway from which the call is coming.
-MC
Back to top
jerry.richards at teot...
Guest





PostPosted: Fri Sep 11, 2009 3:36 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

Thanks. I added the <node type="allow" cidr="x.x.x.x/32"/> to both the
"lan" list and "domain" list in the acl.conf.xml file and it does not try to
authenticate anymore.

However, now it replies to the INVITE with a 480 TEMPORARILY UNAVAILABLE.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 10:57 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: RE: Inbound Gateway Call Not Working

By the way, the FS DEBUG console is saying the following when an inbound
call is made:

Rejected by acl "domains". Falling back to Digest auth.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 10:25 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: Inbound Gateway Call Not Working

I am trying to configure a Grandstream gateway to work with FS. I can make
outbound calls without a problem. However, inbound calls are getting a 403
Forbidden from FS in response to the INVITE from the gateway.

Now, the INVITE's from address is the caller's number (e.g. 1112223333),
which ofcourse, is foreign to the FS. So the FS sends a 407 Proxy
Authentication Required and the gateway uses username "Anonymous" and the
uri "sip:4000@192.168.72.38" (4000 is the destination for all calls from the
gateway).

Is there an example configuration for this scenario?

Thanks and Best Regards,
Jerry


_______________________________________________
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
jerry.richards at teot...
Guest





PostPosted: Mon Sep 14, 2009 1:53 pm    Post subject: [Freeswitch-users] Inbound Gateway Call Not Working Reply with quote

Okay. I got the Grandstream Gateway's 1-stage dialing working with
Freeswitch (Thank You, Michael Collins and Thank All You Developers for
creating this really slick Softswitch/PBX).

Here are the changes/additions I made to the XML files:

conf/sip_profiles/exernal/grandstreamGXW4104.xml (added file):
<include>
<gateway name="192.168.72.186">
<param name="username" value="1000"/>
<param name="password" value="1234"/>
<param name="proxy" value="192.168.72.186"/>
<param name="register" value="false"/>
<param name="extension" value="1000"/>
</gateway>
</include>

conf/dialplan/default.xml (added to existing file):
<extension name="GrandstreamTest">
<condition field="destination_number" expression="^(9{0,1}\d{10})$">
<action application="bridge"
data="sofia/gateway/192.168.72.186/$1@192.168.72.186"/>
</condition>
</extension>

conf/dialplan/public.xml (added to existing file):
<extension name="GrandstreamTest">
<condition field="destination_number" expression="^(5000)$">
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>

conf/autoload_configs/acl.conf.xml (added to existing file):
<list name="lan" default="allow">
<node type="allow" cidr="192.168.72.186/32"/>
...
</list>
...
<list name="domains" default="deny">
<node type="allow" cidr="192.168.72.186/32"/>
...
</list>

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 1:27 PM
To: 'freeswitch-users@lists.freeswitch.org'; 'Michael Collins'
Subject: RE: Inbound Gateway Call Not Working

Thanks. I added the <node type="allow" cidr="x.x.x.x/32"/> to both the
"lan" list and "domain" list in the acl.conf.xml file and it does not try to
authenticate anymore.

However, now it replies to the INVITE with a 480 TEMPORARILY UNAVAILABLE.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 10:57 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: RE: Inbound Gateway Call Not Working

By the way, the FS DEBUG console is saying the following when an inbound
call is made:

Rejected by acl "domains". Falling back to Digest auth.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:jerry.richards@teotech.com]
Sent: Friday, September 11, 2009 10:25 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: Inbound Gateway Call Not Working

I am trying to configure a Grandstream gateway to work with FS. I can make
outbound calls without a problem. However, inbound calls are getting a 403
Forbidden from FS in response to the INVITE from the gateway.

Now, the INVITE's from address is the caller's number (e.g. 1112223333),
which ofcourse, is foreign to the FS. So the FS sends a 407 Proxy
Authentication Required and the gateway uses username "Anonymous" and the
uri "sip:4000@192.168.72.38" (4000 is the destination for all calls from the
gateway).

Is there an example configuration for this scenario?

Thanks and Best Regards,
Jerry


_______________________________________________
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