Hi, How can my FS accept inbound SIP calls from other gateways without the need of a registration from their part? I only need to be able to accept inbound calls from specific gateway IPs. I tried creating my own profile and gateway but it fails : "Error Creating SIP UA for profile: myprofile" Can someone give me some first-step directions?
You need to first make sure the profile is on its own IP and port. Then I would recommend you turn auth-calls=false or use ACL's to authenticate the callers. http://wiki.freeswitch.org/wiki/ACL The external profile is a good one to look at for a base.. it listens on port 5080 and doesn't auth calls... and sends them to the public context. /b On Nov 4, 2008, at 10:24 AM, regs@kinetix.gr wrote:
Hi,
How can my FS accept inbound SIP calls from other gateways without the need of a registration from their part? I only need to be able to accept inbound calls from specific gateway IPs. I tried creating my own profile and gateway but it fails : "Error Creating SIP UA for profile: myprofile"
Can someone give me some first-step directions?
Hi, I have no idea what that error message means, sorry. However, we have a setup where we only accept SIP from a single source and use ACL (and not a sip gateway profile), see: http://wiki.freeswitch.org/wiki/Acl Note, the thing that tripped us up was that incoming SIP on port 5060 by default comes in on the 'internal' gateway, and 5080 as external. We switched the port numbers around. Hope this helps. Cheers, Birgit On 04/11/08 16:24, regs@kinetix.gr wrote:
Hi,
How can my FS accept inbound SIP calls from other gateways without the need of a registration from their part? I only need to be able to accept inbound calls from specific gateway IPs. I tried creating my own profile and gateway but it fails : "Error Creating SIP UA for profile: myprofile"
Can someone give me some first-step directions?
-- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- <URL: http://www.westhawk.co.uk>
Is it compulsory that I use different ports for different profiles? What if I want to use the same ports for my authenticated users and the non-authenticated ones? Birgit Arkesteijn wrote:
Hi,
I have no idea what that error message means, sorry.
However, we have a setup where we only accept SIP from a single source and use ACL (and not a sip gateway profile), see: http://wiki.freeswitch.org/wiki/Acl
Note, the thing that tripped us up was that incoming SIP on port 5060 by default comes in on the 'internal' gateway, and 5080 as external. We switched the port numbers around.
Hope this helps.
Cheers, Birgit
On 04/11/08 16:24, regs@kinetix.gr wrote:
Hi,
How can my FS accept inbound SIP calls from other gateways without the need of a registration from their part? I only need to be able to accept inbound calls from specific gateway IPs. I tried creating my own profile and gateway but it fails : "Error Creating SIP UA for profile: myprofile"
Can someone give me some first-step directions?
If you want to make your life easier, yes 2 profiles one 2 difft ports (or use 2 profiles with 2 ip and same port) If you insist on using both types (auth and not auth) on the same profile then you can challenge from the dialplan (see wiki) but its much more complicated. It makes sense to run authenticated calls on a non standard port because you can either use srv records to hide the port anyway or since it's a one time configuration setting in the phone you will never think about that port again. If its a matter of OCD to have the port be 5060 there's nothing else I can do. On Tue, Nov 4, 2008 at 10:47 AM, regs@kinetix.gr <regs@kinetix.gr> wrote:
Is it compulsory that I use different ports for different profiles? What if I want to use the same ports for my authenticated users and the non-authenticated ones?
Birgit Arkesteijn wrote:
Hi,
I have no idea what that error message means, sorry.
However, we have a setup where we only accept SIP from a single source and use ACL (and not a sip gateway profile), see:http://wiki.freeswitch.org/wiki/Acl
Note, the thing that tripped us up was that incoming SIP on port 5060 by default comes in on the 'internal' gateway, and 5080 as external. We switched the port numbers around.
Hope this helps.
Cheers, Birgit
On 04/11/08 16:24, regs@kinetix.gr wrote:
Hi,
How can my FS accept inbound SIP calls from other gateways without the need of a registration from their part? I only need to be able to accept inbound calls from specific gateway IPs. I tried creating my own profile and gateway but it fails : "Error Creating SIP UA for profile: myprofile"
Can someone give me some first-step directions?
_______________________________________________ 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/ 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> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Nov 4, 2008, at 11:47 AM, regs@kinetix.gr wrote:
Is it compulsory that I use different ports for different profiles? What if I want to use the same ports for my authenticated users and the non-authenticated ones?
Each sip profile is its own ip/port bindings, so yes, you must use different ip or port for each profile. You can still mix authed and unauthed calls on a profile by way of using acls to implicitly auth calls or by doing a challenge from the dialplan. I don't like the challenge from the dialplan as it requires the call to process dialplan twice, so it won't scale as well. Mike
participants (5)
-
Anthony Minessale
-
Birgit Arkesteijn
-
Brian West
-
Michael Jerris
-
regs@kinetix.gr