[SOLVED] SIP trunk : error wrong password
Posted: Mon Apr 06, 2009 9:21 am
As mentionned in the title, I want to trunk my 2 asterisk servers but i get this error on the local server:
and this one on the remote server :
I think my configuration is OK, here it is :
sip.conf on local server:
sip.conf on remote server:
extensions.conf on local server :
extensions.conf on remote server :
phone 100 is on local server, phone 300 is on remote server
Of course both phones are on the 2 sip.conf
When make a call from 100 to 300, I get the error above.
Please help.
- Code: Select all
-- Executing Dial("SIP/cc100-09cf45e8", "sip/trunk-up/301|20|to") in new stack
-- Called trunk-up/301
Apr 6 05:11:32 WARNING[2101]: chan_sip.c:9890 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"cc100" <sip:cc100@192.168.1.2>;tag=as25cf789c'
-- SIP/trunk-up-09cf9b28 is circuit-busy
and this one on the remote server :
- Code: Select all
NOTICE[2313]: chan_sip.c:10704 handle_request_invite: Failed to authenticate user "cc100" <sip:cc100@192.168.1.2>;tag=as25cf789c
I think my configuration is OK, here it is :
sip.conf on local server:
- Code: Select all
[trunk-up]
type=peer
host=192.168.1.99
context=default
username=trunk-down
secret=test
sip.conf on remote server:
- Code: Select all
[trunk-down]
type=peer
host=192.168.1.2
username=trunk-up
context=default
secret=test
extensions.conf on local server :
- Code: Select all
exten => _3[0-5]X,1,Dial(sip/trunk-up/${EXTEN},20,to)
extensions.conf on remote server :
- Code: Select all
exten => _1[0-5]X,1,Dial(sip/trunk-down/${EXTEN},20,to)
phone 100 is on local server, phone 300 is on remote server
Of course both phones are on the 2 sip.conf
When make a call from 100 to 300, I get the error above.
Please help.