[Asterisk-Dev] * debug problem
Matt
mattl at xgforce.com
Fri Sep 30 15:15:38 MST 2005
we work on * prepaid module,
when try we keypad in 01 as phone number, the code won't core dump, but when we keypad in 001, we got coredump?
in gdb, we see :
sprintf(szSQLCmd, "%s-%d", szDestNumber, cd->tariffid);
(gdb) bt
#0 0x46cf8e17 in callingcard_ivr_authorize (chan=0x0, cd=0x0)
at app_prepaid_call.c:296
anyone got any hints why?
it seams Linux coding is lot different than working on other OS? or i made bad mistake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050930/8b3001b1/attachment.htm
More information about the asterisk-dev
mailing list