I'm using the external sip profile to route calls from a voice gateway router to an internal PBX. In separate xml files in the sofia/external directory, I have the following: <include> <gateway name="Server-1"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value=" X.X.X.X "/> <param name="proxy" value=" X.X.X.X "/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> <include> <gateway name="Server-2"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value="X.X.X.X"/> <param name="proxy" value="X.X.X.X"/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> <include> <gateway name="Voice Gateway"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value="X.X.X.X"/> <param name="proxy" value="X.X.X.X"/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> In the dial plan/public directory, I have the following (different xml files): <extension name="PBX"> <condition field="destination_number" expression="^(Directory Numbers)$"> <action application="bridge" data="sofia/gateway/Server-1/$1"/> <action application="bridge" data="sofia/gateway/Server-2/$1"/> </condition> </extension> <extension name="PSTN"> <condition field="destination_number" expression="^(\d{10})$"> <action application="bridge" data="sofia/gateway/Voice Gateway/$1"/> </condition> </extension> In the sip profiles/eternal.xml file, I have the following major settings: <settings> <param name="inbound-proxy-media" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-late-negotiation" value="true"/> <param name="user-agent-string" value="My Company Name"/> <param name="disable-register" value="true"/> <param name="inbound-codec-negotiation" value="generous"/> <param name="inbound-codec-prefs" value="G729,PCMU" <param name="outbound-codec-prefs" value="G729,PCMU"/> <param name="media-option" value="resume-media-on-hold"/> <param name="stun-enabled" value="false"/> <param name="debug" value="0"/> <param name="sip-trace" value="no"/> <param name="rfc2833-pt" value="101"/> <param name="sip-port" value="5080"/> <param name="rtp-ip" value="X.X.X.X"/> <param name="sip-ip" value="X.X.X.X"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="dtmf-duration" value="2000"/> <param name="rtp-timer-name" value="soft"/> <param name="rtp-timeout-sec" value="300"/> <param name="rtp-hold-timeout-sec" value="1800"/> </settings> </profile> Currently, I'm experiencing two issues. 1. Inbound calls work as long as I'm using "inbound-proxy-media". When I disable that setting and force transcoding, the phone rings but immediately hangs up when I pick up the receiver. I see an "Incompatible Destination" message on the console. 2. Outbound calls don't work at all. On the console, I see "407 Proxy Authentication Required". If I'm using the external profile, how could it require authentication? Any ideas? Thanks, Ken Fulmer
Did you purchase g.729 licenses for this system? If not then you won't be able to transcode g.729 and the incompatible destination error will keep popping up if you're not in proxy media mode. Where is the 407 coming from? If it's coming from your provider then they want you to auth calls, which means you need to make sure your gateway has the correct username and password information. -MC On Thu, Apr 8, 2010 at 12:54 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
I’m using the external sip profile to route calls from a voice gateway router to an internal PBX.
In separate xml files in the sofia/external directory, I have the following:
<include>
<gateway name="Server-1">
<param name="username" value="gateway"/>
<param name="password" value="gateway"/>
<param name="realm" value=" X.X.X.X "/>
<param name="proxy" value=" X.X.X.X "/>
<param name="register" value="false"/>
<param name="context" value="public"/>
</gateway>
</include>
<include>
<gateway name="Server-2">
<param name="username" value="gateway"/>
<param name="password" value="gateway"/>
<param name="realm" value="X.X.X.X"/>
<param name="proxy" value="X.X.X.X"/>
<param name="register" value="false"/>
<param name="context" value="public"/>
</gateway>
</include>
<include>
<gateway name="Voice Gateway">
<param name="username" value="gateway"/>
<param name="password" value="gateway"/>
<param name="realm" value="X.X.X.X"/>
<param name="proxy" value="X.X.X.X"/>
<param name="register" value="false"/>
<param name="context" value="public"/>
</gateway>
</include>
In the dial plan/public directory, I have the following (different xml files):
<extension name="PBX">
<condition field="destination_number" expression="^(Directory Numbers)$">
<action application="bridge" data="sofia/gateway/Server-1/$1"/>
<action application="bridge" data="sofia/gateway/Server-2/$1"/>
</condition>
</extension>
<extension name="PSTN">
<condition field="destination_number" expression="^(\d{10})$">
<action application="bridge" data="sofia/gateway/Voice Gateway/$1"/>
</condition>
</extension>
In the sip profiles/eternal.xml file, I have the following major settings:
<settings>
<param name="inbound-proxy-media" value="false"/>
<param name="disable-transcoding" value="false"/>
<param name="inbound-late-negotiation" value="true"/>
<param name="user-agent-string" value="My Company Name"/>
<param name="disable-register" value="true"/>
<param name="inbound-codec-negotiation" value="generous"/>
<param name="inbound-codec-prefs" value="G729,PCMU"
<param name="outbound-codec-prefs" value="G729,PCMU"/>
<param name="media-option" value="resume-media-on-hold"/>
<param name="stun-enabled" value="false"/>
<param name="debug" value="0"/>
<param name="sip-trace" value="no"/>
<param name="rfc2833-pt" value="101"/>
<param name="sip-port" value="5080"/>
<param name="rtp-ip" value="X.X.X.X"/>
<param name="sip-ip" value="X.X.X.X"/>
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
<param name="dtmf-duration" value="2000"/>
<param name="rtp-timer-name" value="soft"/>
<param name="rtp-timeout-sec" value="300"/>
<param name="rtp-hold-timeout-sec" value="1800"/>
</settings>
</profile>
Currently, I’m experiencing two issues.
1. Inbound calls work as long as I’m using “inbound-proxy-media”. When I disable that setting and force transcoding, the phone rings but immediately hangs up when I pick up the receiver. I see an “Incompatible Destination” message on the console.
2. Outbound calls don’t work at all. On the console, I see “407 Proxy Authentication Required”. If I’m using the external profile, how could it require authentication?
Any ideas?
Thanks,
Ken Fulmer
_______________________________________________ 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
Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it's 711. The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 4:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems Did you purchase g.729 licenses for this system? If not then you won't be able to transcode g.729 and the incompatible destination error will keep popping up if you're not in proxy media mode. Where is the 407 coming from? If it's coming from your provider then they want you to auth calls, which means you need to make sure your gateway has the correct username and password information. -MC On Thu, Apr 8, 2010 at 12:54 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: I'm using the external sip profile to route calls from a voice gateway router to an internal PBX. In separate xml files in the sofia/external directory, I have the following: <include> <gateway name="Server-1"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value=" X.X.X.X "/> <param name="proxy" value=" X.X.X.X "/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> <include> <gateway name="Server-2"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value="X.X.X.X"/> <param name="proxy" value="X.X.X.X"/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> <include> <gateway name="Voice Gateway"> <param name="username" value="gateway"/> <param name="password" value="gateway"/> <param name="realm" value="X.X.X.X"/> <param name="proxy" value="X.X.X.X"/> <param name="register" value="false"/> <param name="context" value="public"/> </gateway> </include> In the dial plan/public directory, I have the following (different xml files): <extension name="PBX"> <condition field="destination_number" expression="^(Directory Numbers)$"> <action application="bridge" data="sofia/gateway/Server-1/$1"/> <action application="bridge" data="sofia/gateway/Server-2/$1"/> </condition> </extension> <extension name="PSTN"> <condition field="destination_number" expression="^(\d{10})$"> <action application="bridge" data="sofia/gateway/Voice Gateway/$1"/> </condition> </extension> In the sip profiles/eternal.xml file, I have the following major settings: <settings> <param name="inbound-proxy-media" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-late-negotiation" value="true"/> <param name="user-agent-string" value="My Company Name"/> <param name="disable-register" value="true"/> <param name="inbound-codec-negotiation" value="generous"/> <param name="inbound-codec-prefs" value="G729,PCMU" <param name="outbound-codec-prefs" value="G729,PCMU"/> <param name="media-option" value="resume-media-on-hold"/> <param name="stun-enabled" value="false"/> <param name="debug" value="0"/> <param name="sip-trace" value="no"/> <param name="rfc2833-pt" value="101"/> <param name="sip-port" value="5080"/> <param name="rtp-ip" value="X.X.X.X"/> <param name="sip-ip" value="X.X.X.X"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="dtmf-duration" value="2000"/> <param name="rtp-timer-name" value="soft"/> <param name="rtp-timeout-sec" value="300"/> <param name="rtp-hold-timeout-sec" value="1800"/> </settings> </profile> Currently, I'm experiencing two issues. 1. Inbound calls work as long as I'm using "inbound-proxy-media". When I disable that setting and force transcoding, the phone rings but immediately hangs up when I pick up the receiver. I see an "Incompatible Destination" message on the console. 2. Outbound calls don't work at all. On the console, I see "407 Proxy Authentication Required". If I'm using the external profile, how could it require authentication? Any ideas? Thanks, Ken Fulmer _______________________________________________ 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
On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s 711.
Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org.
The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server.
By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml Then make a call from PBX to FS and it should go through. -MC
Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file: <list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list> 10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message. I get the following log output when I issue the command, reloadacl: 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11 Am I doing something incorrectly? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it's 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org. The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml Then make a call from PBX to FS and it should go through. -MC
On Fri, Apr 9, 2010 at 10:07 AM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file:
<list name="domains" default="deny">
<node type="allow" domain="10.10.3.10"/>
<node type="allow" domain="10.10.3.11"/>
</list>
10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message.
I get the following log output when I issue the command, reloadacl:
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny)
freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8(allow) [] to list loopback.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny)
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11
Am I doing something incorrectly?
I'm afraid so. :) <node type="allow" cidr="10.10.3.10/32"/> <node type="allow" cidr="10.10.3.11/32"/> You're not allowing a domain in, you're allowing an IP address. -MC
I think you'll want to change it to: <list name="domains" default="deny"> <node type="allow" cidr ="10.10.3.10/32"/> <node type="allow" cidr ="10.10.3.11/32"/> </list> Cheers, Fraser On Fri, Apr 9, 2010 at 6:07 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file:
<list name="domains" default="deny">
<node type="allow" domain="10.10.3.10"/>
<node type="allow" domain="10.10.3.11"/>
</list>
10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message.
I get the following log output when I issue the command, reloadacl:
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny)
freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8(allow) [] to list loopback.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny)
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11
Am I doing something incorrectly?
Thanks,
Ken
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Thursday, April 08, 2010 6:25 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Two Major Problems
On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s 711.
Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org.
The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server.
By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml
Then make a call from PBX to FS and it should go through. -MC
_______________________________________________ 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
Use the CIDR XML key not domain: http://wiki.freeswitch.org/wiki/Acl Regards, Tj On 09 Apr 2010, at 19:07, Ken Fulmer wrote:
Per your suggestion, I changed the following in the conf/ autoload_configs/acl.conf.xml file:
<list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list>
10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message.
I get the following log output when I issue the command, reloadacl:
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11
Am I doing something incorrectly?
Thanks,
Ken
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems
On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com
wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org.
The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml
Then make a call from PBX to FS and it should go through. -MC
_______________________________________________ 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
I'm now using an ACL list called "lan". <list name="lan" default="allow"> <node type="allow" cidr="10.10.3.0/25"/> </list> In the external sip profile, I have the following statement: <param name="local-network-acl" value="lan"/> I still get the Proxy Authentication Required error. Am I doing something wrong? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tjardick van der Kraan Sent: Sunday, April 11, 2010 4:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems Use the CIDR XML key not domain: http://wiki.freeswitch.org/wiki/Acl Regards, Tj On 09 Apr 2010, at 19:07, Ken Fulmer wrote: Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file: <list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list> 10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message. I get the following log output when I issue the command, reloadacl: 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11 Am I doing something incorrectly? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it's 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org. The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml Then make a call from PBX to FS and it should go through. -MC _______________________________________________ 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
ken, are you sure it's not apply-inbound-acl you want to set ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 20/04/2010 à 22:03, Ken Fulmer a écrit :
I’m now using an ACL list called “lan”.
<list name="lan" default="allow"> <node type="allow" cidr="10.10.3.0/25"/> </list>
In the external sip profile, I have the following statement:
<param name="local-network-acl" value="lan"/>
I still get the Proxy Authentication Required error. Am I doing something wrong?
Thanks,
Ken
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Tjardick van der Kraan Sent: Sunday, April 11, 2010 4:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems
Use the CIDR XML key not domain:
http://wiki.freeswitch.org/wiki/Acl
Regards,
Tj
On 09 Apr 2010, at 19:07, Ken Fulmer wrote:
Per your suggestion, I changed the following in the conf/ autoload_configs/acl.conf.xml file:
<list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list>
10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message.
I get the following log output when I issue the command, reloadacl:
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11
Am I doing something incorrectly?
Thanks,
Ken
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems
wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s
On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org.
The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml
Then make a call from PBX to FS and it should go through. -MC
_______________________________________________ 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
I’ve tried this setting as well: <param name="apply-inbound-acl" value="lan"/> Neither way seems to work. What’s strange is, I have an Adtran voice gateway at 172.16.15.11 that is sending calls to the FS box without any problems. The sipX server on the same subnet, 10.10.3.0 /25 can’t send calls without generating the Proxy Authentication Required message. Is this just because it’s on the same LAN as the FS box? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of David Ponzone Sent: Tuesday, April 20, 2010 3:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems ken, are you sure it's not apply-inbound-acl you want to set ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 20/04/2010 à 22:03, Ken Fulmer a écrit : I’m now using an ACL list called “lan”. <list name="lan" default="allow"> <node type="allow" cidr="10.10.3.0/25"/> </list> In the external sip profile, I have the following statement: <param name="local-network-acl" value="lan"/> I still get the Proxy Authentication Required error. Am I doing something wrong? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tjardick van der Kraan Sent: Sunday, April 11, 2010 4:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems Use the CIDR XML key not domain: http://wiki.freeswitch.org/wiki/Acl Regards, Tj On 09 Apr 2010, at 19:07, Ken Fulmer wrote: Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file: <list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list> 10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message. I get the following log output when I issue the command, reloadacl: 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11 Am I doing something incorrectly? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org. The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml Then make a call from PBX to FS and it should go through. -MC _______________________________________________ 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
sometimes on sipx you need <param name="accept-blind-auth" value="true"/> in your profile because it tries to send auth info even when it's not necessary and FS will enforce auth packets even with everything else wide open. On Tue, Apr 20, 2010 at 3:52 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
I’ve tried this setting as well:
<param name="apply-inbound-acl" value="lan"/>
Neither way seems to work. What’s strange is, I have an Adtran voice gateway at 172.16.15.11 that is sending calls to the FS box without any problems. The sipX server on the same subnet, 10.10.3.0 /25 can’t send calls without generating the Proxy Authentication Required message. Is this just because it’s on the same LAN as the FS box?
Thanks,
Ken
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *David Ponzone *Sent:* Tuesday, April 20, 2010 3:25 PM
*To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Two Major Problems
ken,
are you sure it's not apply-inbound-acl you want to set ?
David Ponzone Direction Technique
email: david.ponzone@ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
*www.ipeva.fr* - *www.ipeva-studio.com*
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.*
* *
Le 20/04/2010 à 22:03, Ken Fulmer a écrit :
I’m now using an ACL list called “lan”.
<list name="lan" default="allow">
<node type="allow" cidr="10.10.3.0/25"/>
</list>
In the external sip profile, I have the following statement:
<param name="local-network-acl" value="lan"/>
I still get the Proxy Authentication Required error. Am I doing something wrong?
Thanks,
Ken
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org<freeswitch-users-bounces@lists.freeswitch.org> ] *On Behalf Of *Tjardick van der Kraan *Sent:* Sunday, April 11, 2010 4:36 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Two Major Problems
Use the CIDR XML key not domain:
http://wiki.freeswitch.org/wiki/Acl
Regards,
Tj
On 09 Apr 2010, at 19:07, Ken Fulmer wrote:
Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file:
<list name="domains" default="deny">
<node type="allow" domain="10.10.3.10"/>
<node type="allow" domain="10.10.3.11"/>
</list>
10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message.
I get the following log output when I issue the command, reloadacl:
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny)
freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8(allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8(allow) [] to list loopback.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny)
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto
2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny)
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10
2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11
Am I doing something incorrectly?
Thanks,
Ken
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org<freeswitch-users-bounces@lists.freeswitch.org> ] *On Behalf Of *Michael Collins *Sent:* Thursday, April 08, 2010 6:25 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Two Major Problems
On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, it’s 711.
Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org.
The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server.
By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml
Then make a call from PBX to FS and it should go through. -MC
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Wow, that did it. Thanks! Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, April 20, 2010 4:21 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems sometimes on sipx you need <param name="accept-blind-auth" value="true"/> in your profile because it tries to send auth info even when it's not necessary and FS will enforce auth packets even with everything else wide open. On Tue, Apr 20, 2010 at 3:52 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: Ive tried this setting as well: <param name="apply-inbound-acl" value="lan"/> Neither way seems to work. Whats strange is, I have an Adtran voice gateway at 172.16.15.11 that is sending calls to the FS box without any problems. The sipX server on the same subnet, 10.10.3.0 /25 cant send calls without generating the Proxy Authentication Required message. Is this just because its on the same LAN as the FS box? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of David Ponzone Sent: Tuesday, April 20, 2010 3:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems ken, are you sure it's not apply-inbound-acl you want to set ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 20/04/2010 à 22:03, Ken Fulmer a écrit : Im now using an ACL list called lan. <list name="lan" default="allow"> <node type="allow" cidr="10.10.3.0/25"/> </list> In the external sip profile, I have the following statement: <param name="local-network-acl" value="lan"/> I still get the Proxy Authentication Required error. Am I doing something wrong? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tjardick van der Kraan Sent: Sunday, April 11, 2010 4:36 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems Use the CIDR XML key not domain: http://wiki.freeswitch.org/wiki/Acl Regards, Tj On 09 Apr 2010, at 19:07, Ken Fulmer wrote: Per your suggestion, I changed the following in the conf/autoload_configs/acl.conf.xml file: <list name="domains" default="deny"> <node type="allow" domain="10.10.3.10"/> <node type="allow" domain="10.10.3.11"/> </list> 10.10.3.10 and 10.10.3.11 are the ip addresses of our internal servers. However, the calls still fail with the 407 Proxy Authentication Required message. I get the following log output when I issue the command, reloadacl: 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:954 Created ip list rfc1918.auto default (deny) freeswitch@internal> 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:962 Created ip list wan.auto default (allow) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (deny) [] to list wan.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:970 Created ip list nat.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:972 Adding 10.10.3.12/255.255.255.128 (deny) to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 10.0.0.0/8 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 172.16.0.0/12 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 192.168.0.0/16 (allow) [] to list nat.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:981 Created ip list loopback.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 (allow) [] to list loopback.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:987 Created ip list localnet.auto default (deny) 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:990 Adding 10.10.3.12/255.255.255.128 (allow) to list localnet.auto 2010-04-09 12:06:31.259954 [NOTICE] switch_core.c:1015 Created ip list domains default (deny) 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.10 2010-04-09 12:06:31.259954 [WARNING] switch_core.c:1046 Cannot locate domain 10.10.3.11 Am I doing something incorrectly? Thanks, Ken From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, April 08, 2010 6:25 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Two Major Problems On Thu, Apr 8, 2010 at 3:18 PM, Ken Fulmer <kenfulmer@icstechnologysolutions.com> wrote: Actually, I did purchase a license and installed it today. One call establishes at 729. When I hang up the phone and try again, its 711. Make sure that the encoder/decoder isn't still in use prior to trying the second call. After you hang up, do a "show channels" and see if the call is still "up" or not. Also, do "g729_status" to see if the encoder or decoder is in use. Keep doing "g729_status" until the 'coders are not in use. If there is a long delay then open up a JIRA ticket on jira.freeswitch.org. The Proxy Authentication Required is being sent by FreeSwitch to the internal PBX. I have registration disabled on the FreeSwitch gateway and the internal server. By default the SIP profile will challenge if the IP address of the caller is not in the ACL. Open conf/autoload_configs/acl.conf.xml and locate the "domains" node. Add your PBX's IP address. You'll see an example in the comments. Once you're done editing, save the file and then go to the fs_cli and do: reloadacl reloadxml Then make a call from PBX to FS and it should go through. -MC _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (6)
-
Anthony Minessale
-
David Ponzone
-
Fraser Redmond
-
Ken Fulmer
-
Michael Collins
-
Tjardick van der Kraan