[asterisk-users] Error on answer a SIP 401 message

Frederico Madeira fmadeira at gmail.com
Wed Jan 3 12:24:24 MST 2007


Hi,

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

My problem is that when asterisk send register message, my softswitch
return with sip 401 and asterisk should send a register message with
Authorization in header.

Only after 10, or 15 or 30 or 43 or 2 messages 401 asterisk start to
send Authorization in header. This is a random time, don't follow any
rule.

This problem cause lines disregistration some times during a day.

How can i solve this problem ?

I use this parameters to register an account:

register=>number:pass at sip.provider.com/number
[fonar-number]
type=friend
context=default
secret=pass
username=number
host=sip.provider.com
fromuser=number
fromdomain=sip.provider.com
;nat=yes
;insecure=very
canreinvite=no
;qualify=10000
dtmfmode=rfc2833

Thanks.

-- 
Frederico Madeira
fmadeira at gmail.com
www.madeira.eng.br


More information about the asterisk-users mailing list