Hi,
I have a few questions about SIP and SER - feel free to blast me if they've been asked and answered before - I have tried to find my answers. I'm fairly new to SIP but not to VOIP (I'm sorry, most of my life is spent with CCM). I've played with SIP a bit but not really indepth.
The Scenario:
I have a few SIP phones at home (mostly Cisco 7940s and ATAs etc) and I want to build a residential gateway that will allow me to do the following in terms of "external" stuff:
Route outgoing calls to particular proxies that require (usually) digest authentication (eg. iconnecthere for international dialing, fwd, etc) - the thing I don't get is the authentication side of things - ie. the phone won't know it needs to authenticate so the SIP proxy must provide this ...
"Register" with external proxies so that (eg. FWD and iptel.org ) and so that it knows to send calls to my FWD number to my proxy server so that my proxy can route to my internal phones and/or send the call on to whereever I may be.
I've read through the SER documentation and I can see how to rewrite URIs but I was confused about how digest auth works with that.
Can I actually do the SER registering with other proxies? I realize this really isn't the role of a SIP server. Is there a better way of doing this? Have I really just missed the point somewhere along the line? (I'm quite prepared to accept that I may have ..)
I've had a play with getting Asterisk to do this and got it to register etc, but got a bit stuck with the whole media/codec side of things (and basically gave up prematurely!) I just wanted to do some SIP things!
My idea with doing these things is to see if I can figure out a bit of a "packaged" up version of SER for those of use who want to integrate things like FWD/iptel.org etc into our "normal" telephony environment at home. (Anyone know what the easiest way of getting an FXO port at home is?)
Hi Mathew,
I found your questions interesting. I have following suggestions and you can try that and let us know if that works.
You might register to other servers might be in this way.
.....
if( method="REGISTER" ) { # do authentication and save location here # plus append a leg
rewriteuri("sip:username:password@iptel.org"); append_branch("sip:username:password@fwd.pulver.com"); sl_send_reply("200","OK"); # not sure whether "200" really forwards the method break;
}
With respect to building the residential gateway, you can find there are lot in the SIP markets, http://audiocodes.com , mediatrix, Pulver's Phone patch ( http://pulverinnovations.com ) etc., . If you have have with a PC you can build with a asterisk http://www.asterisk.org with a lot of other excellent features.
Best Regards, Kannaiyan
----- Original Message ----- From: "Matthew Moyle-Croft" mmc@mmc.com.au To: serusers@lists.iptel.org Sent: Sunday, December 28, 2003 7:44 AM Subject: [Serusers] SER outbound routing?
Hi,
I have a few questions about SIP and SER - feel free to blast me if they've been asked and answered before - I have tried to find my answers. I'm fairly new to SIP but not to VOIP (I'm sorry, most of my life is spent with CCM). I've played with SIP a bit but not really indepth.
The Scenario:
I have a few SIP phones at home (mostly Cisco 7940s and ATAs etc) and I
want
to build a residential gateway that will allow me to do the following in terms of "external" stuff:
Route outgoing calls to particular proxies that require (usually) digest authentication (eg. iconnecthere for international dialing, fwd, etc) -
the
thing I don't get is the authentication side of things - ie. the phone
won't
know it needs to authenticate so the SIP proxy must provide this ...
"Register" with external proxies so that (eg. FWD and iptel.org ) and so that it knows to send calls to my FWD number to my proxy server so that my proxy can route to my internal phones and/or send the
call
on to whereever I may be.
I've read through the SER documentation and I can see how to rewrite URIs but I was confused about how digest auth works with that.
Can I actually do the SER registering with other proxies? I realize this really isn't the role of a SIP server. Is there a better way of doing
this?
Have I really just missed the point somewhere along the line? (I'm quite prepared to accept that I may have ..)
I've had a play with getting Asterisk to do this and got it to register
etc,
but got a bit stuck with the whole media/codec side of things (and
basically
gave up prematurely!) I just wanted to do some SIP things!
My idea with doing these things is to see if I can figure out a bit of a "packaged" up version of SER for those of use who want to integrate things like FWD/iptel.org etc into our "normal" telephony environment at home. (Anyone know what the easiest way of getting an FXO port at home is?)
-- Matthew -- Matthew@Moyle-Croft.com | mmc@mmc.com.au | mmc@206gti.net http://www.Moyle-Croft.com | http://www.mmc.com.au | http://206gti.net
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
At 09:05 AM 12/28/2003, Kannaiyan Natesan wrote:
Hi Mathew,
I found your questions interesting. I have following suggestions and you can try that and let us know if that works.
You might register to other servers might be in this way.
.....
if( method="REGISTER" ) { # do authentication and save location here # plus append a leg
rewriteuri("sip:username:password@iptel.org"); append_branch("sip:username:password@fwd.pulver.com"); sl_send_reply("200","OK"); # not sure whether "200" really forwards
the method break;
}
This does not do anything -- it sends a 200 for REGISTERs without doing anything useful.
-jiri
Can you guide how to register to other proxy servers with SER?
Kannaiyan
----- Original Message ----- From: "Jiri Kuthan" jiri@iptel.org To: "Kannaiyan Natesan" nkans@lycos.co.uk; "Matthew Moyle-Croft" mmc@mmc.com.au; serusers@lists.iptel.org Sent: Monday, December 29, 2003 1:38 PM Subject: Re: [Serusers] SER outbound routing?
At 09:05 AM 12/28/2003, Kannaiyan Natesan wrote:
Hi Mathew,
I found your questions interesting. I have following suggestions and you can try that and let us know if
that
works.
You might register to other servers might be in this way.
.....
if( method="REGISTER" ) { # do authentication and save location here # plus append a leg
rewriteuri("sip:username:password@iptel.org"); append_branch("sip:username:password@fwd.pulver.com"); sl_send_reply("200","OK"); # not sure whether "200" really forwards
the method break;
}
This does not do anything -- it sends a 200 for REGISTERs without doing anything useful.
-jiri
if you are interested in using multiple services, purchase a phone which is able to do so.
-jiri
At 03:02 PM 12/29/2003, Kannaiyan Natesan wrote:
Can you guide how to register to other proxy servers with SER?
Kannaiyan
----- Original Message ----- From: "Jiri Kuthan" jiri@iptel.org To: "Kannaiyan Natesan" nkans@lycos.co.uk; "Matthew Moyle-Croft" mmc@mmc.com.au; serusers@lists.iptel.org Sent: Monday, December 29, 2003 1:38 PM Subject: Re: [Serusers] SER outbound routing?
At 09:05 AM 12/28/2003, Kannaiyan Natesan wrote:
Hi Mathew,
I found your questions interesting. I have following suggestions and you can try that and let us know if
that
works.
You might register to other servers might be in this way.
.....
if( method="REGISTER" ) { # do authentication and save location here # plus append a leg
rewriteuri("sip:username:password@iptel.org"); append_branch("sip:username:password@fwd.pulver.com"); sl_send_reply("200","OK"); # not sure whether "200" really forwards
the method break;
}
This does not do anything -- it sends a 200 for REGISTERs without doing anything useful.
-jiri
-- Jiri Kuthan http://iptel.org/~jiri/
That is not possible, mainly because SER can't respond to digest challenges.
Jan.
On 29-12 14:02, Kannaiyan Natesan wrote:
Can you guide how to register to other proxy servers with SER?
Kannaiyan
----- Original Message ----- From: "Jiri Kuthan" jiri@iptel.org To: "Kannaiyan Natesan" nkans@lycos.co.uk; "Matthew Moyle-Croft" mmc@mmc.com.au; serusers@lists.iptel.org Sent: Monday, December 29, 2003 1:38 PM Subject: Re: [Serusers] SER outbound routing?
At 09:05 AM 12/28/2003, Kannaiyan Natesan wrote:
Hi Mathew,
I found your questions interesting. I have following suggestions and you can try that and let us know if
that
works.
You might register to other servers might be in this way.
.....
if( method="REGISTER" ) { # do authentication and save location here # plus append a leg
rewriteuri("sip:username:password@iptel.org"); append_branch("sip:username:password@fwd.pulver.com"); sl_send_reply("200","OK"); # not sure whether "200" really forwards
the method break;
}
This does not do anything -- it sends a 200 for REGISTERs without doing anything useful.
-jiri
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Matthew Moyle-Croft wrote:
Hi,
I have a few questions about SIP and SER - feel free to blast me if they've been asked and answered before - I have tried to find my answers. I'm fairly new to SIP but not to VOIP (I'm sorry, most of my life is spent with CCM). I've played with SIP a bit but not really indepth.
The Scenario:
I have a few SIP phones at home (mostly Cisco 7940s and ATAs etc) and I want to build a residential gateway that will allow me to do the following in terms of "external" stuff:
Route outgoing calls to particular proxies that require (usually) digest authentication (eg. iconnecthere for international dialing, fwd, etc) - the thing I don't get is the authentication side of things - ie. the phone won't know it needs to authenticate so the SIP proxy must provide this ...
Look here for a post from Jiri explaining why SER won't register with other proxies. The problem is indeed the authentication part: http://lists.iptel.org/pipermail/serusers/2003-January/000261.html
Kind regards,
Geert Nijpels
i have submitted patches to ser permissions that allow you to define trusted peers. ask your provider to switch to ser and use that feature. then they don't need to authenticate your proxy.
-- juha
Juha Heinanen wrote:
i have submitted patches to ser permissions that allow you to define trusted peers. ask your provider to switch to ser and use that feature. then they don't need to authenticate your proxy.
-- juha
So the provider has to use ser, has to use the "permissions" module and has to put an entry in the file "permissions.allow". I think it's a nice idea, but I doubt a provider like Vonage will do this.
I can think of the following solutions: - Buy a phone with multiple lines and program the credentials in the phone - Use Asterisk next to ser and have a prefix routed to asterisk. Configure asterisk to register with the proxy.
I'm not sure, but maybe when a b2bua module is made ser could act as a UAC and register with other proxies.
Kind regards,
Geert Nijpels
I can think of the following solutions:
- Buy a phone with multiple lines and program the credentials in the phone
I've got a 7940 with 2 -> but I need about 4 (no I don't have a 7960 hanging around). This isn't a scalable solution, especially when you don't want to have to explain to the wife how to dial ...
- Use Asterisk next to ser and have a prefix routed to asterisk.
Configure asterisk to register with the proxy.
Yeah, I've tried Asterisk - I got it to register and thought you beauty, it'll solve my problems, but it just got in the way trying to do all the media recoding etc - I want to use G.729 but it won't let me - some calls worked, some wouldn't - very ugly.
I'm not sure, but maybe when a b2bua module is made ser could act as a UAC and register with other proxies.
I think this is quite important - running a SIP gateway for residential use is going to be more and more common. I'd really like to see this bit happen so that a Linux Gateway can be setup (maybe a modified version of one of the firewall/mail server distribution ones) so that anyone can get a basic machine, drop it on the network, plug some phones in and get in/out dial working quickly.
Kind regards,
Geert Nijpels