via l interface web,
car en dur, j avais essayer au depart et il y avait une erreur sur sip.conf et extension.conf afficher sur l interface web
Version imprimable
via l interface web,
car en dur, j avais essayer au depart et il y avait une erreur sur sip.conf et extension.conf afficher sur l interface web
voila je l es mis en dur
localhost*CLI>
[2015-01-28 15:27:48] WARNING[6664][C-00000002]: app_dial.c:2431 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2015-01-28 15:27:48] WARNING[6664][C-00000002]: channel.c:4816 ast_prod: Prodding channel 'SIP/ippi-in-00000001' failed
localhost*CLI>
voila le log quand j appel de mon portable vers sip
Ok c'est bien, il faut effectivement le mettre dans l'interface web si on utilise une distribution comme elastix ( ou trixbox ), et pas en dur dans les fichier contrairement a la doc de sur le site ippi.
Tu a bien déclaré qu'un seul trunk, et un pas un trunk ippi-in et un autre ippi-out comme l'impression que me donnait ton sip show peers ?
Pour info, voici la conf que j'utilise pour un trunk ippi. Tout est déclaré sur la même page.
General Settings
Trunk name: ippi
Outgoing seetings
Trunk name ippi
Peers details:
username=username
type=peer
secret=password
qualify=yes
insecure=very
host=213.215.45.230
Incoming Settings
USER Context: 053500xxxx
USER Details:
type=user
secret=password
nat=yes
context=from-internal
canreinvite=no
Registration
username:password@ippi.fr/053500xxxx
Sinon, pour les de l'asterisk, faudrait essayer de passer en un peu plus verbeux, depuis le CLI asterisk "core set verbose 4"
alors voila,
non je n'ai mis qu un seul trunk.
J ai mis en place ta config/
#sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
1000 (Unspecified) D No No A 0 UNKNOWN
1001/1001 192.168.1.120 D No No A 5060 OK (23 ms)
1002/1002 192.168.1.121 D No No A 5060 OK (10 ms)
ippi/bsmnimes 213.215.45.230 Auto (No) No 5060 UNREACHABLE
4 sip peers [Monitored: 2 online, 2 offline Unmonitored: 0 online, 0 offline]
#core set verbose 4
Console verbose was OFF and is now 4.
le serveur est toujours connecter sur ippi
et quand j appel le num ippi, je voi bien mon tel dans les derniers appels sur ippi
mais quand je vais dans le panneau de control,
j'ai mes 2 tel aastra en orange et le sip ippi en jaune
Il n'y a plus qu'un trunk dans le sip show peers, j'aime mieux ça.
Je pense qu''il faut ajouter nat=yes dans peers details ( effectivement sur mon exemple, le serveur n'est pas derrière un nat )
voila mon trunk est passer au orange, merci
ensuite quand j appel voici les log
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [0427868376@from-trunk-sip-ippi:1] Set("SIP/ippi-00000007", "GROUP()=OUT_2") in new stack
-- Executing [0427868376@from-trunk-sip-ippi:2] Goto("SIP/ippi-00000007", "from-trunk,0427868376,1") in new stack
-- Goto (from-trunk,0427868376,1)
-- Executing [0427868376@from-trunk:1] Set("SIP/ippi-00000007", "__FROM_DID=0427868376") in new stack
-- Executing [0427868376@from-trunk:2] NoOp("SIP/ippi-00000007", "Received an unknown call with DID set to 0427868376") in new stack
-- Executing [0427868376@from-trunk:3] Goto("SIP/ippi-00000007", "s,a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("SIP/ippi-00000007", "") in new stack
-- Executing [s@from-trunk:3] Wait("SIP/ippi-00000007", "2") in new stack
> 0x2b2fcc037d40 -- Probation passed - setting RTP source address to 213.215.45.245:43568
-- Executing [s@from-trunk:4] Playback("SIP/ippi-00000007", "ss-noservice") in new stack
-- <SIP/ippi-00000007> Playing 'ss-noservice.gsm' (language 'fr')
-- Executing [s@from-trunk:5] SayAlpha("SIP/ippi-00000007", "0427868376") in new stack
-- <SIP/ippi-00000007> Playing 'digits/0.gsm' (language 'fr')
== Spawn extension (from-trunk, s, 5) exited non-zero on 'SIP/ippi-00000007'
-- Executing [h@from-trunk:1] Macro("SIP/ippi-00000007", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/ippi-00000007", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/ippi-00000007", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/ippi-00000007", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/ippi-00000007", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/ippi-00000007", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/ippi-00000007", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/ippi-00000007", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/ippi-00000007", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/ippi-00000007", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/ippi-00000007", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/ippi-00000007", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/ippi-00000007", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/ippi-00000007>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/ippi-00000007", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/ippi-00000007' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/ippi-00000007'
Y a du mieux,
Quand j appel de mon tel portable, j ai bien mon astraa qui sonne donc c cool,
quand j appel depuis l astraa vers mon tel port ca sonne occuper :-(
Ok, la on parle bien d'un appel entrant ?
042786xxxx C'est le numéro ippi ?
Dans ta route entrante tu a bien mis ce numéro dans "did number" ?
a ne pas confondre avec "callerid number"
Ok du coup quels sont les messages lors d'un appel sortant. Tu as bien un forfait ippi payant qui puise faire des appels sortants ?