Voir la version complète : [RESOLU]problème test gotoif
Darkflash
07/06/2011, 11h17
Bon c'est certainement pas grand chose mais pourquoi ce test ne marche pas ?
Une erreur de syntaxe ?
exten => s,n,gotoif($[${NUM_APPELE}='0254122356']?entreprise,s,1)
merci !
cedricscha
07/06/2011, 11h22
Bon c'est certainement pas grand chose mais pourquoi ce test ne marche pas ?
Une erreur de syntaxe ?
exten => s,n,gotoif($[${NUM_APPELE}='0254122356']?entreprise,s,1)
merci !
as-tu tester avec des
"
je ferais meme :
exten => s,n,gotoif($["${NUM_APPELE}" = "0254122356"]?entreprise,s,1)
Darkflash
07/06/2011, 11h42
Voilà ce que j'obtient dans la cli :
-- Executing [s@appels_entrants:2] GotoIf("SIP/ovh-trunk-00000000", "0?entreprise,s,1") in new stack
Bizarre non le test ??
Correction ca marche !!!! :)
Merci cédric :)
cedricscha
07/06/2011, 13h26
Merci cédric :)
De Rien
Darkflash
07/06/2011, 13h33
Résolu.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions, Inc. Tous droits réservés