<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.2">
</HEAD>
<BODY>
Hi folks,<BR>
<BR>
Anyone already seen any problem like this ?<BR>
<BR>
Thanks.<BR>
<BR>
Fred<BR>
<BR>
Em Qua, 2007-01-03 &#224;s 16:24 -0300, Frederico Madeira escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi,</FONT>

<FONT COLOR="#000000">I'm a voip service provider and i'm setting up a asterisk box to</FONT>
<FONT COLOR="#000000">register around 100 lines from my  central softswitch. This asterisk</FONT>
<FONT COLOR="#000000">box will be placed inside a customer and has a digium card to be</FONT>
<FONT COLOR="#000000">interconected with customer's pabx.</FONT>

<FONT COLOR="#000000">My problem is that when asterisk send register message, my softswitch</FONT>
<FONT COLOR="#000000">return with sip 401 and asterisk should send a register message with</FONT>
<FONT COLOR="#000000">Authorization in header.</FONT>

<FONT COLOR="#000000">Only after 10, or 15 or 30 or 43 or 2 messages 401 asterisk start to</FONT>
<FONT COLOR="#000000">send Authorization in header. This is a random time, don't follow any</FONT>
<FONT COLOR="#000000">rule.</FONT>

<FONT COLOR="#000000">This problem cause lines disregistration some times during a day.</FONT>

<FONT COLOR="#000000">How can i solve this problem ?</FONT>

<FONT COLOR="#000000">I use this parameters to register an account:</FONT>

<FONT COLOR="#000000">register=&gt;number:<A HREF="mailto:pass@sip.provider.com">pass@sip.provider.com</A>/number</FONT>
<FONT COLOR="#000000">[fonar-number]</FONT>
<FONT COLOR="#000000">type=friend</FONT>
<FONT COLOR="#000000">context=default</FONT>
<FONT COLOR="#000000">secret=pass</FONT>
<FONT COLOR="#000000">username=number</FONT>
<FONT COLOR="#000000">host=sip.provider.com</FONT>
<FONT COLOR="#000000">fromuser=number</FONT>
<FONT COLOR="#000000">fromdomain=sip.provider.com</FONT>
<FONT COLOR="#000000">;nat=yes</FONT>
<FONT COLOR="#000000">;insecure=very</FONT>
<FONT COLOR="#000000">canreinvite=no</FONT>
<FONT COLOR="#000000">;qualify=10000</FONT>
<FONT COLOR="#000000">dtmfmode=rfc2833</FONT>

<FONT COLOR="#000000">Thanks.</FONT>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>