[asterisk-r2] Inbound R2 and Agi

ServTelar servtelar at gmail.com
Thu Jun 14 20:33:49 CDT 2012


Openr2 with AGI integration works in a proper way with Ast 10.5, but there is a detail:

If release cause 1 is sent:

<DAHDI/1-1>AGI Rx << EXEC HANGUP 1
    -- AGI Script Executing Application: (HANGUP) Options: (1)

a B8 (out of service) is sent, instead of B5 (unallocated). Asterisk sees this hangup properly:

Event: Hangup
Privilege: call,all
Channel: DAHDI/1-1
Uniqueid: 1339721156.27
CallerIDNum: 47880422
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Cause: 1
Cause-txt: Unallocated (unassigned) number

But the translation seems to be invalid on this case.


Regards

Gustavo


On Jun 14, 2012, at 7:30 PM, ServTelar wrote:

> Testing rigth now. There is something weird here. I'll let you know as soon as I complete the tests.
> 
> 
> On Jun 14, 2012, at 7:22 PM, Anton Krall wrote:
> 
>> Please do let us know how your tests with 10.5 and 1.3.2 went
>> 
>> On 14/06/2012, at 15:44, ServTelar wrote:
>> 
>>> Originally, ast 1.6.0.9 and openr2 1.3.0.
>>> Now I installed 10.5 and 1.3.2 just to test.
>>> 
>>> 
>>> On Jun 14, 2012, at 4:49 PM, Anton Krall wrote:
>>> 
>>>> Gustavo, which version of asterisk and openr2 are you using?
>>>> 
>>>> 
>>>> On 14/06/2012, at 12:22, Gustavo Mársico wrote:
>>>> 
>>>>> 
>>>>> 
>>>>> On Jun 14, 2012, at 2:10 PM, Moises Silva wrote:
>>>>> 
>>>>>> On Thu, Jun 14, 2012 at 12:30 PM, ServTelar <servtelar at gmail.com> wrote:
>>>>>> I think I got it :)
>>>>>> 
>>>>>> 
>>>>>> Would you mind sharing the solution?
>>>>>> 
>>>>>> I could not understand the problem completely, but sounded like you wanted to use mfcr2_accept_on_offer=no 
>>>>>> 
>>>>> Yes, that was the issue. I was using a 10.6.0 brach, which doesn't have the mfcr2_accept_on_offer. I checked with the 10.5 brach and it worked like a charm.
>>>>> Good to know that mfcr2_accept_on_offer can be used on trunking scenarios :)
>>>>> 
>>>>> 
>>>>> --
>>>>> _____________________________________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>> 
>>>>> asterisk-r2 mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>>> 
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>> 
>>>> asterisk-r2 mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>> 
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> 
>>> asterisk-r2 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>> 
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> 
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120614/0bde3c7c/attachment.htm>


More information about the asterisk-r2 mailing list