Montre ta config, ET les traces d'un appel.
Pour lmes traces, tu tappes asterisk -rvvvvvvvv pour être en mode CLI
Tu appelles, tu vas donc avoir tt ce qui se passe dans la CLI
Montre ta config, ET les traces d'un appel.
Pour lmes traces, tu tappes asterisk -rvvvvvvvv pour être en mode CLI
Tu appelles, tu vas donc avoir tt ce qui se passe dans la CLI
-12-05 09:10:44] WARNING[29046][C-0000000d]: app_dial.c:2525 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:25] NoOp("SIP/1-00000011", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
-- Executing [s@macro-dialout-trunk:26] GotoIf("SIP/1-00000011", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/1-00000011", "RC=20") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/1-00000011", "20,1") in new stack
-- Goto (macro-dialout-trunk,20,1)
-- Executing [20@macro-dialout-trunk:1] Goto("SIP/1-00000011", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1-00000011", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/1-00000011", "1?Set(CALLERID(number)=1)") in new stack
-- Executing [0762558979@from-internal:6] Macro("SIP/1-00000011", "outisbusy,") in new stack
[2017-12-05 09:10:44] WARNING[29046][C-0000000d]: app_macro.c:310 _macro_exec: No such context 'macro-outisbusy' for macro 'outisbusy'. Was called by 0762558979@from-internal
-- Executing [0762558979@from-internal:7] Congestion("SIP/1-00000011", "20") in new stack
[2017-12-05 09:10:44] WARNING[29046][C-0000000d]: channel.c:5005 ast_prod: Prodding channel 'SIP/1-00000011' failed
== Spawn extension (from-internal, 0762558979, 7) exited non-zero on 'SIP/1-00000011'
-- Executing [h@from-internal:1] Macro("SIP/1-00000011", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1-00000011", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/1-00000011", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("SIP/1-00000011", " monior file= ") in new stack
-- Executing [s@macro-hangupcall:5] AGI("SIP/1-00000011", "attendedtransfer-rec-restart.php,,") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
-- <SIP/1-00000011>AGI Script attendedtransfer-rec-restart.php completed, returning 0
-- Executing [s@macro-hangupcall:6] Hangup("SIP/1-00000011", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/1-00000011' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1-00000011'
appelle de l’extérieur vers poste
Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [s@from-sip-external:1] GotoIf("SIP/sip3.ovh.fr-00000016", "1?setlanguage:checkanon") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] Set("SIP/sip3.ovh.fr-00000016", "CHANNEL(language)=en") in new stack
-- Executing [s@from-sip-external:3] GotoIf("SIP/sip3.ovh.fr-00000016", "1?noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [s@from-sip-external:5] Set("SIP/sip3.ovh.fr-00000016", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2017-12-05 09:33:48.500 UTC.
-- Executing [s@from-sip-external:6] Log("SIP/sip3.ovh.fr-00000016", "WARNING,"Rejecting unknown SIP connection from 91.121.129.159"") in new stack
[2017-12-05 09:33:33] WARNING[6302][C-00000012]: Ext. s:6 @ from-sip-external: "Rejecting unknown SIP connection from 91.121.129.159"
-- Executing [s@from-sip-external:7] Answer("SIP/sip3.ovh.fr-00000016", "") in new stack
-- Executing [s@from-sip-external:8] Wait("SIP/sip3.ovh.fr-00000016", "2") in new stack
> 0x73edc178 -- Probation passed - setting RTP source address to 91.121.128.145:35180
-- Executing [s@from-sip-external:9] Playback("SIP/sip3.ovh.fr-00000016", "ss-noservice") in new stack
-- <SIP/sip3.ovh.fr-00000016> Playing 'ss-noservice.ulaw' (language 'en')
-- Executing [s@from-sip-external:10] PlayTones("SIP/sip3.ovh.fr-00000016", "congestion") in new stack
-- Executing [s@from-sip-external:11] Congestion("SIP/sip3.ovh.fr-00000016", "5") in new stack
== Spawn extension (from-sip-external, s, 11) exited non-zero on 'SIP/sip3.ovh.fr-00000016'
-- Executing [h@from-sip-external:1] Hangup("SIP/sip3.ovh.fr-00000016", "") in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/sip3.ovh.fr-00000016'
[2017-12-05 09:35:39] WARNING[1100]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in sip3.ovh.fr:5160
[2017-12-05 09:35:39] WARNING[1100]: acl.c:800 resolve_first: Unable to lookup 'sip3.ovh.fr:5160'
[2017-12-05 09:35:39] WARNING[1100]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in sip3.ovh.fr:5160
[2017-12-05 09:35:39] WARNING[1100]: acl.c:800 resolve_first: Unable to lookup 'sip3.ovh.fr:5160'
[2017-12-05 09:35:39] WARNING[1100]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in sip3.ovh.fr:5160
[2017-12-05 09:35:39] WARNING[1100]: acl.c:800 resolve_first: Unable to lookup 'sip3.ovh.fr:5160'
[2017-12-05 09:35:39] WARNING[1100]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in sip3.ovh.fr:5160
[2017-12-05 09:35:39] WARNING[1100]: acl.c:800 resolve_first: Unable to lookup 'sip3.ovh.fr:5160'
je les mis sur 5160 car le port sip du serveur et sur 5160 du coup j'aurait juste a modifier le port du registry et sa sera bon non ?
Dernière modification par jordanirc ; 05/12/2017 à 15h23.
en local oui, mais tu vas t'enregistrer chez ovh, et eux sont en 5060, a partir du moment ton tron trunk est registry n'y touche plus