Hello ,
i trie to make a trunk between xivo and a asterisk server . But a i have some errors message
when the user’s asterisk call xivo .
xivo :
WARNING[3267][C-00000004]: chan_sip.c:16444 check_auth: username mismatch, have , digest has
[Mar 15 07:51:59] NOTICE[3267][C-00000004]: chan_sip.c:25402 handle_request_invite: Failed to authenticate device "Albert DUPONT" ;tag=as73d3ffb7
asterisk :
-Using SIP RTP CoS mark 5
— Executing [7000@work:1] Dial("SIP/6002-0000000a", "SIP/xivo/{EXTEN},30,tr") in new stack
== Using SIP RTP CoS mark 5
— Called SIP/xivo/{EXTEN}
[May 5 07:09:11] WARNING[2348]: chan_sip.c:21057 handle_response_invite: Received response: "Forbidden" from ‘"Albert DUPONT" ;tag=as647d82a7′
== Everyone is busy/congested at this time (1:0/0/1)
— Auto fallthrough, channel ‘SIP/6002-0000000a’ status is ‘CHANUNAVAIL’
My configuration:
*asterisk
[code]extension.conf
[work]
exten => _6XXX,1,Dial(SIP/${EXTEN},20)
exten => _6XXX,2,Hangup()
include => default
[default]
exten => _7XXX,1,Dial(SIP/xivo/{EXTEN},30,tr)
sip.conf
[general]
register => asterisk:acmilan@192.168.1.156/asterisk
users.conf
[6001]
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
fullname = John DOE
username = jdoe
secret=secret
context = work
[6002]
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
fullname = Albert DUPONT
username = adupont
secret=secret
context = work
fromuser = adupont
[xivo]
username= xivo
type=friend
secret=acmilan
context = default
trunk = yes
host=dynamic
canreinvite=yes
insecure =very
qualify = yes
[/code]
*xivo
[asterisk]
username = asterisk
type=friend
secret = acmilan
context = default
host = dynamic
trunk = yes
insecure =port,invite
thank’s you for your suggestion and excuse me my english is bad i’m a french