[asterisk-users] How to determine which party hangup the call? cause of Hang-up needed.‏

Faisal Hanif faisal at vopium.com
Tue Aug 10 23:33:22 CDT 2010


  read the value of var ${HANGUPCAUSE} next line to dial command.

Regards,

Faisal Hanif
/VoIP Manager
/**Vopium A/S

On 8/10/2010 9:51 PM, bruce bruce wrote:
>
> Hi Everyone
>
> Asterisk 1.4.33 is running with Sangoma/Dahdi for analogue lines to 
> Bell Canada.
>
> User claims that call hangup without any interferance to the phone set.
>
> Is there ANYWAY to find out which party hang-up the call or if the 
> call was cut-off due to other reasons?
>
> I checked the *"asteriskcdrb"* table and it's pretty much useless in 
> this case as it only logs the duration and other properties but not 
> cause of the Hangup.
>
>
>  /var/log/asterisk/full
>
> [Jul 10 10:37:02] VERBOSE[29366] logger.c:   == Manager 'admin' logged 
> off from 127.0.0.1
> [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Executing 
> [h at macro-dialout-trunk:1] Macro("SIP/1007-0000069a", "hangupcall|") in 
> new stack
> [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Executing 
> [s at macro-hangupcall:1] GotoIf("SIP/1007-0000069a", "1?skiprg") in new 
> stack
> [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Goto 
> (macro-hangupcall,s,4)
>
>
> Thanks,
>
> Bruce
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100811/56ac9744/attachment.htm 


More information about the asterisk-users mailing list