Page 1 of 1

SIP Error ?

PostPosted: Wed Dec 03, 2008 11:24 am
by kolucoms6
[sip]
type=peer
username=fiducia_ag
fromuser=fiducia_ag
authuser=fiducia_ag
secret=fiducia
host=207.210.xxx.126
nat=no
canreinvite=yes
insecure=very
disallow=all
allow=g729
allow=ulaw
context=default
dtmfmode=rfc2833

Above one is NOT working. Any fault ?

[ username mentioned here are NOT actual usernames ]

PostPosted: Thu Dec 04, 2008 1:41 am
by williamconley
not working? every setting in the sip.conf has a reason to be there based on something outside the sip.conf.

so: if your username does not match the username of the account trying to authenticate it won't work, same with password and everything else in there.

could you share a little more than "doesn't work"? perhaps a few lines from the CLI at the moment you try (and fail) to do whatever you're trying to do (might not hurt to use sip debug while you're at it).

PostPosted: Fri Dec 05, 2008 10:26 am
by kolucoms6
I rebooted the server and It worked out.

Thanks :-)

PostPosted: Sat Dec 06, 2008 11:32 am
by williamconley
did you remember to "reload" after you made your changes last time? when you edit configuration files in asterisk, they do not take effect until you "reload" at the asterisk CLI>

in that case, rebooting will cause a full reload.