Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include> But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
Pls. try to add: <param name="auth-calls" value="false"/> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#auth-calls This should disable authentication check. And then implement ACL for this specific IP, for details pls. see http://wiki.freeswitch.org/wiki/Acl <http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#auth-calls> Regards, Vitalie 2011/3/12 Borin <katerin.borin@gmail.com>
Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include>
But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
_______________________________________________ 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
Hello FS users, I have some customers trying to utilize automatic redial feature with their pots lines. But when the analog phone listens for a "Goodbye" message instead of busy tone it can't determine that the line is busy and automatic redial fails. So the question is whether there is a way to disable or skip playback of a "GoodBye" message for a particular user or change "Goodbye" message for "User Busy". Thank you in advance.
You should be able to do this in the dialplan. Without more information I can't direct you any further, other than to say you can have the dialplan play a busy tone instead of playing "goodbye": <action application="playback" data="tone_stream://%(500,500,480,620)"/> -MC On Sat, Mar 12, 2011 at 2:21 PM, <iam@onnet.su> wrote:
Hello FS users,
I have some customers trying to utilize automatic redial feature with their pots lines. But when the analog phone listens for a "Goodbye" message instead of busy tone it can't determine that the line is busy and automatic redial fails.
So the question is whether there is a way to disable or skip playback of a "GoodBye" message for a particular user or change "Goodbye" message for "User Busy".
Thank you in advance.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
That's for an outgoing gateway. Look at the cidr parameter of the user directory - it lets you authenticate a user based on IP rather than password. http://wiki.freeswitch.org/wiki/Acl#Users -Steve On 12 March 2011 20:39, Borin <katerin.borin@gmail.com> wrote:
Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include>
But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi guys thanks a lot I added <list name="carrier" default="deny"> <node type="allow" cidr="carrier.ip/32"/> </list> to the acl.conf.xml then <param name="apply-inbound-acl" value="carrier"/> in sip_profiles/external/carrier.xml <include> <gateway name="carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="auth-calls" value="false"/> <param name="apply-inbound-acl" value="carrier"/> <param name="register" value="false"/> </gateway> </include> Works now On Sat, Mar 12, 2011 at 10:48 PM, Steven Ayre <steveayre@gmail.com> wrote:
That's for an outgoing gateway.
Look at the cidr parameter of the user directory - it lets you authenticate a user based on IP rather than password.
http://wiki.freeswitch.org/wiki/Acl#Users
-Steve
On 12 March 2011 20:39, Borin <katerin.borin@gmail.com> wrote:
Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include>
But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
_______________________________________________ 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
Steven, according to Borin's message she is talking exactly about outgoing gateway (sip_profiles/external/carrier.xml). And not about user's directory. Outgoing gateway can also work as incoming gateway, if you send your calls to it. Just want to make things clear. Vitalie 2011/3/13 Borin <katerin.borin@gmail.com>
Hi guys thanks a lot
I added <list name="carrier" default="deny"> <node type="allow" cidr="carrier.ip/32"/> </list> to the acl.conf.xml
then <param name="apply-inbound-acl" value="carrier"/> in sip_profiles/external/carrier.xml <include> <gateway name="carrier">
<param name="username" value="anything"/> <param name="password" value="anything"/> <param name="auth-calls" value="false"/> <param name="apply-inbound-acl" value="carrier"/>
<param name="register" value="false"/> </gateway> </include>
Works now
On Sat, Mar 12, 2011 at 10:48 PM, Steven Ayre <steveayre@gmail.com> wrote:
That's for an outgoing gateway.
Look at the cidr parameter of the user directory - it lets you authenticate a user based on IP rather than password.
http://wiki.freeswitch.org/wiki/Acl#Users
-Steve
On 12 March 2011 20:39, Borin <katerin.borin@gmail.com> wrote:
Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include>
But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
_______________________________________________ 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
sorry guys, I just started to play with freeswitch and probably I was not clear with my schema I use the following scenario: asterisk (carrier in my config) ---> --- (udp port 5080) freeswitch (here conference application) I needed that freeswicth did not requie INVITE authentication for the calls coming from asterisk. So the calls are external incoming for freeswitch. Until I added this config with acl it did not funtion. On Sun, Mar 13, 2011 at 5:20 PM, Vitalii Colosov <vetali100@gmail.com>wrote:
Steven, according to Borin's message she is talking exactly about outgoing gateway (sip_profiles/external/carrier.xml).
And not about user's directory.
Outgoing gateway can also work as incoming gateway, if you send your calls to it.
Just want to make things clear.
Vitalie
2011/3/13 Borin <katerin.borin@gmail.com>
Hi guys thanks a lot
I added <list name="carrier" default="deny"> <node type="allow" cidr="carrier.ip/32"/> </list> to the acl.conf.xml
then <param name="apply-inbound-acl" value="carrier"/> in sip_profiles/external/carrier.xml <include> <gateway name="carrier">
<param name="username" value="anything"/> <param name="password" value="anything"/> <param name="auth-calls" value="false"/> <param name="apply-inbound-acl" value="carrier"/>
<param name="register" value="false"/> </gateway> </include>
Works now
On Sat, Mar 12, 2011 at 10:48 PM, Steven Ayre <steveayre@gmail.com>wrote:
That's for an outgoing gateway.
Look at the cidr parameter of the user directory - it lets you authenticate a user based on IP rather than password.
http://wiki.freeswitch.org/wiki/Acl#Users
-Steve
On 12 March 2011 20:39, Borin <katerin.borin@gmail.com> wrote:
Hello FS users, Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite. I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <include> <gateway name="new-carrier"> <param name="username" value="anything"/> <param name="password" value="anything"/> <param name="realm" value="carrier.ip.address"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> </gateway> </include>
But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?
_______________________________________________ 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
participants (5)
-
Borin
-
iam@onnet.su
-
Michael Collins
-
Steven Ayre
-
Vitalii Colosov