[Asterisk-code-review] app amd: Infinite loop on silent calls (asterisk[16])

Abhay Gupta abhay at avissol.com
Tue Feb 5 05:08:52 CST 2019


[Feb  5 16:26:15] VERBOSE[25500][C-0000009e] pbx.c: Executing [dialer at 2:2] AMD("PJSIP/ICONMAIN-000000d1", "") in new stack
[Feb  5 16:29:22] VERBOSE[25500][C-0000009e] app_amd.c: AMD: The frame [PJSIP/ICONMAIN-000000d1] is neither VOICE nor CNG so what is it and what do we do for this
[Feb  5 16:29:22] VERBOSE[25500][C-0000009e] app_amd.c: AMD: Channel [PJSIP/ICONMAIN-000000d1]. HANGUP

See the above call went into AMD at 16:26:15 and for 3 min was in AMD till a HANGUP message came . And in between the frame was not VOICE or CNG so what it was and why it continued to be in AMD is something I have not understood .

Regards,

Abhay Gupta


> On 05-Feb-2019, at 4:16 PM, Abhay Gupta <abhay at avissol.com> wrote:
> 
> Hi , 
> 
> I have been able to capture logs . I will also send the log if I see the call getting held up in AMD app .
> 
> -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
> [Feb  5 16:11:17] WARNING[9719]: res_pjsip_outbound_registration.c:796 schedule_retry: No response received from 'sip:ZestBpo at 103.47.165.10:5061' on registration attempt to 'sip:ZestBpo at 103.47.165.10:5061 <sip:ZestBpo at 103.47.165.10:5061' on registration attempt to 'sip:ZestBpo at 103.47.165.10:5061>', retrying in '60'
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- AMD: We got res as 0 on [PJSIP/ICONMAIN-0000000a] and so no time is extended
>     -- AMD: The frame [PJSIP/ICONMAIN-0000000a] is neither VOICE nor CNG so what is it and what do we do for this
>     -- <PJSIP/ICONMAIN-00000005>AGI Script agi://127.0.0.1/AGI?AMDCall <agi://127.0.0.1/AGI?AMDCall> completed, returning 0
> 
> The change for Log is in the attached modified file .
> <app_amd.c>
> Regards,
> 
> Abhay Gupta
> 
> 
>> On 29-Jan-2019, at 9:51 PM, Matthew Fredrickson <asteriskteam at digium.com <mailto:asteriskteam at digium.com>> wrote:
>> 
>> Abhay, do you think you can try to do that?
>> 
>> View Change <https://gerrit.asterisk.org/10736>
>> To view, visit change 10736 <https://gerrit.asterisk.org/10736>. To unsubscribe, or for help writing mail filters, visit settings <https://gerrit.asterisk.org/settings>.
>> 
>>  <mailto:abhay at avissol.com> <mailto:abhay at avissol.com> <mailto:jcolp at digium.com> <mailto:creslin at digium.com> <mailto:rmudgett at digium.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190205/8e9c631d/attachment-0001.html>


More information about the asterisk-code-review mailing list