[SOLVED] SIP trunk : error wrong password

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

[SOLVED] SIP trunk : error wrong password

Postby willbordoni » 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:
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.
Last edited by willbordoni on Tue Apr 07, 2009 2:42 am, edited 1 time in total.
willbordoni
 
Posts: 20
Joined: Wed Mar 25, 2009 5:23 am

Postby willbordoni » Tue Apr 07, 2009 2:41 am

Ok i solved the problem on my own.

My extensions.conf was bad.
I added the prefix "cc" two times instead of one (one inside the trunk, and one after beeing received in the other server)

[SOLVED]
willbordoni
 
Posts: 20
Joined: Wed Mar 25, 2009 5:23 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 34 guests