[Asterisk-Users] sipdiscount

adibar asterisk at linux.ch
Fri Feb 17 03:11:50 MST 2006


Hi

I hope you dont try to dial with the user "test" and
the password being also "test", that would definitly
end up in an "Unauthorized" ;-)
Don't forget the register-stuff inside sip.conf, e.g.:

register => YOURLOGIN:YOURPASSWD at sip1.sipdiscount.com

otherwise it does not work for me either ;-)

If you do a "sip show registry" you should see something
like this:

sip1.sipdiscount.com:5060       YOURLOGIN           3585 Registered

...and if you do a "sip show peers" something like this:

sipdiscount/YOURLOGIN        194.120.0.201        N      5060     OK (35 ms)

Hope that helps.

Greets
	Adibar

On Fri, Feb 17, 2006 at 10:45:57AM +0100, Alejandro Vargas wrote:
> 2006/2/8, adibar <asterisk at linux.ch>:
> > Hi
> >
> > That does the job (dialout only)
> 
> I'm trying with this configuration but I receive the same result.
> Checking with ethereal I see the answer from sipdiscount:
> 
> asterisk->sipdiscount Request: INVITE sip:<the number>@sip1.sipdiscount.com
> sipdiscount->asterisk Status: 401 Unauthorized
> 
> It seems the "fromdomain" option is not being used...
> 
> I'm using Asterisk 1.2.4 and my sip.conf (really sip_additional.conf has this).
> 
> [sipdiscount]
> username=test
> type=peer
> secret=test
> qualify=yes
> nat=yes
> host=sip1.sipdiscount.com
> fromuser=test
> fromdomain=stun.sipdiscount.com
> dtmfmode=inband
> disallow=all
> canredirect=no
> allow=gsm
> allow=ulaw
> allow=alaw
> --
> Alejandro Vargas
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> This message has been scanned and dangerous content has been removed by our
> MailScanner.  This includes all executables. If the transfer of executables
> is desired please consider to send them as a zip-file, which is allowed to pass
> the checks, but which will be scanned for viruses.
> 
> Please be sure to keep your local Antivirus up-to-date, as this message is no 
> guarantee that all viruses have been removed.
> 
> 

-- 



More information about the asterisk-users mailing list