[asterisk-users] Fastagi

hh174 olivier at hh174.be
Tue Aug 18 05:57:57 CDT 2009


Of course it has been done, but I don't think it's a clean way?
Having to send a fake command to asterisk to be able to read the 
'hangup' isn't really clean.
I must suppose there is a clean solution for that.

Kind regards,

Olivier

Alex Balashov a écrit :
> Modify your code to support 1.6-style events.
>
> hh174 wrote:
>
>> In fact, I am not using Asterisk-java.
>> I use asterisk and fastagi to have a b2bua able to disconnect many 
>> callers if their customer account is around 0.
>>
>> Is that a bug to be reported?
>>
>> How to solve that in Java without using Asterisk-java?
>>
>> Kind regards,
>>
>> Olivier
>>
>>
>> Stefan Reuter a écrit :
>>> Yes this is a well-known change. If you use the latest Snapshot of
>>> Asterisk-Java 1.0.0 (http://asterisk-java.org) the issue should be 
>>> resolved.
>>>
>>> =Stefan
>>>
>>> Alex Balashov wrote:
>>>  
>>>> Appearances suggest that some part(s) of the AGI protocol changed 
>>>> between 1.4 and 1.6.
>>>>
>>>> hh174 wrote:
>>>>
>>>>    
>>>>> Hello,
>>>>>
>>>>> I have a problem with fastagi.
>>>>> In fact I have a fastagi written in Java.
>>>>> Communcation between asterisk 1.6 and the server works correctly, 
>>>>> except
>>>>> when a 'HANGUP' is sent by asterisk...
>>>>> In this case, the java server doesn't read the message.
>>>>> I have tride with PHP, same result.
>>>>>
>>>>> A ngrep show differences between the HANGUP messages and the others (
>>>>> [AP] vs [AUP] )
>>>>>
>>>>> T XXX.73.102.179:53824 -> XXX.73.102.188:1687 [AP]
>>>>>   200 result=1
>>>>>
>>>>> T XXX.73.102.179:53824 -> XXX.73.102.188:1687 [AUP]
>>>>>   HANGUP.
>>>>>
>>>>>
>>>>> Any idea?
>>>>>
>>>>> Kind regards
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>
>>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>>> Register Now: http://www.astricon.net
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>       
>>>>     
>>>
>>>
>>>   
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>> Register Now: http://www.astricon.net
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>





More information about the asterisk-users mailing list