[Asterisk-Users] Variables and status problems in AGI application

asterisklists at adontendev.net asterisklists at adontendev.net
Mon Jun 6 08:02:50 MST 2005



I am running a prepaid application with Asterisk. When authentication has to be
done by DTMF everything works fine. However when the user is authenticated
directly from the sip phone, the channel variables seems to disappear.

Trying to retrieve the channel status always returns -1 instead of the 6 that
happens normally. It also seems to affected the DIALSTATUS and ANSWEREDTIME
variables.

The only difference in the program is that in the DTMF mode, commands are sent
to to the AGI channel.

Is there a reason why?

PS: The situation has now reversed. SIP calls retain the proper status and PSTN
calls lose their status value, always returning -1.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the asterisk-users mailing list