Project

General

Profile

problème redirection ovh vers xivo

Added by nicolas fichard 10 days ago

bonjour,

je suis nouveau sur xivo et j'ai un souci avec la redirection d'appels vers mon xivo.

j'ai un xivo monté sur machine virtuelle chez moi. j'ai acheté une ligne sip toute simple chez ovh à 1.20€. je possède également chez eux un abonnement adsl avec la ligne tel incluse.

je voudrais simplement rediriger ma ligne adsl vers ma ligne sip hébergé sur mon xivo.

je précise que mon xivo fonctionne bien. j'ai paramétré 3 utilisateurs. les appels en interne fonctionnent. les appels entrants fonctionnent, les appels sortants fonctionnent.

mais lorsque je crée la redirection de ligne adsl vers sip et que j'appelle ma ligne adsl, je tombe direct sur messagerie.

j'ai ouvert un ticket chez ovh mais tout est correct de leur côté.

je ne vois pas d'où peut venir le problème.

merci de votre aide.


Replies (3)

RE: problème redirection ovh vers xivo - Added by Franck OUILLE 7 days ago

Bonjour,

Peux tu générer un appel entrant avec ton système de transfert et envoyer ton LOG d'appel (asterisk) ici stp.

Le mieux est tout de même de gérer le transfert et/ou la redirection des entrants depuis le manager d'OVH avant même que l'appel ne tombe sur ton trunk.

RE: problème redirection ovh vers xivo - Added by nicolas fichard 7 days ago

bonjour,
la redirection est paramétré via le manager ovh : ligne adsl vers ligne sip.

en pièce jointe une capture du log

le code en plus détaillé

[Mar 18 13:34:33] VERBOSE[6284][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[Mar 18 13:34:33] VERBOSE[6284][C-00000002] res_rtp_asterisk.c: 0x7f5ff4012300 -- Strict RTP learning after remote address set to: 91.121.129.142:34372
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:1] NoOp("SIP/0033972143243-00000004", "") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:2] GotoIf("SIP/0033972143243-00000004", "1?:not-sip") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:3] GotoIf("SIP/0033972143243-00000004", "1?:error-loop") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:4] Set("SIP/0033972143243-00000004", "XIVO_DID_NEXT_EXTEN=0972476005") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:5] Set("SIP/0033972143243-00000004", "XIVO_FROM_S=1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@from-extern:6] Goto("SIP/0033972143243-00000004", "from-extern,0972476005,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (from-extern,0972476005,1)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [0972476005@from-extern:1] Set("SIP/0033972143243-00000004", "XIVO_BASE_CONTEXT=from-extern") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [0972476005@from-extern:2] Set("SIP/0033972143243-00000004", "XIVO_BASE_EXTEN=0972476005") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [0972476005@from-extern:3] Gosub("SIP/0033972143243-00000004", "outcall,s,1(16,)") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:1] Set("SIP/0033972143243-00000004", "XIVO_DSTID=16") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:2] Set("SIP/0033972143243-00000004", "XIVO_PRESUBR_GLOBAL_NAME=OUTCALL") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:3] Set("SIP/0033972143243-00000004", "XIVO_SRCNUM=0643681393") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:4] Set("SIP/0033972143243-00000004", "XIVO_DSTNUM=0972476005") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:5] Set("SIP/0033972143243-00000004", "XIVO_CONTEXT=from-extern") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:6] Gosub("SIP/0033972143243-00000004", "originate-caller-id,s,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@originate-caller-id:1] GotoIf("SIP/0033972143243-00000004", "0?:name") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (originate-caller-id,s,3)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@originate-caller-id:3] GotoIf("SIP/0033972143243-00000004", "0?:fix") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (originate-caller-id,s,5)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@originate-caller-id:5] GotoIf("SIP/0033972143243-00000004", "?:end") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (originate-caller-id,s,8)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@originate-caller-id:8] Return("SIP/0033972143243-00000004", "") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:7] AGI("SIP/0033972143243-00000004", "agi://127.0.0.1/outgoing_user_set_features") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: agi://127.0.0.1/outgoing_user_set_features: AGI handler 'outgoing_user_set_features' successfully executed
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: <SIP/0033972143243-00000004>AGI Script agi://127.0.0.1/outgoing_user_set_features completed, returning 0
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:8] GotoIf("SIP/0033972143243-00000004", "0?:noredirect") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (outcall,s,11)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:11] Gosub("SIP/0033972143243-00000004", "xivo-subroutine,s,1()") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-subroutine:1] GotoIf("SIP/0033972143243-00000004", "?:nosubroutine") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (xivo-subroutine,s,4)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-subroutine:4] Return("SIP/0033972143243-00000004", "") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:12] Gosub("SIP/0033972143243-00000004", "xivo-user_rights_check,s,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-user_rights_check:1] AGI("SIP/0033972143243-00000004", "agi://127.0.0.1/user_set_call_rights") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: agi://127.0.0.1/user_set_call_rights: Checking right of user (userid:) to call number 0972476005
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: agi://127.0.0.1/user_set_call_rights: AGI handler 'user_set_call_rights' successfully executed
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: <SIP/0033972143243-00000004>AGI Script agi://127.0.0.1/user_set_call_rights completed, returning 0
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-user_rights_check:2] GotoIf("SIP/0033972143243-00000004", "ALLOW?:error,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-user_rights_check:3] GotoIf("SIP/0033972143243-00000004", "1?allow,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (xivo-user_rights_check,allow,1)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [allow@xivo-user_rights_check:1] NoOp("SIP/0033972143243-00000004", "User allowed to make call") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [allow@xivo-user_rights_check:2] Return("SIP/0033972143243-00000004", "") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:13] AGI("SIP/0033972143243-00000004", "agi://127.0.0.1/check_schedule") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: agi://127.0.0.1/check_schedule: AGI handler 'check_schedule' successfully executed
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] res_agi.c: <SIP/0033972143243-00000004>AGI Script agi://127.0.0.1/check_schedule completed, returning 0
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:14] GotoIf("SIP/0033972143243-00000004", "0?CLOSED,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:15] GotoIf("SIP/0033972143243-00000004", "?:17") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (outcall,s,17)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:17] GotoIf("SIP/0033972143243-00000004", "SIP/0033972143243?:error,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:18] Set("SIP/0033972143243-00000004", "TRUNKINDEX=0") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@outcall:19] Goto("SIP/0033972143243-00000004", "dial,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (outcall,dial,1)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:1] Set("SIP/0033972143243-00000004", "INTERFACE=SIP/0033972143243") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:2] Set("SIP/0033972143243-00000004", "TRUNKEXTEN=0972476005") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:3] Set("SIP/0033972143243-00000004", "TRUNKSUFFIX=") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:4] Gosub("SIP/0033972143243-00000004", "xivo-global-subroutine,s,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-global-subroutine:1] GotoIf("SIP/0033972143243-00000004", "1?:return") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-global-subroutine:2] GotoIf("SIP/0033972143243-00000004", "OUTCALL?:return") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-global-subroutine:3] GotoIf("SIP/0033972143243-00000004", "xivo-subrgbl-outcall?:return") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-global-subroutine:4] GotoIf("SIP/0033972143243-00000004", "0?:return") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (xivo-global-subroutine,s,6)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [s@xivo-global-subroutine:6] Return("SIP/0033972143243-00000004", "") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:5] CELGenUserEvent("SIP/0033972143243-00000004", "XIVO_OUTCALL") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:6] Set("SIP/0033972143243-00000004", "CONNECTEDLINE(num,i)=0972476005") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:7] Dial("SIP/0033972143243-00000004", "SIP/0033972143243/0972476005,,o(0972476005)") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[Mar 18 13:34:33] NOTICE[7820][C-00000002] chan_sip.c: Call to peer '0033972143243' rejected due to usage limit of 1
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] app_dial.c: Couldn't call SIP/0033972143243/0972476005
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] app_dial.c: Everyone is busy/congested at this time (0:0/0/0)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [dial@outcall:8] Goto("SIP/0033972143243-00000004", "CHANUNAVAIL,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (outcall,CHANUNAVAIL,1)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [CHANUNAVAIL@outcall:1] Goto("SIP/0033972143243-00000004", "redial,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx_builtins.c: Goto (outcall,redial,1)
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [redial@outcall:1] Set("SIP/0033972143243-00000004", "TRUNKINDEX=1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [redial@outcall:2] GotoIf("SIP/0033972143243-00000004", "?dial,1") in new stack
[Mar 18 13:34:33] VERBOSE[7820][C-00000002] pbx.c: Executing [redial@outcall:3] Playback("SIP/0033972143243-00000004", "congestion-call") in new stack
[Mar 18 13:34:34] VERBOSE[7820][C-00000002] file.c: <SIP/0033972143243-00000004> Playing 'congestion-call.slin' (language 'fr_FR')
[Mar 18 13:34:34] VERBOSE[7820][C-00000002] res_rtp_asterisk.c: 0x7f5ff4012300 -- Strict RTP switching to RTP target address 91.121.129.142:34372 as source
[Mar 18 13:34:46] VERBOSE[7815] asterisk.c: Remote UNIX connection disconnected

xivo_lundi.png View - capture log (3.11 KB)

RE: problème redirection ovh vers xivo - Added by nicolas fichard 4 days ago

edit du 21 mars :

le transfert d'appel maintenant de mon alias chez ovh en 05XXXXXXXX via un serveur vocal paramétré dans le manager ovh FONCTIONNE.
je n'y comprend plus rien.

    (1-3/3)