j'ai deux serveurs vicidial et j'ai creé un trunk sip entre ces deux serveurs mais j'arrive pas à effectier un appel entre les deux serveur via ce trunk sip et ci dessous la configuration des deux serveurs:
serveur 1:
Carrier ID: VICITRUNK
Carrier Name: VICITRUNK TEST
register => vicitrunk:VicT1234@192.168.1.a
[vicitrunk]
type=friend
disallow=all
allow=ulaw
allow=alaw
username=vicitrunk
secret=VicT1234
host=dynamic
dtmfmode=inband
qualify=yes
context=trunkinbound
insecure=very
permit=0.0.0.0/0.0.0.0
Protocol: SIP
Globals String: TRUNK = SIP/vicitrunk
exten => _9XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XX.,2,Dial(${TRUNK}/${EXTEN:1},55,tTo)
exten => _9XX.,3,Hangup
serveur 2:
Carrier ID: VICITRUNK
Carrier Name: VICITRUNK TEST
register => vicitrunk:VicT1234@192.168.1.b
[vicitrunk]
type=friend
disallow=all
allow=ulaw
allow=alaw
username=vicitrunk
secret=VicT1234
host=dynamic
dtmfmode=inband
qualify=yes
context=trunkinbound
insecure=very
permit=0.0.0.0/0.0.0.0
Protocol: SIP
Globals String: TRUNK = SIP/vicitrunk
exten => _9XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XX.,2,Dial(${TRUNK}/${EXTEN:1},55,tTo)
exten => _9XX.,3,Hangup
les deux trunk sont bien enregistrés.
compte SIP 101 sur serveur 1
compte sip 160 sur serveur 2
lorsque je fait un appel de 106(serveur 2 au serveur 1) au 101 j'ai les messages suivant sur la consol de deux serveur asterisk:
###serveur 2:
--executing AGI("SIP/cc160-087c3598","agi://127.0.0.1:4577/call_log") in new stack
--Called vicitrunk/101
--SIP/vicitrunk-087cb6f8 answered SIP/cc160-087c3598
==Spawn extension (default, 9101, 2) exited non-zero on 'SIP/cc160-087c3598'
--Executing DeadAGI("SIP/cc160-087c3598","agi//127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----6") in new stack
--AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---8-----6 completes, returning 0
###serveur 1:
WARNING[5278]: channel.c:780 channel_find_locked: Avoided initial deadlock for '0xb6e27d30', 9 retries!
--Executing AGI("SIP/vicitrunk-b6e01f00","agi-DID_route.agi") in new stack
--Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
--AGI Script agi-DID_route.agi completed, returning 0
--Executing Wait("SIP/vicitrunk-b6e01f00", "2") in new stack
--Executing Answer("SIP/vicitrunk-b6e01f00", "") in new stack
--Executing Playback("SIP/vicitrunk-b6e01f00", "ss-noservice") in new stack
--Playing 'ss-noservice' (language 'fr')
--Executing Playback("SIP/vicitrunk-b6e01f00", "vm-goodbye") in new stack
--Playing 'vm-goodbye' (language 'fr')
--Executing Hangup("SIP/vicitrunk-b6e01f00", "") in new stack
SVP j'ai beoin d'aide j'ai 1 mois et j'arrive pas à faire un appel entre les deux serveurs merciiiiii