[asterisk-dev] Problem with asterisk 1.4.13 and AGI variables

Matt Riddell matt at venturevoip.com
Sat Dec 1 14:57:51 CST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Godson Gera wrote:
>> I wrote an AGI programme that dials extensions and after i read variables
>> like "*ANSWEREDTIME"  "DIALSTATUS"*
>> my problem is : if the callee hangup, i can capture the variables but if
>> the caller hangup, it is impossible to get the variables. this is my code in
>> perl

I've just come across the same problem and now split everything in two.

I.E. routing and billing:

exten => _X.,1,AGI(routing.php)   ; finds destination, sets ${rate}
                                  ; does dial with limit etc
exten => h,1,DeadAGI(billing.php) ; updates customer credit information
                                  ; and stores our cdr records

I'd been holding back on upgrading our exchanges past the point where
DeadAGI stopped working on a live channel until we had a core dump from
a problem fixed in latest releases.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUcrPDQNt8rg0Kp4RAsOuAJ0QM5JnpKeONbrCHnYZ6UZDLNYvMACfVjoA
lKPG5s46m5lEh+7ayh2YfbM=
=WbYP
-----END PGP SIGNATURE-----



More information about the asterisk-dev mailing list