PDA

Voir la version complète : prob trunk



hugocholet
19/11/2010, 10h40
bonjour,
je vous contact car je possède un petit soucis avec les différent trunks. keyyo décroche parfois mais kiwak et ippi, ne décroche jamais et free fonctionne.
Existe il d'autre commande pour ce qu'il se passe? comment peut ton régler ce soucis.

sip show peers
ippi 1/hugoprod 213.215.XX.XXX N 5060 Unmonitored
ippi 2 213.215.XX.XXX N 5060 Unmonitored
keyyo in / 83.136.XX.XXX N 5060 Unmonitored
kiwak in /hugoprod 91.121.XX.XXX N 5060 Unmonitored

sip show registry
Host dnsmgr Username Refresh
freephonie.net:5060 N 095 1785 Registered
ippi.fr:5060 N hugoprod 105 Registered
voip.kiwak.net:5060 N hugoprod 105 Registered
keyyo.net:5060 N 3328 105 Registered
4 SIP registrations.

Reaper
23/11/2010, 15h41
Active la qualify=yes sur chaque peer.
Trace sip pendant appel échoué s'impose.

hugocholet
26/11/2010, 01h43
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5


voila ce qu'affiche dans la console avec commande sip show peers

hugocholet
26/11/2010, 01h51
y a t-il une solution à tous ce mic mac

hugocholet
26/11/2010, 01h59
de plus j'ai acheté une licence g729 sur de digium, croyant que ce la pouvait venir de ça, mais non merci google 10 dollars perdu.

Reaper
26/11/2010, 11h14
Trace sip pendant appel échoué s'impose.

hugocholet
26/11/2010, 21h07
comment faire cela, je suis un peu débutant.

ds3
26/11/2010, 23h36
sip set debug,

hugocholet
27/11/2010, 00h14
il ne connait pas la commande je suis avec freepbx

Comdif
27/11/2010, 00h25
sip set debug on
ou tout simplement
sip debug

mais bon déja la CLI est illisible avec Freepbx et ses 1000 macros sans debug
alors avec j'ose même pas imaginer.

hugocholet
27/11/2010, 00h42
<--- SIP read from UDP:212.27.52.5:5060 --->
SIP/2.0 501 Not Implemented Yet
Call-ID: 3fa7ac8833467dc6795049142f6bf161@192.168.1.6
CSeq: 102 OPTIONS
From: "Unknown" <sip:Unknown@192.168.1.6>;tag=as65738016
To: <sip:freephonie.net>;tag=00-30925-04424c8c-4f6124f54
Via: SIP/2.0/UDP 192.168.1.6:5060;received=62.147.138.200;rport=506 0;branch=z9hG4bK1e6e9abd
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '3fa7ac8833467dc6795049142f6bf161@192.168.1.6' Method: OPTIONS

<--- SIP read from UDP:213.215.45.230:5060 --->
OPTIONS sip:62.147.138.200:5060 SIP/2.0
Via: SIP/2.0/UDP 213.215.45.230:5060;branch=0
From: sip:pinger@ippi.fr;tag=08b218a1
To: sip:62.147.138.200:5060
Call-ID: 2e9df1e4-4540d6e4-d3a44@213.215.45.230
CSeq: 1 OPTIONS
Content-Length: 0

que veut dire tous ça ?

hugocholet
29/11/2010, 01h17
j'ai fais toute les mise à jour et c'est pareil.

ffossard
29/11/2010, 02h06
j'ai fais toute les mise à jour et c'est pareil.

Comment voulez-vous qu'on vous aide, on a aucun fichier de config (sip.conf est un minimum pour des trunks sip), et aucune trace de la CLI pendant une tentative d'appel.

Voir un essai d'appel par un compte "unknown" local ne vous dit pas où chercher ?

From: "Unknown" <sip:Unknown@192.168.1.6>;

hugocholet
29/11/2010, 12h57
comment fais ton pour avoir le contenue et accèder au sip.conf ?

le problème, c'est peut être que la config soit uknow@......

merci de votre réponse.

ffossard
29/11/2010, 13h51
Dans la rubrique "Download" du site, il y'a un livre d'Oreilly expliquant pas à pas comment se servir d'Asterisk, je vous conseille de le lire si vous voulez avancer, sans ça vous aurez des milliers de questions aussi simples que celle-ci dont la réponse est dans le livre.

hugocholet
29/11/2010, 21h35
sip_general_additional.conf

disallow=all
allow=ulaw
allow=alaw
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes

sip_additional.conf

[0285455001]
deny=0.0.0.0/0.0.0.0
secret=973500
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
[100]
deny=0.0.0.0/0.0.0.0
secret=973500
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/100
mailbox=100@device
permit=0.0.0.0/0.0.0.0
callerid=device <100>
callcounter=yes
faxdetect=no
[101]
deny=0.0.0.0/0.0.0.0
secret=973500
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/101
mailbox=101@device
permit=0.0.0.0/0.0.0.0
callerid=device <101>
callcounter=yes
faxdetect=no

[102]
deny=0.0.0.0/0.0.0.0
secret=9xxxxx
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060

[free]
username=0951147663
type=peer
secret=xxxxx
qualify=yes
host=freephonie.net
fromuser=095114xxxxx
fromdomain=freephonie.net
allow=all
context=from-trunk-sip-free

[freephonie.net]
deny=0.0.0.0/0.0.0.0
type=peer
qualify=yes
permit=212.27.52.5/255.255.255.255
host=freephonie.net
context=fromfree
allow=all

[in]
type=peer
nat=yes
host=ippi.fr
context=from_ippi
canreinvite=no

[keyyo in ]
username=332854xxxx
type=peer
secret=xxxxx
nat=yes
host=keyyo.net
canreinvite=no
context=from-trunk-sip-keyyo in

[keyyo out ]
type=user
secret=xxxx
context=from-trunk

[kiwak in ]
type=peer
host=voip.kiwak.net
username=hugoprod
secret=xxxx
nat=yes
canreinvite=no
qualify=yes
context=from-trunk-sip-kiwak in


[kiwak out ]
secret=xxxx
type=user
context=from-trunk

[out]
username=hugoprod
type=peer
secret=xxxx
nat=yes
host=ippi.fr
fromuser=hugoprod
fromdomain=ippi.fr
canreinvite=no
qualify=yes
context=from-trunk-sip-out

voila une copie de ma config

hugocholet
30/11/2010, 14h04
y a t-il une solution à mon problème ?

cedricscha
30/11/2010, 14h44
Pour commencer, mets en page ton poste avec les balises code (le # dans les outils), Ensuite, il nous faudra plus de détails pour pouvoir t'aider efficacement:

Fais un sip show registry dans ta cli, et poste le resultat ici.

Colle ici aussi ton dialplan.

et enfin colle egalement ici ce qui s'affiche lors d'un appel dans ta cli.

ffossard
30/11/2010, 14h55
y a t-il une solution à mon problème ?

Tu peux aussi t'aider de la configuration présente dans ce sujet:
http://www.asterisk-france.org/showthread.php/384-trixbo-appel-entrant-n-aboutit-pas?p=2432#post2432

hugocholet
02/12/2010, 14h09
Le dialplan je le prend Où ?



Reg.Time
freephonie.net:5060 N 0951147663 1785 Registered Thu, 02 Dec 2010 13:00:56
ippi.fr:5060 N hugoprod 105 Registered Thu, 02 Dec 2010 13:02:41
voip.kiwak.net:5060 N hugoprod 105 Registered Thu, 02 Dec 2010 13:02:41
keyyo.net:5060 N 33285455001 105 Registered Thu, 02 Dec 2010 13:02:41
4 SIP registrations.

sur la pages web au début
Statistiques FreePBX
trunks IP connectés 2
trunks IP enregistré 4

Voici un appel d'une autre ligne qui fonctionne:
") in new stack
-- Executing [s@macro-exten-vm:6] Set("Local/102@from-queue-cb88;2", "CFBEXT =") in new stack
-- Executing [s@macro-exten-vm:7] Set("Local/102@from-queue-cb88;2", "RT=""" ) in new stack
-- Executing [s@macro-exten-vm:8] Macro("Local/102@from-queue-cb88;2", "reco rd-enable,102,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/102@from-queue-cb88;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/102@from-queue-cb88;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/102@from-queue-cb88;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/102@from-queue-cb88;2" , "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("Local/102@from-queue-cb88;2" , "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/102@from-queue-cb88;2", "dial -one,,trM(auto-blkvm),102") in new stack
-- Executing [s@macro-dial-one:1] Set("Local/102@from-queue-cb88;2", "DEXTEN =102") in new stack
-- Executing [s@macro-dial-one:2] Set("Local/102@from-queue-cb88;2", "DIALST ATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("Local/102@from-queue-cb88;2", "0? screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("Local/102@from-queue-cb88;2", "0? cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("Local/102@from-queue-cb88;2", "1?s kip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("Local/102@from-queue-cb88;2", "0?n odial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("Local/102@from-queue-cb88;2", "0?c ontinue") in new stack
-- Executing [s@macro-dial-one:10] Set("Local/102@from-queue-cb88;2", "EXTHA SCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("Local/102@from-queue-cb88;2", "0? next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("Local/102@from-queue-cb88;2", "1? next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("Local/102@from-queue-cb88;2", "0? Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("Local/102@from-queue-cb88;2", "0? nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("Local/102@from-queue-cb88;2", "1 ?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("Local/102@from-queue-cb88;2", " DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("Local/102@from-queue-cb88;2", " DEVICES=102") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("Local/102@from-queue-cb88;2" , "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("Local/102@from-queue-cb88;2" , "0?Set(DEVICES=02)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("Local/102@from-queue-cb88;2", " LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("Local/102@from-queue-cb88;2", " ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("Local/102@from-queue-cb88;2", " THISDIAL=SIP/102") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("Local/102@from-queue-cb88;2 ", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/102@from-queue-cb88; 2", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("Local/102@from-queue-cb88;2", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("Local/102@from-queue-cb88;2", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("Local/102@from-queue-cb88;2", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("Local/102@from-queue-cb88;2", "THISPART2=SIP/102") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/102@from-queue-cb88;

hugocholet
02/12/2010, 14h13
DSTRING=SIP/102&") in new stack
SIPAddHeader(Alert-Info: )") in new stack
Executing [s@macro-dial-one:32] ExecIf("Local/102@from-queue-cb88;2", "0? SIPAddHeader()") in new stack
Executing [s@macro-dial-one:33] ExecIf("Local/102@from-queue-cb88;2", "1? SetMusicOnHold(Enter-HugoProd-)") in new stack
Executing [s@macro-dial-one:34] GosubIf("Local/102@from-queue-cb88;2", "0 ?qwait,1") in new stack
Executing [s@macro-dial-one:32] ExecIf("Local/0285455001@from-queue-dc6d; 2", "0?SIPAddHeader()") in new stack
Executing [s@macro-dial-one:33] ExecIf("Local/0285455001@from-queue-dc6d; 2", "1?SetMusicOnHold(Enter-HugoProd-)") in new stack
Executing [s@macro-dial-one:34] GosubIf("Local/0285455001@from-queue-dc6d ;2", "0?qwait,1") in new stack
Executing [s@macro-dial-one:35] Set("Local/0285455001@from-queue-dc6d;2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("Local/0285455001@from-queue-dc6d;2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("Local/0285455001@from-queue-dc6d;2" , "SIP/0285455001,20,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 0285455001
-- Local/0285455001@from-queue-dc6d;1 is ringing
-- Executing [s@macro-dial-one:35] Set("Local/102@from-queue-cb88;2", "__CWI GNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("Local/102@from-queue-cb88;2", "__KEE PCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("Local/102@from-queue-cb88;2", "SIP/ 102,,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:38] ExecIf("Local/102@from-queue-cb88;2", "0? Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("Local/102@from-queue-cb88;2", "0 ?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-dial-one:40] MacroExit("Local/102@from-queue-cb88;2", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("Local/102@from-queue-cb88;2", "0? exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("Local/102@from-queue-cb88;2", "SV_DI ALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("Local/102@from-queue-cb88;2", "0 ?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("Local/102@from-queue-cb88;2", "0 ?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("Local/102@from-queue-cb88;2", "DIALS TATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("Local/102@from-queue-cb88;2", "Voic email is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("Local/102@from-queue-cb88;2", "1? s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("Local/102@from-queue-cb8 8;2", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("Local/102@from-queue-c b88;2", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("Local/102@from-queu e-cb88;2", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("Local/102@from-que ue-cb88;2", "10") in new stack
-- SIP/0285455001-0000000b is ringing
-- Local/0285455001@from-queue-dc6d;1 is ringing
-- Local/102@from-queue-cb88;1 is circuit-busy
-- Nobody picked up in 1000 ms
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'Loca l/102@from-queue-cb88;2' in macro 'exten-vm'
== Spawn extension (from-internal, 102, 1) exited non-zero on 'Local/102@from- queue-cb88;2'
-- Executing [h@from-internal:1] Macro("Local/102@from-queue-cb88;2", "hangu pcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/102@from-queue-cb88;2", "1 ?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/102@from-queue-cb88;2", "1 ?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/102@from-queue-cb88;2", "1 ?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/102@from-queue-cb88;2", "" ) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/102@from -queue-cb88;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/102@from-qu eue-cb88;2'
-- Stopped music on hold on SIP/2.b2bua.sip.internal-0000000a
== Spawn extension (ext-queues, 400, 11) exited non-zero on 'SIP/2.b2bua.sip.i nternal-0000000a'
== Spawn extension (macro-dial-one, s, 37) exited non-zero on 'Local/028545500 1@from-queue-dc6d;2' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/0285455001 @from-queue-dc6d;2' in macro 'exten-vm'
== Spawn extension (from-internal, 0285455001, 2) exited non-zero on 'Local/02 85455001@from-queue-dc6d;2'
-- Executing [h@from-internal:1] Macro("Local/0285455001@from-queue-dc6d;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/0285455001@from-queue-dc6d ;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/0285455001@from-queue-dc6d ;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/0285455001@from-queue-dc6d ;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/0285455001@from-queue-dc6d ;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/02854550 01@from-queue-dc6d;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/0285455001@

hugocholet
02/12/2010, 14h23
de plus quand j'appelle avec ma ligne free , un message me dit que le numéro n'est pas attribué. alors que le numéro est bien attribué.

J'ai plus de force avant j'avais trixbox mais impossible de faire marcher free mais les autres si, mais la free fonctionne mais c'est les autres QUI NE FONCTIONNE PLUS. je suis épuisé.

ffossard
02/12/2010, 14h40
Le dialplan je le prend Où ?
...

Je répète, commencez à lire le livre d'Oreilly sur Asterisk, il est gratuit et téléchargeable sur le site de l'asso.

Votre question est la base de la base d'Asterisk, si vous ne voulez pas faire le moindre effort d'apprentissage, on ne fera pas d'effort supplémentaire pour vous aider.