C. Savinovich
2005-Sep-13 23:20 UTC
[Asterisk-Users] Anyone knows how to receive a SIP call without registering gateway?
Hello everyone, I am pulling my hair here because a carrier threw me curve early today. They want to send calls to my asterisk server using SIP. Then they said that their gateways don't have to register with my server, that all they have to do is send a prefix for validation. Whereas I can think of several ways to authenticate their incoming number string, I am only used to the orthodox SIP way which is: client registers to my proxy. Guess what, I can't find any samples on this!!, Can anyone please help?, I will probably need a sample sip.conf. and then, to make a test call, I can use another asterisk box and try asterisk to asterisk sip calls (without register) via the cli prompt. But I have no idea.... and I am intrigued. Thanks CS
BJ Weschke
2005-Sep-13 23:49 UTC
[Asterisk-Users] Anyone knows how to receive a SIP call without registering gateway?
What they're asking you to do is quite insecure to be doing over public IP. At the very least, you should confirm that there is a static IP that these calls will be coming from and only accept calls from that IP, but that's still not quite as secure as digest authentication that would be available via registration. If you know what IP the calls are coming from, you simply insert a hostXX.XX.XX.XX instead of host=dynamic in your sip.conf for that peer and calls should then come in as they did before without them having to register. If they are pre-pending digits on to the front of what you're interpreting as the dialed number/extension, you may choose to lop them off in extensions.conf, but aside from that this is fairly straight forward. On 9/14/05, C. Savinovich <c.savinovich@earthlink.net> wrote:> > > Hello everyone, I am pulling my hair here because a carrier threw me curve > early today. > > They want to send calls to my asterisk server using SIP. Then they said > that their gateways don't have to register with my server, that all they > have to do is send a prefix for validation. Whereas I can think of several > ways to authenticate their incoming number string, I am only used to the > orthodox SIP way which is: client registers to my proxy. Guess what, I can't > find any samples on this!!, Can anyone please help?, I will probably need a > sample sip.conf. and then, to make a test call, I can use another asterisk > box and try asterisk to asterisk sip calls (without register) via the cli > prompt. But I have no idea.... and I am intrigued. > > Thanks > CS > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050914/e7a54609/attachment.htm