# # SIP DIALOG # [Jun 20 12:06:43] DEBUG[745]: devicestate.c:302 ast_device_state_changed_literal: Notification of state change to be queued on device/channel SIP/6644 [Jun 20 12:06:43] DEBUG[717]: devicestate.c:161 ast_device_state: No provider found, checking channel drivers for SIP - 6644 [Jun 20 12:06:43] DEBUG[717]: chan_sip.c:17276 sip_devicestate: Checking device state for peer 6644 [Jun 20 12:06:43] DEBUG[717]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine. [Jun 20 12:06:43] DEBUG[717]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '6644' AND host = 'dynamic' [Jun 20 12:06:43] DEBUG[717]: chan_sip.c:2598 sip_destroy_peer: Destroying SIP peer 6644 [Jun 20 12:06:43] DEBUG[717]: devicestate.c:287 do_state_change: Changing state for SIP/6644 - state 5 (Unavailable) [Jun 20 12:06:43] DEBUG[744]: app_queue.c:704 handle_statechange: Device 'SIP/6644' changed to state '5' (Unavailable) but we don't care because they're not a member of any queue. [Jun 20 12:06:43] DEBUG[717]: devicestate.c:161 ast_device_state: No provider found, checking channel drivers for Sip - 6644 [Jun 20 12:06:43] DEBUG[717]: chan_sip.c:17276 sip_devicestate: Checking device state for peer 6644 [Jun 20 12:06:43] DEBUG[717]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine. [Jun 20 12:06:43] DEBUG[717]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '6644' AND host = 'dynamic' [Jun 20 12:06:43] DEBUG[717]: chan_sip.c:2598 sip_destroy_peer: Destroying SIP peer 6644 [Jun 20 12:06:43] DEBUG[745]: chan_sip.c:4794 sip_alloc: Allocating new SIP dialog for (No Call-ID) - OPTIONS (No RTP) [Jun 20 12:06:43] DEBUG[745]: chan_sip.c:3494 sip_destroy: Destroying SIP dialog 5c141cf977d6d5955a28060b0d282ecf@32.94.170.10 Really destroying SIP dialog '5c141cf977d6d5955a28060b0d282ecf@32.94.170.10' Method: OPTIONS # # THREADS INFO # 32 Thread -1297298512 (LWP 27919) 0xb7f59410 in ?? () 31 Thread -1295340624 (LWP 27920) 0xb7f59410 in ?? () 30 Thread -1210590288 (LWP 714) 0xb7f59410 in ?? () 29 Thread -1210836048 (LWP 715) 0xb7f59410 in ?? () 28 Thread -1211081808 (LWP 716) 0xb7f59410 in ?? () 27 Thread -1211327568 (LWP 717) 0xb7f59410 in ?? () 26 Thread -1211720784 (LWP 718) 0xb7f59410 in ?? () 25 Thread -1211966544 (LWP 724) 0xb7f59410 in ?? () 24 Thread -1212294224 (LWP 725) 0xb7f59410 in ?? () 23 Thread -1212613712 (LWP 726) 0xb7f59410 in ?? () 22 Thread -1226105936 (LWP 727) 0xb7f59410 in ?? () 21 Thread -1226351696 (LWP 728) 0xb7f59410 in ?? () 20 Thread -1226597456 (LWP 729) 0xb7f59410 in ?? () 19 Thread -1226843216 (LWP 730) 0xb7f59410 in ?? () 18 Thread -1227088976 (LWP 731) 0xb7f59410 in ?? () 17 Thread -1228354640 (LWP 732) 0xb7f59410 in ?? () 16 Thread -1228600400 (LWP 733) 0xb7f59410 in ?? () 15 Thread -1228846160 (LWP 734) 0xb7f59410 in ?? () 14 Thread -1229091920 (LWP 735) 0xb7f59410 in ?? () 13 Thread -1229337680 (LWP 736) 0xb7f59410 in ?? () 12 Thread -1229583440 (LWP 737) 0xb7f59410 in ?? () 11 Thread -1229829200 (LWP 739) 0xb7f59410 in ?? () 10 Thread -1230074960 (LWP 740) 0xb7f59410 in ?? () 9 Thread -1230320720 (LWP 741) 0xb7f59410 in ?? () 8 Thread -1230566480 (LWP 742) 0xb7f59410 in ?? () 7 Thread -1230812240 (LWP 743) 0xb7f59410 in ?? () 6 Thread -1233540176 (LWP 744) 0xb7f59410 in ?? () * 5 Thread -1234424912 (LWP 745) 0x08113a6a in schedule (con=0x928d1d8, s=0xb23c6c28) at sched.c:178 4 Thread -1235047504 (LWP 747) 0xb7f59410 in ?? () 3 Thread -1298429008 (LWP 22746) 0xb7f59410 in ?? () 2 Thread -1290708048 (LWP 22878) 0xb7f59410 in ?? () 1 Thread -1210516640 (LWP 713) 0xb7f59410 in ?? () # # THREAD 5 # (gdb) thread 5 [Switching to thread 5 (Thread -1234424912 (LWP 745))]#0 0x08113a6a in schedule (con=0x928d1d8, s=0xb23c6c28) at sched.c:178 178 AST_LIST_TRAVERSE_SAFE_BEGIN(&con->schedq, cur, list) { (gdb) bt #0 0x08113a6a in schedule (con=0x928d1d8, s=0xb23c6c28) at sched.c:178 #1 0x08113cb9 in ast_sched_add_variable (con=0x928d1d8, when=4000, callback=0xb6716f76 , data=0xb1c57420, variable=0) at sched.c:231 #2 0x08113d20 in ast_sched_add (con=0x928d1d8, when=4000, callback=0xb6716f76 , data=0xb1c57420) at sched.c:247 #3 0xb6718292 in sip_poke_peer (peer=0xb1c57420) at chan_sip.c:17216 #4 0xb66eac4e in sip_poke_peer_s (data=0xb1c57420) at chan_sip.c:8478 #5 0x08114216 in ast_sched_runq (con=0x928d1d8) at sched.c:363 #6 0xb67167fd in do_monitor (data=0x0) at chan_sip.c:17050 #7 0x081256bc in dummy_start (data=0x92908b8) at utils.c:856 #8 0xb7f40240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7e5b49e in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) frame 0 #0 0x08113a6a in schedule (con=0x928d1d8, s=0xb23c6c28) at sched.c:178 178 AST_LIST_TRAVERSE_SAFE_BEGIN(&con->schedq, cur, list) { (gdb) frame 1 #1 0x08113cb9 in ast_sched_add_variable (con=0x928d1d8, when=4000, callback=0xb6716f76 , data=0xb1c57420, variable=0) at sched.c:231 231 schedule(con, tmp); (gdb) frame 2 #2 0x08113d20 in ast_sched_add (con=0x928d1d8, when=4000, callback=0xb6716f76 , data=0xb1c57420) at sched.c:247 247 return ast_sched_add_variable(con, when, callback, data, 0); (gdb) frame 3 #3 0xb6718292 in sip_poke_peer (peer=0xb1c57420) at chan_sip.c:17216 17216 peer->pokeexpire = ast_sched_add(sched, peer->maxms * 2, sip_poke_noanswer, ASTOBJ_REF(peer)); (gdb) frame 4 #4 0xb66eac4e in sip_poke_peer_s (data=0xb1c57420) at chan_sip.c:8478 8478 sip_poke_peer(peer); (gdb) frame 5 #5 0x08114216 in ast_sched_runq (con=0x928d1d8) at sched.c:363 363 res = current->callback(current->data); (gdb) frame 6 #6 0xb67167fd in do_monitor (data=0x0) at chan_sip.c:17050 17050 res = ast_sched_runq(sched); (gdb) frame 7 #7 0x081256bc in dummy_start (data=0x92908b8) at utils.c:856 856 ret = a.start_routine(a.data); (gdb) frame 8 #8 0xb7f40240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 (gdb) frame 9 #9 0xb7e5b49e in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) frame 10 #0 0x00000000 in ?? () (gdb) # # INFO SOURCE # Current source file is chan_sip.c Compilation directory is /opt/ezipbx/new/patch/asterisk-1.4.32/channels Located in /opt/ezipbx/new/patch/asterisk-1.4.32/channels/chan_sip.c Contains 19664 lines. Source language is c. Compiled with DWARF 2 debugging format. Includes preprocessor macro info.