How to get return codes?


#1

Hi,

while writing my extensions.conf I stumbled into the problem how to get a return value.

When I try

exten => fax,1,Set(FAXSTATUS=${rxfax(${FAXFILE})})

I get the error message:

---------------------------------------------------- snip ----------------------------------------------------

May 26 23:58:06 ERROR[13493]: pbx.c:1380 ast_func_read: Function rxfax not registered
– Executing Set(“SIP/1000-17bd”, “FAXSTATUS=0”) in new stack

--------------------------------------------------- snap ---------------------------------------------------

Thanx for any hint

Renne