Citation Envoyé par morpheus51 Voir le message
la je capte plus rien.Ca marchais le jour ou j'ai testé et aujourdhui ca ne marche p^lus retour à zero.
J'ai un trunk en outgoing

trunk name: interne_externe
username=9999
type=peer
secret=9999
host=xx.xx.xx.xx
disallow=all
context=pvs-ipphone
canreinvite=yes
call-limit=50
allow=alaw

incomming settings
user context
username=9998
type=friend
secret=9999
fromhost=xx.xx.xx.xx&dynamic
disallow=all
context=from-pays-external
canreinvite=yes
call-limit=50
allow=alaw
insecure=port,invite

Ce trunk est parametré dans outbound routes et permet de faire des appels interne vers externe

Ensuite j'ai fais un second trunk
Trunk name :montrunk

username=9999
type=peer
secret=9999
fromhost=xx.xx.xx.xx
disallow=all
context=pvs-ipphone
canreinvite=yes
call-limit=50
allow=al
user context : 9999

username=9998
type=friend
secret=9999
fromhost=xx.xx.xx.xx&dynamic
disallow=all
context=from-pays-external
canreinvite=yes
call-limit=50
allow=alaw
insecure=port,invite
et la les appels externe vers interne ne fonctionne pas et je capte pas pourquoi
mercid e ton aide
Apres quelque modifiaction de mon trunk j'obtiens ces log suivant sur un appel entrant(les appels sortant fonctionne comme il faut)

Executing [3889@pvs-ipphone:1] ResetCDR("SIP/4PVS_Lines_Out-00000006", "") in new stack
-- Executing [3889@pvs-ipphone:2] NoCDR("SIP/4PVS_Lines_Out-00000006", "") in new stack
-- Executing [3889@pvs-ipphone:3] Progress("SIP/4PVS_Lines_Out-00000006", "") in new stack
-- Executing [3889@pvs-ipphone:4] Wait("SIP/4PVS_Lines_Out-00000006", "1") in new stack
-- Executing [3889@pvs-ipphone:5] Progress("SIP/4PVS_Lines_Out-00000006", "") in new stack
-- Executing [3889@pvs-ipphone:6] Playback("SIP/4PVS_Lines_Out-00000006", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
[May 26 13:12:12] WARNING[2073]: file.c:644 ast_openstream_full: File silence/1 does not exist in any format
[May 26 13:12:12] WARNING[2073]: file.c:950 ast_streamfile: Unable to open silence/1 (format 0x8 (alaw)): No such file or directory
[May 26 13:12:12] WARNING[2073]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/4PVS_Lines_Out-00000006 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[May 26 13:12:12] WARNING[2073]: file.c:644 ast_openstream_full: File cannot-complete-as-dialed does not exist in any format
[May 26 13:12:12] WARNING[2073]: file.c:950 ast_streamfile: Unable to open cannot-complete-as-dialed (format 0x8 (alaw)): No such file or directory
[May 26 13:12:12] WARNING[2073]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/4PVS_Lines_Out-00000006 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[May 26 13:12:12] WARNING[2073]: file.c:644 ast_openstream_full: File check-number-dial-again does not exist in any format
[May 26 13:12:12] WARNING[2073]: file.c:950 ast_streamfile: Unable to open check-number-dial-again (format 0x8 (alaw)): No such file or directory
[May 26 13:12:12] WARNING[2073]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/4PVS_Lines_Out-00000006 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
-- Executing [3889@pvs-ipphone:7] Wait("SIP/4PVS_Lines_Out-00000006", "1") in new stack
-- Executing [3889@pvs-ipphone:8] Congestion("SIP/4PVS_Lines_Out-00000006", "20") in new stack
== Spawn extension (pvs-ipphone, 3889, 8) exited non-zero on 'SIP/4PVS_Lines_Out-00000006'
-- Executing [h@pvs-ipphone:1] Hangup("SIP/4PVS_Lines_Out-00000006", "") in new stack

Quelqu'un à t il une idée?.