[Freeswitch-users] Many CS_REPORTING state Zombie session

Dome Charoenyost dome at tel.co.th
Sat Oct 31 19:02:07 PDT 2009


Yes. i user api_hangup_hook for do callback.
<action application="set" data="api_hangup_hook=originate
{origination_caller_id_number=${caller_id_number},callback_uuid=${uuid},ignore_early_media=true}${route_1}|${route_2}|${route_3}
call_ivr${caller_id_number} XML public "/>

may be need originate_timeout

Dome C.


2009/11/1 Rupa Schomaker <rupa at rupa.com>:
> fscore_pb has been updated.
>
> Next time put in the pastebin url.  This one was 10911.
>
> Ok, a suspicious thread looks below.  If I read it right, you are
> doing an originate from within the hangup handler.  That doesn't look
> normal or sane to me.
>
> Thread 41 (process 30732):
> #0  0xb7a5e007 in select () from /lib/libc.so.6
> #1  0xb7dde39f in apr_sleep (t=1000) at time/unix/time.c:246
> #2  0xb7db12c0 in do_sleep (t=1000) at src/switch_time.c:109
> #3  0xb7db15ac in switch_cond_next () at src/switch_time.c:196
> #4  0xb7d862b8 in switch_ivr_originate (session=0x0, bleg=0xb48c2f00,
> cause=0xb48c2ed4, bridgeto=0xb1133340
> "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151465 at 115.178.62.191:7050|sofia/external/66857151465 at 115.178.62"...,
> timelimit_sec=60, table=0x0, cid_name_override=0xb7e8c976
> "FreeSWITCH", cid_num_override=0x90ec0800 "0857151465",
> caller_profile_override=0x0, ovars=0x0, flags=0) at
> src/switch_ivr_originate.c:2132
> #5  0xb6f0def1 in originate_function (cmd=0x90164ce2
> "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151465 at 115.178.62.191:7050|sofia/external/66857151465 at 115.178.62"...,
> session=0x0, stream=0xb48c3004) at mod_commands.c:2413
> #6  0xb7d66fb1 in switch_api_execute (cmd=0x90164cd8 "originate",
> arg=0x90164ce2 "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151465 at 115.178.62.191:7050|sofia/external/66857151465 at 115.178.62"...,
> session=0x0, stream=0xb48c3004) at src/switch_loadable_module.c:1567
> #7  0xb7d53c4a in switch_core_session_hangup_state
> (session=0x958ab678) at src/switch_core_state_machine.c:506
> #8  0xb7d385e6 in switch_channel_perform_hangup (channel=0x958afd70,
> file=0xb6af8788 "mod_dptools.c", func=0xb6af8ba8 "hangup_function",
> line=637, hangup_cause=SWITCH_CAUSE_NORMAL_CLEARING) at
> src/switch_channel.c:1898
> #9  0xb6aee906 in hangup_function (session=0x958ab678, data=0xb7e82ea5
> "") at mod_dptools.c:637
> #10 0xb7d4fe1f in switch_core_session_exec (session=0x958ab678,
> application_interface=0xb6e10ec0, arg=0xb7e82ea5 "") at
> src/switch_core_session.c:1552
> #11 0xb7d4f73e in switch_core_session_execute_application
> (session=0x958ab678, app=0x90163a80 "hangup", arg=0xb7e82ea5 "") at
> src/switch_core_session.c:1474
> #12 0xb7d51131 in switch_core_standard_on_execute (session=0x958ab678)
> at src/switch_core_state_machine.c:166
> #13 0xb7d5215a in switch_core_session_run (session=0x958ab678) at
> src/switch_core_state_machine.c:340
> #14 0xb7d4e199 in switch_core_session_thread (thread=0x9020bd98,
> obj=0x958ab678) at src/switch_core_session.c:1135
> #15 0xb7ddc2fc in dummy_worker (opaque=0x9020bd98) at
> threadproc/unix/thread.c:138
> #16 0xb7caaf3b in start_thread () from /lib/libpthread.so.0
> #17 0xb7a64bee in clone () from /lib/libc.so.6
>
>
> On Sat, Oct 31, 2009 at 12:34 PM, Dome Charoenyost <dome at tel.co.th> wrote:
>> I found bug in fscore_pb   $pwd should be $mypwd
>>
>> Now i post already. please help me check.
>>
>> Dome C.
>>
>>
>> 2009/11/1 João Mesquita <jmesquita at freeswitch.org>:
>>> No, mod_nibblebill definetely needs to be enhanced but it is not the problem
>>> and it can be used with high load traffic.
>>>
>>> The one I am not sure about is odbc_query since it was not developed for
>>> that.
>>>
>>> Do what Rupa said, please.
>>>
>>> Regards,
>>>
>>> JM
>>>
>>> On Sat, Oct 31, 2009 at 3:11 PM, Brian West <brian at freeswitch.org> wrote:
>>>>
>>>> I think once you get the backtrace like rupa said we can see that maybe
>>>> odbc_query is really hanging or something similar.
>>>> /b
>>>> On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote:
>>>>
>>>> 2009/10/31 Brian West <brian at freeswitch.org>:
>>>>
>>>> You should never do billing inline with the session thread is all I'm
>>>>
>>>> saying.
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> -Rupa
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>




More information about the FreeSWITCH-users mailing list