PDA

Voir la version complète : probleme de transfert d'appel vers No externe.



jll518
12/07/2012, 10h50
Bonjour tout le monde,

J'ai un probleme de transfert d'appel. Sur un poste, j'ai fait un *72 pour transfert tout d'appel arrivant sur ce poste(associé a un numero externe 10 chiffres ) sur un mobile. Le probleme est quand j'appel ce numero avec un telephone 09xxxxxxxxx, le transfert se fait sans souci, mais si je refait la même chose avec telephone portable ou fixe 01xxxxxxxxx, j'ai un ton bussy ? je pense avoir un probleme de dialplan , qui est 0. alors, quelqu'un a une idée de mon probleme ?

Merci d'avance !

Reaper
12/07/2012, 14h33
Bonjour, il faut commencer par nous montrer les traces d'asterisk.

jll518
12/07/2012, 17h42
Bonjour,

La trace est tres grand : le premier passe bien appelé avec un fixe 09, la deuxieme ne passe pas , bussy ton, appelé avec un mobile 06. Les deux appele doivent etre trnasferer sur un 076.

Voici le premier :
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [s@custom-get-did-ovh:1] Goto("SIP/forfait-mobile-00000169", "from-trunk,0155090000,1") in new stack
-- Goto (from-trunk,0155090000,1)
-- Executing [0155090000@from-trunk:1] Set("SIP/forfait-mobile-00000169", "__FROM_DID=0155090000") in new stack
-- Executing [0155090000@from-trunk:2] Gosub("SIP/forfait-mobile-00000169", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/forfait-mobile-00000169", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/forfait-mobile-00000169", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/forfait-mobile-00000169", "") in new stack
-- Executing [0155090000@from-trunk:3] ExecIf("SIP/forfait-mobile-00000169", "0 ?Set(CALLERID(name)=anonymous)") in new stack
-- Executing [0155090000@from-trunk:4] Set("SIP/forfait-mobile-00000169", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [0155090000@from-trunk:5] Set("SIP/forfait-mobile-00000169", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [0155090000@from-trunk:6] Goto("SIP/forfait-mobile-00000169", "from-did-direct,201,1") in new stack
-- Goto (from-did-direct,201,1)
-- Executing [201@from-did-direct:1] Macro("SIP/forfait-mobile-00000169", "exten-vm,novm,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/forfait-mobile-00000169", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/forfait-mobile-00000169", "AMPUSER=anonymous") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/forfait-mobile-00000169", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/forfait-mobile-00000169", "1?Set(REALCALLERIDNUM=anonymous)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/forfait-mobile-00000169", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/forfait-mobile-00000169", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/forfait-mobile-00000169", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/forfait-mobile-00000169", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/forfait-mobile-00000169", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/forfait-mobile-00000169", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/forfait-mobile-00000169", "CALLERID(number)=anonymous") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/forfait-mobile-00000169", "CALLERID(name)=Anonymous") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/forfait-mobile-00000169", "Using CallerID "Anonymous" <anonymous>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/forfait-mobile-00000169", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/forfait-mobile-00000169", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/forfait-mobile-00000169", "__EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/forfait-mobile-00000169", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/forfait-mobile-00000169", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/forfait-mobile-00000169", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/forfait-mobile-00000169", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/forfait-mobile-00000169", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/forfait-mobile-00000169", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/forfait-mobile-00000169", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/forfait-mobile-00000169", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/forfait-mobile-00000169", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/forfait-mobile-00000169", "dial-one,"",tr,201") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/forfait-mobile-00000169", "DEXTEN=201") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/forfait-mobile-00000169", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/forfait-mobile-00000169", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/forfait-mobile-00000169", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/forfait-mobile-00000169", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/forfait-mobile-00000169", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/forfait-mobile-00000169", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/forfait-mobile-00000169", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/forfait-mobile-00000169", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/forfait-mobile-00000169", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/forfait-mobile-00000169", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/forfait-mobile-00000169", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/forfait-mobile-00000169", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/forfait-mobile-00000169", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/forfait-mobile-00000169", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/forfait-mobile-00000169", "DEVICES=201") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/forfait-mobile-00000169", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/forfait-mobile-00000169", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/forfait-mobile-00000169", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/forfait-mobile-00000169", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/forfait-mobile-00000169", "THISDIAL=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/forfait-mobile-00000169", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/forfait-mobile-00000169", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/forfait-mobile-00000169", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/forfait-mobile-00000169", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/forfait-mobile-00000169", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/forfait-mobile-00000169", "THISPART2=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/forfait-mobile-00000169", "0?Set(THISPART2=DAHDI/201)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/forfait-mobile-00000169", "NEWDIAL=SIP/201&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/forfait-mobile-00000169", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/forfait-mobile-00000169", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/forfait-mobile-00000169", "THISDIAL=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/forfait-mobile-00000169", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/forfait-mobile-00000169", "DSTRING=SIP/201&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/forfait-mobile-00000169", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/forfait-mobile-00000169", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/forfait-mobile-00000169", "DSTRING=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/forfait-mobile-00000169", "") in new stack

jll518
12/07/2012, 17h43
suite de 1er trace :
-- Executing [s@macro-dial-one:27] GotoIf("SIP/forfait-mobile-00000169", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/forfait-mobile-00000169", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/forfait-mobile-00000169", "0?ctset,1:ctclear,1") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("SIP/forfait-mobile-00000169", "Deleting: CALLTRACE/201 0625701455") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("SIP/forfait-mobile-00000169", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/forfait-mobile-00000169", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/forfait-mobile-00000169", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/forfait-mobile-00000169", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/forfait-mobile-00000169", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/forfait-mobile-00000169", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/forfait-mobile-00000169", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/forfait-mobile-00000169", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/forfait-mobile-00000169", "SIP/201,"",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/201
== Extension Changed 201[ext-local] new state Ringing for Notify User 204
-- Got SIP response 302 "Moved Temporarily" back from 109.190.33.253:56963
-- Now forwarding SIP/forfait-mobile-00000169 to 'Local/0760399999@from-internal' (thanks to SIP/201-0000016a)
== Extension Changed 201[ext-local] new state Idle for Notify User 204
-- Executing [0760399999@from-internal:1] Macro("Local/0760399999@from-internal-d155;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/0760399999@from-internal-d155;2", "AMPUSER=anonymous") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/0760399999@from-internal-d155;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/0760399999@from-internal-d155;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("Local/0760399999@from-internal-d155;2", "CALLERID(number)=anonymous") in new stack
-- Executing [s@macro-user-callerid:20] Set("Local/0760399999@from-internal-d155;2", "CALLERID(name)=Anonymous") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("Local/0760399999@from-internal-d155;2", "Using CallerID "Anonymous" <anonymous>") in new stack
-- Executing [0760399999@from-internal:2] NoOp("Local/0760399999@from-internal-d155;2", "Calling Out Route: france-mobile") in new stack
-- Executing [0760399999@from-internal:3] Set("Local/0760399999@from-internal-d155;2", "MOHCLASS=default") in new stack
-- Executing [0760399999@from-internal:4] Set("Local/0760399999@from-internal-d155;2", "_NODEST=") in new stack
-- Executing [0760399999@from-internal:5] Macro("Local/0760399999@from-internal-d155;2", "record-enable,anonymous,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/0760399999@from-internal-d155;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/0760399999@from-internal-d155;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/0760399999@from-internal-d155;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/0760399999@from-internal-d155;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/0760399999@from-internal-d155;2", "1?MacroExit()") in new stack
-- Executing [0760399999@from-internal:6] Macro("Local/0760399999@from-internal-d155;2", "dialout-trunk,11,0760399999,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/0760399999@from-internal-d155;2", "DIAL_TRUNK=11") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/0760399999@from-internal-d155;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/0760399999@from-internal-d155;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/0760399999@from-internal-d155;2", "DIAL_NUMBER=0760399999") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/0760399999@from-internal-d155;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/0760399999@from-internal-d155;2", "OUTBOUND_GROUP=OUT_11") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/0760399999@from-internal-d155;2", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("Local/0760399999@from-internal-d155;2", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/0760399999@from-internal-d155;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/0760399999@from-internal-d155;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/0760399999@from-internal-d155;2", "outbound-callerid,11") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/0760399999@from-internal-d155;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/0760399999@from-internal-d155;2", "1?Set(REALCALLERIDNUM=anonymous)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/0760399999@from-internal-d155;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/0760399999@from-internal-d155;2", "USEROUTCID=anonymous") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/0760399999@from-internal-d155;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/0760399999@from-internal-d155;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/0760399999@from-internal-d155;2", "TRUNKOUTCID=0155091525") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/0760399999@from-internal-d155;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/0760399999@from-internal-d155;2", "1?Set(CALLERID(all)=0155091525)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/0760399999@from-internal-d155;2", "1?Set(CALLERID(all)=anonymous)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/0760399999@from-internal-d155;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/0760399999@from-internal-d155;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/0760399999@from-internal-d155;2", "0?sub-flp-11,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/0760399999@from-internal-d155;2", "OUTNUM=0760399999") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/0760399999@from-internal-d155;2", "custom=SIP/forfait-mobile") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/0760399999@from-internal-d155;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/0760399999@from-internal-d155;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/0760399999@from-internal-d155;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/0760399999@from-internal-d155;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/0760399999@from-internal-d155;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/0760399999@from-internal-d155;2", "SIP/forfait-mobile/0760399999,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/forfait-mobile/0760399999
-- SIP/forfait-mobile-0000016b is ringing
-- Local/0760399999@from-internal-d155;1 is ringing
-- SIP/forfait-mobile-0000016b is making progress passing it to Local/0760399999@from-internal-d155;2
-- Local/0760399999@from-internal-d155;1 is making progress passing it to SIP/forfait-mobile-00000169
== Spawn extension (macro-dial-one, s, 37) exited non-zero on 'SIP/forfait-mobile-00000169' in macro 'dial-one'

jll518
12/07/2012, 17h48
la deuxieme trace qui donne bussy ton appelé a partir d'un mobile :
== Using SIP RTP CoS mark 5
-- Executing [s@custom-get-did-ovh:1] Goto("SIP/forfait-mobile-00000159", "from-trunk,0155090000,1") in new stack
-- Goto (from-trunk,0155090000,1)
-- Executing [0155090000@from-trunk:1] Set("SIP/forfait-mobile-00000159", "__FROM_DID=0155090000") in new stack
-- Executing [0155090000@from-trunk:2] Gosub("SIP/forfait-mobile-00000159", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/forfait-mobile-00000159", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/forfait-mobile-00000159", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/forfait-mobile-00000159", "") in new stack
-- Executing [0155090000@from-trunk:3] ExecIf("SIP/forfait-mobile-00000159", "0 ?Set(CALLERID(name)=0625709999)") in new stack
-- Executing [0155090000@from-trunk:4] Set("SIP/forfait-mobile-00000159", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [0155090000@from-trunk:5] Set("SIP/forfait-mobile-00000159", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [0155090000@from-trunk:6] Goto("SIP/forfait-mobile-00000159", "from-did-direct,201,1") in new stack
-- Goto (from-did-direct,201,1)
-- Executing [201@from-did-direct:1] Macro("SIP/forfait-mobile-00000159", "exten-vm,novm,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/forfait-mobile-00000159", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/forfait-mobile-00000159", "AMPUSER=0625709999") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/forfait-mobile-00000159", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/forfait-mobile-00000159", "1?Set(REALCALLERIDNUM=0625709999)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/forfait-mobile-00000159", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/forfait-mobile-00000159", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/forfait-mobile-00000159", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/forfait-mobile-00000159", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/forfait-mobile-00000159", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/forfait-mobile-00000159", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/forfait-mobile-00000159", "CALLERID(number)=0625709999") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/forfait-mobile-00000159", "CALLERID(name)=0625709999") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/forfait-mobile-00000159", "Using CallerID "0625709999" <0625709999>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/forfait-mobile-00000159", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/forfait-mobile-00000159", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/forfait-mobile-00000159", "__EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/forfait-mobile-00000159", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/forfait-mobile-00000159", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/forfait-mobile-00000159", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/forfait-mobile-00000159", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/forfait-mobile-00000159", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/forfait-mobile-00000159", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/forfait-mobile-00000159", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/forfait-mobile-00000159", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/forfait-mobile-00000159", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/forfait-mobile-00000159", "dial-one,"",tr,201") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/forfait-mobile-00000159", "DEXTEN=201") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/forfait-mobile-00000159", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/forfait-mobile-00000159", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/forfait-mobile-00000159", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/forfait-mobile-00000159", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/forfait-mobile-00000159", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/forfait-mobile-00000159", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/forfait-mobile-00000159", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/forfait-mobile-00000159", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/forfait-mobile-00000159", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/forfait-mobile-00000159", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/forfait-mobile-00000159", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/forfait-mobile-00000159", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/forfait-mobile-00000159", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/forfait-mobile-00000159", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/forfait-mobile-00000159", "DEVICES=201") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/forfait-mobile-00000159", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/forfait-mobile-00000159", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/forfait-mobile-00000159", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/forfait-mobile-00000159", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/forfait-mobile-00000159", "THISDIAL=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/forfait-mobile-00000159", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/forfait-mobile-00000159", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/forfait-mobile-00000159", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/forfait-mobile-00000159", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/forfait-mobile-00000159", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/forfait-mobile-00000159", "THISPART2=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/forfait-mobile-00000159", "0?Set(THISPART2=DAHDI/201)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/forfait-mobile-00000159", "NEWDIAL=SIP/201&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/forfait-mobile-00000159", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/forfait-mobile-00000159", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/forfait-mobile-00000159", "THISDIAL=SIP/201") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/forfait-mobile-00000159", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/forfait-mobile-00000159", "DSTRING=SIP/201&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/forfait-mobile-00000159", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/forfait-mobile-00000159", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/forfait-mobile-00000159", "DSTRING=SIP/201") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/forfait-mobile-00000159", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/forfait-mobile-00000159", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/forfait-mobile-00000159", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/forfait-mobile-00000159", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/forfait-mobile-00000159", "DB(CALLTRACE/201)=0625709999") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/forfait-mobile-00000159", "") in new stack

jll518
12/07/2012, 17h49
suite du deuxieme trace :
-- Executing [s@macro-dial-one:30] Set("SIP/forfait-mobile-00000159", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/forfait-mobile-00000159", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/forfait-mobile-00000159", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/forfait-mobile-00000159", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/forfait-mobile-00000159", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/forfait-mobile-00000159", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/forfait-mobile-00000159", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/forfait-mobile-00000159", "SIP/201,"",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/201
== Extension Changed 201[ext-local] new state Ringing for Notify User 204
-- Got SIP response 302 "Moved Temporarily" back from 109.190.33.253:56963
-- Now forwarding SIP/forfait-mobile-00000159 to 'Local/0760360000@from-internal' (thanks to SIP/201-0000015a)
-- Executing [0760360000@from-internal:1] Macro("Local/0760360000@from-internal-fa89;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/0760360000@from-internal-fa89;2", "AMPUSER=0625709999") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/0760360000@from-internal-fa89;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/0760360000@from-internal-fa89;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("Local/0760360000@from-internal-fa89;2", "CALLERID(number)=0625709999") in new stack
-- Executing [s@macro-user-callerid:20] Set("Local/0760360000@from-internal-fa89;2", "CALLERID(name)=0625709999") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("Local/0760360000@from-internal-fa89;2", "Using CallerID "0625709999" <0625709999>") in new stack
-- Executing [0760360000@from-internal:2] NoOp("Local/0760360000@from-internal-fa89;2", "Calling Out Route: france-mobile") in new stack
-- Executing [0760360000@from-internal:3] Set("Local/0760360000@from-internal-fa89;2", "MOHCLASS=default") in new stack
-- Executing [0760360000@from-internal:4] Set("Local/0760360000@from-internal-fa89;2", "_NODEST=") in new stack
-- Executing [0760360000@from-internal:5] Macro("Local/0760360000@from-internal-fa89;2", "record-enable,0625709999,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/0760360000@from-internal-fa89;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/0760360000@from-internal-fa89;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/0760360000@from-internal-fa89;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/0760360000@from-internal-fa89;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/0760360000@from-internal-fa89;2", "1?MacroExit()") in new stack
-- Executing [0760360000@from-internal:6] Macro("Local/0760360000@from-internal-fa89;2", "dialout-trunk,11,0760360000,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/0760360000@from-internal-fa89;2", "DIAL_TRUNK=11") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/0760360000@from-internal-fa89;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/0760360000@from-internal-fa89;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/0760360000@from-internal-fa89;2", "DIAL_NUMBER=0760360000") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/0760360000@from-internal-fa89;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/0760360000@from-internal-fa89;2", "OUTBOUND_GROUP=OUT_11") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/0760360000@from-internal-fa89;2", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("Local/0760360000@from-internal-fa89;2", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/0760360000@from-internal-fa89;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/0760360000@from-internal-fa89;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/0760360000@from-internal-fa89;2", "outbound-callerid,11") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/0760360000@from-internal-fa89;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/0760360000@from-internal-fa89;2", "1?Set(REALCALLERIDNUM=0625709999)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/0760360000@from-internal-fa89;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/0760360000@from-internal-fa89;2", "USEROUTCID=0625709999") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/0760360000@from-internal-fa89;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/0760360000@from-internal-fa89;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/0760360000@from-internal-fa89;2", "TRUNKOUTCID=0155091525") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/0760360000@from-internal-fa89;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/0760360000@from-internal-fa89;2", "1?Set(CALLERID(all)=0155091525)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/0760360000@from-internal-fa89;2", "1?Set(CALLERID(all)=0625709999)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/0760360000@from-internal-fa89;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/0760360000@from-internal-fa89;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/0760360000@from-internal-fa89;2", "0?sub-flp-11,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/0760360000@from-internal-fa89;2", "OUTNUM=0760360000") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/0760360000@from-internal-fa89;2", "custom=SIP/forfait-mobile") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/0760360000@from-internal-fa89;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/0760360000@from-internal-fa89;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/0760360000@from-internal-fa89;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/0760360000@from-internal-fa89;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/0760360000@from-internal-fa89;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/0760360000@from-internal-fa89;2", "SIP/forfait-mobile/0760360000,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/forfait-mobile/0760360000
== Extension Changed 201[ext-local] new state Idle for Notify User 204
== Everyone is busy/congested at this time (1:0/1/0)

jll518
12/07/2012, 17h50
désolé, les trace completes sont tres longs. espere que vous povez dechiffrer .

jll518
15/07/2012, 18h15
Bonjour, quelqu'un peut m'aider ? Merci d'avance !

fastm3
15/07/2012, 19h05
Juste pour info, ton call forward est gere par ton tel pas ton ipbx. Je voie une ip publique dsl ovh. Donc ton tel , probablement derriere un nat redirige vers l'ip externe. A mon avis, to asterisk est mal configuré coté réseau.
Ces 2 "erreurs" sont deja une partie du pb.
As tu setté correctement nat, externip, localnet ?

Tu essaies ensuites d'avoir 2 appels simuls sur 1 seule ligne ovh. Ovh a du mal.
Mets un answer avant de relancer un appel avec la meme ligne ovh.
Fastm3.

jll518
21/07/2012, 10h16
Bonjour, j'ai refait un autre test avec un autre provider que ovh, il y a aucune probleme, je pense que c'est ovh qui bloque le transfert d'appel, limite l'utilisation de leur forfait .

fastm3
21/07/2012, 10h51
As tu bien une ligne "pro" avec 2 appels simultanées ?
Si oui , tu peux le faire mais mets un answer dans ton contexte d'entree.
Regarde les archives, j'ai du deja indiqué comment faire ca si tu ne sais pas le faire avec freepbx.
Definition d'un contexte perso dans les params de ton trunk, definition de ce contexte dans extension_custom.conf. Ce contexte fera le answer et la redirection vers le dialplan genere de freepbx.

Ca n'est pas vraiment une limitation de OVH mais une gestion un peu space au niveau de leur pile sip je pense. Je ne peux pas faire de transfer non plus avec ovh sans un answer avant le dial sur le meme trunk.

Si tu as une ligne "perso", oui, c'est normal alors et le answer ne resoudra rien.

Fastm3.

jll518
23/07/2012, 18h29
J'ai un compte pro avec 6 appel simultanés. J'ai essaie retrouve votre archives , voir comment detourner ce probleme (limitation) de ovh. Rien que changer un autre provider, tout fonctionne bien, seuelemnt on n'est plus en appel ilimité forfaitaire. Du mal a faire pour le moment. Merci pour vos infos !

jll518
23/07/2012, 21h02
j'ai trouve votre archive:

[did-from-sip]
exten => _.,n,Answer()
exten => s,1,Goto(from-trunk,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)

est ce bien cela ?

j'ai la reponse :

-- Called SIP/forfait-mobile/062570XXXX
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] NoOp("Local/062570XXXX@from-internal-aea3;2", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack

probleme toujours pas résolu !

jll518
24/07/2012, 17h45
et j'ai testé et re-testé, avec un telephone 09XXXXXXXXX , le transfert d'appel focntionne bien, mais avec mobile ou 01.., le transfert d'appel ne se faire pas. Vous avez un idée pour changer le callerid dés l'arrive de l'appel ? pour qu'il pense que c'est un 09.

jll518
26/07/2012, 22h17
et bien, je fait un
exten => s,1,Set(CALLERID(num)=0981240000)
exten => s,n,Goto(from-trunk,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)

au debut de traitement, ca change rien. pas de solution.

fastm3
27/07/2012, 13h46
j'ai trouve votre archive:

[did-from-sip]
exten => _.,n,Answer()
exten => s,1,Goto(from-trunk,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)

est ce bien cela ?

j'ai la reponse :

-- Called SIP/forfait-mobile/062570XXXX
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] NoOp("Local/062570XXXX@from-internal-aea3;2", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack

probleme toujours pas résolu !
Le answer ne s'executera pas s'il s'agit de votre contexte sip entree.
Essayez de comprendre ce que vous ecrivez.


[did-from-sip]
exten => s,1,Answer()
exten => s,n,Goto(from-trunk,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)

Regarder la config de votre tel aussi, actuellement c'est votre tel qui prends en charge la redirection pas votre ipbx mais ca ne doit pas influer sur votre pb.
Changer le caller id n'a rien a voir.
Fastm3.

jll518
02/08/2012, 04h11
Bonjour,

Merci pour la correction. J'ai essayé aussi, cela ne change rien. Mais en rajoutant une ligne dans la définition de trunk fromuser=, le transfert fonctionne avec ovh, mais pas de son, j'ai mis nat= yes ou no, rien ne change, que peut on fait?

Merci d'avance.

jll518
02/08/2012, 08h53
je doit preciser que si l'appel provenant d'un autre provider, ls transfert fonctionne et le son aussi, seulement quand ,'appel vient de ovh, j'ai pas de son.
et voici le detail peer :

type=peer
host=sip.ovh.fr
context=custom-get-did-ovh
language=fr
insecure=very
username=0033184160000
fromdomain=sip.ovh.fr
fromuser=0033184160000
secret=secret
disallow=all
allow=alaw&ulaw
nat=yes
canreinvite=no
dtmfmode=rfc2833
restrictcid=no
amaflags=default

même type de detail peer pour l'autre provider, il fonctionne.
Voyez voir d'oû vient le probleme

jll518
02/08/2012, 17h03
Bon, j'ai trouvé la solution :

http://www.elastix.org/index.php/en/component/kunena/85-aide/101416-follow-me-vers-numero-externe--pas-de-son.html

Merci encore à tous le monde.