Free Billing, Routing and Management software for Asterisk and VOIP
Home | Forums | Wiki | Manual | Open Source | Billing and BSS | Demo | Contact Us
DownLoad | Bugs | Help Wanted | Numbering Plan
  
 

OpenSer + Asterisk + Astbill

 
By eanb at Wed, 2006-05-24 15:49 | AstBill Software - General and Support

Hi all,

I'm trying to deploy a scenario where I have an OpenSer as a Sip Proxy (taking care of registrations) in front of an Asterisk + AstBilling (to handle call routing/billing/etc).

So far I've been able to use Astbill db on SER, but when I try to relay the calls from SER to Asterisk I always get the following error:

SIP/2.0 407 Proxy Authentication Required

I guess I must do some extra config on Asterisk/Astbill, but can't figure out exactly what...

Any suggestions?

Thanks

OpenSer + Asterisk + Astbill

By aster on Thu, 2006-05-25 03:33

You can either do second auth against Asterisk or just let Asterisk skip the auth function.
In case of second one, you are creating a hole for some one to use your Asterisk and dial out without auth. To not to authenticate again, you can change your asterisk's sip.conf settings of autocreat = yes or some like that.

» login or register to post comments

How can I force a second

By eanb on Thu, 2006-05-25 09:34

How can I force a second auth?

» login or register to post comments

Use Astaccount

By aster on Fri, 2006-05-26 03:37

Use astaccout table as your users table and point both OpenSER and asterisk to it. When some one calls voip-voip which will pass through OpenSER (if you setup that way). If the same person wants to call PSTN, then it will get auth via Asterisk Realtime engine.

» login or register to post comments

I'm using astaccount table

By eanb on Fri, 2006-05-26 09:24

I'm using astaccount table and I can even register an UA both on openser and on asterisk...
The problem is when someone registered on the openser wants to call PSTN and openser relays the call to asterisk... Asterisk answers with a Proxy Authentication Required message, and I can't figure out how to provide that auth...

» login or register to post comments

Post your openser.cfg

By aster on Fri, 2006-05-26 20:37

Can you post your openser.cfg and also sip.conf file

» login or register to post comments

Problem solved

By eanb on Mon, 2006-05-29 09:32

I found the problem:

In the invite method, before relaying to asterisk, openser was performing digest auth... for some reason it started working when I remove the auth and let asterisk deal with it...

Thanks for your help

» login or register to post comments

Help need i have same problem

By charlybk on Fri, 2006-07-21 20:10

I have the same problem. To avoid Nat problem, i decide to use
openser + asterisk + astbill. I have a DSL router with 1 public address. Openser + asterisk are behind NAT. Please can u send to me your opeser and asterisk config files?
regards

» login or register to post comments

NAt issues

By Skippy on Tue, 2006-07-25 01:05

If you are using openser as a SIP proxy and asterisk for pstn and billing please confirm

Is Ser and Asterisk on the same server?
Are you using MediaProxy?

» login or register to post comments

You will still have nat

By anil on Tue, 2006-07-25 00:14

You will still have nat problems in your above setup. But you can get around them with proper configuration. each configuration setup is unique to each setup.

Anil

» login or register to post comments
  
BerliOS Developer LogoSourceForge.net Logo Drupal.org Logo