AW: [Asterisk-Dev] Gotoif comparison

Thomas Haeger thomas.haeger at beronet.com
Wed Aug 27 11:58:21 MST 2003


John,

i'am not sure, but i think you must give the context name like:

exten => s,3,GotoIf($[${orig}=${cf}]?contextX|5:contextX|4)

Regards,

Thomas.

-----Ursprungliche Nachricht-----
Von: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com]Im Auftrag von John Todd
Gesendet: Mittwoch, 27. August 2003 20:48
An: asterisk-dev at lists.digium.com
Betreff: [Asterisk-Dev] Gotoif comparison


I am trying to compare two values using the GotoIf command
but is it always giving me the true condition. Can anybody correct what I 
am doing wrong?

exten => s,3,GotoIf($[${orig}=${cf}]?5:4)

thanks,
JT

_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list