Hi all,

            I want to monitor the status of the IAX2 clients connected to my Asterisk in a way similar to what I do inserting the ‘hint’ special priority in extensions.conf.

I mean, if I put a line like the one below in extensions.conf I get an ExtensionStatus event every time my SIP phone changes its state

 

exten => 2000,1,Dial(SIP/2000,20,tT)

exten => 2000,2,Voicemail(u2000)

exten => 2000,102,Voicemail(b2000)

exten => 2000,103,Hangup

exten => 2000,hint,SIP/2000

 

I’ve tried to put the same configuration for an extension bound to a IAX2 client, but it doesn’t seem to work.

The strange thing is that I can manually request its status with an ExtensionState action.

 

How can I do? Is there another way for IAX2?

 

Thank you very very very much

 

 

Luca Maccarini

 

PS. My not working IAX2 conf

 

exten => 2004,1,Dial(IAX2/2004,20,tT)

exten => 2004,2,Voicemail(u2003)

exten => 2004,102,Voicemail(b2003)

exten => 2004,103,Hangup

exten => 2004,hint,IAX2/2004


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/2005

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to