problem of receiving hangup signal from caller

YunJung.Cheng yunjung.cheng at gmail.com
Fri Feb 15 09:19:29 CET 2008


Hello,
i'm a newbie to GSMD.
i'm writing a program about receiving calls from others, and then do some
actions when the caller hangup.
But i cannot find the hangup signal from the caller.

Here is part of my log file, the full log file is attached.
(get a call from caller, answer phone call, the caller hangup, and i make a
new call to others)
....
Fri Feb 15 16:13:53 2008 <1> atcmd.c:268:ml_parse() buf=`+CLIP:
"0287516228",128,,,"compalcom",0'(39)
Fri Feb 15 16:13:53 2008 <1> atcmd.c:337:ml_parse() extd reply `+CLIP:
"0287516228",128,,,"compalcom",0' to cmd `NONE', must be unsolicited
Fri Feb 15 16:13:53 2008 <1> unsolicited.c:70:usock_evt_send() entering
evt=4
Fri Feb 15 16:13:53 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c5b0 for user 0x806c490
Fri Feb 15 16:13:53 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c5b0 to user 0x806c490, freeing
Fri Feb 15 16:13:55 2008 <1> atcmd.c:268:ml_parse() buf=`+CRING: VOICE'(13)
Fri Feb 15 16:13:55 2008 <1> atcmd.c:337:ml_parse() extd reply `+CRING:
VOICE' to cmd `NONE', must be unsolicited
Fri Feb 15 16:13:55 2008 <1> unsolicited.c:70:usock_evt_send() entering
evt=1
Fri Feb 15 16:13:55 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c5b0 for user 0x806c490
Fri Feb 15 16:13:55 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c5b0 to user 0x806c490, freeing
Fri Feb 15 16:13:55 2008 <1> atcmd.c:268:ml_parse() buf=`+CLIP:
"0287516228",128,,,"compalcom",0'(39)
Fri Feb 15 16:13:55 2008 <1> atcmd.c:337:ml_parse() extd reply `+CLIP:
"0287516228",128,,,"compalcom",0' to cmd `NONE', must be unsolicited
Fri Feb 15 16:13:55 2008 <1> unsolicited.c:70:usock_evt_send() entering
evt=4
Fri Feb 15 16:13:55 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c5b0 for user 0x806c490
Fri Feb 15 16:13:55 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c5b0 to user 0x806c490, freeing
Fri Feb 15 16:14:01 2008 <1> atcmd.c:660:atcmd_submit() submitting command
`ATA'
Fri Feb 15 16:14:01 2008 <1> atcmd.c:598:discard_timer() Create discard
timer
Fri Feb 15 16:14:01 2008 <1> atcmd.c:268:ml_parse() buf=`OK'(2)
Fri Feb 15 16:14:01 2008 <1> atcmd.c:640:remove_timer() Get respond before
timeout, remove timer!
Fri Feb 15 16:14:01 2008 <1> atcmd.c:230:atcmd_done() Calling final
cmd->cb()
Fri Feb 15 16:14:01 2008 <1> usock.c:72:usock_cmd_cb()
entering(cmd=0x806c5b0, gu=0x806c490)
Fri Feb 15 16:14:01 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c610 for user 0x806c490
Fri Feb 15 16:14:01 2008 <1> atcmd.c:240:atcmd_done() Clearing mlbuf
Fri Feb 15 16:14:01 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c610 to user 0x806c490, freeing
Fri Feb 15 16:14:29 2008 <1> atcmd.c:660:atcmd_submit() submitting command
`ATD117;'
Fri Feb 15 16:14:29 2008 <1> atcmd.c:598:discard_timer() Create discard
timer
Fri Feb 15 16:14:29 2008 <1> atcmd.c:268:ml_parse() buf=`OK'(2)
Fri Feb 15 16:14:29 2008 <1> atcmd.c:640:remove_timer() Get respond before
timeout, remove timer!
Fri Feb 15 16:14:29 2008 <1> atcmd.c:230:atcmd_done() Calling final
cmd->cb()
Fri Feb 15 16:14:29 2008 <1> usock.c:72:usock_cmd_cb()
entering(cmd=0x806c5b0, gu=0x806c490)
Fri Feb 15 16:14:29 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c610 for user 0x806c490
Fri Feb 15 16:14:29 2008 <1> atcmd.c:240:atcmd_done() Clearing mlbuf
Fri Feb 15 16:14:29 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c610 to user 0x806c490, freeing
Fri Feb 15 16:14:32 2008 <1> atcmd.c:268:ml_parse() buf=`CONNECT'(7)
Fri Feb 15 16:14:32 2008 <1> atcmd.c:415:ml_parse() NO CARRIER
Fri Feb 15 16:14:32 2008 <1> atcmd.c:434:ml_parse() Appending buf to mlbuf
Fri Feb 15 16:14:37 2008 <1> atcmd.c:660:atcmd_submit() submitting command
`ATH'
Fri Feb 15 16:14:37 2008 <1> atcmd.c:598:discard_timer() Create discard
timer
Fri Feb 15 16:14:38 2008 <1> atcmd.c:268:ml_parse() buf=`OK'(2)
Fri Feb 15 16:14:38 2008 <1> atcmd.c:640:remove_timer() Get respond before
timeout, remove timer!
Fri Feb 15 16:14:38 2008 <1> atcmd.c:230:atcmd_done() Calling final
cmd->cb()
Fri Feb 15 16:14:38 2008 <1> usock.c:72:usock_cmd_cb()
entering(cmd=0x806c5b0, gu=0x806c490)
Fri Feb 15 16:14:38 2008 <1> usock.c:56:usock_cmd_enqueue() enqueueing usock
cmd 0x806c568 for user 0x806c490
Fri Feb 15 16:14:38 2008 <1> atcmd.c:240:atcmd_done() Clearing mlbuf
Fri Feb 15 16:14:38 2008 <1> usock.c:1532:gsmd_usock_user_cb() successfully
sent cmd 0x806c568 to user 0x806c490, freeing

Thanks,
YunJung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/gsmd-devel/attachments/20080215/dc2b8420/attachment.html


More information about the gsmd-devel mailing list