msilo problem

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

msilo problem

ASHWINI NAIDU
hi all,
   
    I am trying to implement offline messages. When a message is sent to a user who is offline the messages are getting stored. but when the user logs in the messages are not getting delivered. i am posting the extract of the opensips.cfg

route[2] {^M
    ^M
   ## Register request handler^M
    if (is_uri_host_local()) {^M
        if (!www_authorize("", "subscriber")) {^M
            www_challenge("", "1");^M
            exit;^M
        };

        if (!check_to()) {^M
            sl_send_reply("403", "Forbidden");^M
            exit;^M
        };^M
        if(!search("^Contact:[ ]*\*") && client_nat_test("7")) {^M
            log(1,"-------NAT Checking\n");^M
            setbflag(6);^M
            fix_nated_contact();^M
            force_rport();^M
        };^M
        save("location");
#--------------------------------------------------------- msilo testing--------------------------------------------------------------------
        log(1, "REGISTER received -> dumping messages with MSILO------------------- 1\n");
        #append_hf("Contact: $ct\r\n");
        # MSILO - dumping user's offline messages
                xlog("L_INFO","***************************************** Request Body is :---------> $rb\n");
                if (m_dump())
                {
                        log(1, "MSILO: offline messages dumped - if they were----------------------------------- 2\n");
                }else{
                        log(1, "MSILO: no offline messages dumped\n");
                };^M
                xlog("L_INFO,", "\n Method: [$rm] From-URI: [$fu] To URI [$tu]  REply Status is : [$rs] ************************** Reply reason is: [$rr]");
#---------------------------------------------------------------------------------------------------------------------------------------------------
        exit;^M
    } else if {^M
     sl_send_reply("403", "Forbidden");^M
    };^M
}^M


.......
.......

    if (!lookup("location")) {
#----------Storing Offline Messages----------------------------
            if (!t_newtran())
            {
                sl_reply_error();
                exit;
            };
            # we do not care about anything else but MESSAGEs
            if (!method=="MESSAGE")
            {
                if (!t_reply("404", "Not found"))
                {
                    sl_reply_error();
                };
                exit;
            };
            log(1, "MESSAGE received -> storing using MSILO\n");
            # MSILO - storing as offline message
            if (m_store("$ru"))
            {
                log(1, "MSILO: offline message stored\n");
                log(1,"MSILO: ---------------------------------------> in lookup location------------------------------- 4\n");
                if (!t_reply("202", "Accepted"))
                {
                    sl_reply_error();
                };
            }else{
                log(1, "MSILO: offline message NOT stored\n");
                if (!t_reply("503", "Service Unavailable"))
                {
                    sl_reply_error();
                };
            };
           t_on_failure("3");
#           t_relay();^M
#-------------Finished, Storing Offline Messages------------------------------------
if (does_uri_exist()) {^M
            ## User not registered at this time.^M
            ## Use the IP Address of your e-mail server^M
            revert_uri();^M
            prefix("u");^M
            rewritehostport("192.168.1.149"); #Use the IP address of your voicemail server^M
            route(6);^M
       route(1);^M
        } else {^M
            sl_send_reply("404", "Not Found");^M
       exit;^M
        }   ^M
        sl_send_reply("404", "Not Found");^M
        exit;^M
            };^M
    route(6); ^M
    route(1);^M
#   }
}^M



can anyone tell me where have i gone wrong.
--
Thanking You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

Bogdan-Andrei Iancu
Hi Ashwini,

after a MESSAGE should be stored, have you check if actually the message
is correctly stored in the DB and if the user id is correct?

Regards,
Bogdan

ASHWINI NAIDU wrote:

> hi all,
>    
>     I am trying to implement offline messages. When a message is sent
> to a user who is offline the messages are getting stored. but when the
> user logs in the messages are not getting delivered. i am posting the
> extract of the opensips.cfg
>
> *
> *
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

ASHWINI NAIDU
hi bogdan,

yes the value is getting stored properly with proper to-uri and from-uri. but when the user logs in it is not posting the offline message to the user.



On Mon, May 18, 2009 at 2:51 PM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Ashwini,

after a MESSAGE should be stored, have you check if actually the message is correctly stored in the DB and if the user id is correct?

Regards,
Bogdan

ASHWINI NAIDU wrote:
hi all,
     I am trying to implement offline messages. When a message is sent to a user who is offline the messages are getting stored. but when the user logs in the messages are not getting delivered. i am posting the extract of the opensips.cfg

*
*
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 




--
Thanking You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

Bogdan-Andrei Iancu
Hi Ashwini,

can you use debug=6 (full loging) and post the output of the m_dump()
function...just to see what is going on there.

Regards,
Bogdan

ASHWINI NAIDU wrote:

> hi bogdan,
>
> yes the value is getting stored properly with proper to-uri and
> from-uri. but when the user logs in it is not posting the offline
> message to the user.
>
>
>
> On Mon, May 18, 2009 at 2:51 PM, Bogdan-Andrei Iancu
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi Ashwini,
>
>     after a MESSAGE should be stored, have you check if actually the
>     message is correctly stored in the DB and if the user id is correct?
>
>     Regards,
>     Bogdan
>
>     ASHWINI NAIDU wrote:
>
>         hi all,
>              I am trying to implement offline messages. When a message
>         is sent to a user who is offline the messages are getting
>         stored. but when the user logs in the messages are not getting
>         delivered. i am posting the extract of the opensips.cfg
>
>         *
>         *
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         [hidden email] <mailto:[hidden email]>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>          
>
>
>
>
>
> --
> Thanking You,
> Ashwini BR Naidu


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

ASHWINI NAIDU
Hi Bogdan,

    This is the debug of msilo


May 22 18:44:15 debian /sbin/opensips[6754]: #012REGISTER received -> dumping messages with MSILO------------------- 1
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: ------------ start ------------
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: 'To' header ALREADY PARSED: <[hidden email]>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=8000
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=ffffffffffffffff
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:check_message_support: Allow message: 256
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:check_message_support: MESSAGE found in Allow Header
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16), called from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16), returns address 0x81f0590 frag. 0x81f0578 (size=16) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_allocate_columns: allocate 16 bytes for result columns at 0x81f0590
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f0598)[0]=[password]
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28), returns address 0x81f13bc frag. 0x81f13a4 (size=28) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_allocate_rows: allocate 28 bytes for result rows and values at 0x81f13bc
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_str2val: converting STRING [abcd]
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f05d0), called from authorize.c: get_ha1(112)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_do_query: SYNC-DBG - SELECT successfully executed!
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28), called from db/db_res.c: db_new_result(92)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28), returns address 0x81f086c frag. 0x81f0854 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_new_result: allocate 28 bytes for result set at 0x81f086c
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_store_result: SYNC-DBG - SELECT result was stored!
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: 6 columns returned from the query
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96), called from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96), returns address 0x81f17ec frag. 0x81f17d4 (size=120) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_columns: allocate 96 bytes for result columns at 0x81f17ec
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f181c)[0]=[id]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1824)[1]=[src_addr]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f182c)[2]=[dst_addr]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1834)[3]=[body]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_BLOB result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f183c)[4]=[ctype]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1844)[5]=[inc_time]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_rows: allocate 128 bytes for result rows and values at 0x81f1200
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_rows: allocate 128 bytes for result rows and values at 0x81f1200
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting INT [125]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [[hidden email]]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [[hidden email]]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting BLOB [hi iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [text/plain]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting INT [1242997843]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: dumping [1] messages for <[hidden email]>!!!
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:msg_list_check_msg: checking msgid=125
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16), called from ms_msg_list.c: msg_list_el_new(45)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16), returns address 0xafb31198 frag. 0xafb31180 (size=20) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:msg_list_check_msg: msg added to sent list.
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: msg [1-125] for: [hidden email]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: sending composed body
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128), called from dlg.c: new_dlg_uac(150)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128), returns address 0xafb3a788 frag. 0xafb3a770 (size=228) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 27), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 28), returns address 0xafb310c0 frag. 0xafb310a8 (size=28) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 37), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 40), returns address 0xafb3133c frag. 0xafb31324 (size=40) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f05b8 alloc'ed from authorize.c: get_ha1(68)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth_db:get_ha1: HA1 string calculated: d9f5701de63963117c1fda1a1e065206
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response: our result = '67a6976ae23cbc5f3d89a6c5f33c010d'
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response: authorization is OK
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:post_auth: nonce index= 11
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_columns: freeing result columns at 0x81f0590
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f0590), called from db/db_res.c: db_free_columns(80)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f0578 alloc'ed from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows: freeing 1 rows
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_row: freeing row values at 0x81f13c4
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows: freeing rows at 0x81f13bc
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f13bc), called from db/db_res.c: db_free_rows(58)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f13a4 alloc'ed from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result: freeing result set at 0x81f1330
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f1330), called from db/db_res.c: db_free_result(117)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f1318 alloc'ed from db/db_res.c: db_new_result(92)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result: SYNC-DBG - freeing result!
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3b9d4 frag. 0xafb3b9bc (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:uri_db:check_username: Digest username and URI username match
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3b758 frag. 0xafb3b740 (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac: next_hop=<[hidden email]>
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44), called from proxy.c: mk_proxy(240)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44), returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:mk_proxy: doing DNS lookup...
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 14), called from proxy.c: hostent_cpy(119)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 16), returns address 0x81f0900 frag. 0x81f08e8 (size=16) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), called from proxy.c: hostent_cpy(130)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), returns address 0x81f05d0 frag. 0x81f05b8 (size=4) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8), called from proxy.c: hostent_cpy(153)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8), returns address 0x81f054c frag. 0x81f0534 (size=20) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), called from proxy.c: hostent_cpy(164)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), returns address 0x81f0940 frag. 0x81f0928 (size=4) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0900), called from proxy.c: free_hostent(195)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f08e8 alloc'ed from proxy.c: hostent_cpy(119)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f05d0), called from proxy.c: free_hostent(200)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f05b8 alloc'ed from proxy.c: hostent_cpy(130)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0940), called from proxy.c: free_hostent(204)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0928 alloc'ed from proxy.c: hostent_cpy(164)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f054c), called from proxy.c: free_hostent(206)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0534 alloc'ed from proxy.c: hostent_cpy(153)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0fc0), called from ut.h: uri2su(139)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8 alloc'ed from proxy.c: mk_proxy(240)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 3652), called from h_table.c: build_cell(244)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 3652), returns address 0xafb31394 frag. 0xafb3137c (size=3652) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), called from t_hooks.c: insert_tmcb(95)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3eb18 frag. 0xafb3eb00 (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:dlg2hash: 33237
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 70), called from msg_translator.c: via_builder(1932)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 72), returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 575), called from t_msgbuilder.c: build_uac_req(928)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 576), returns address 0xafb373d0 frag. 0xafb373b8 (size=656) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:print_request_uri: [hidden email]
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1774), called from t_msgbuilder.c: build_uac_req(964)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c alloc'ed from msg_translator.c: via_builder(1932)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac: building sip_msg from buffer
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg: SIP Request:
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  method:  <MESSAGE>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  uri:     <[hidden email]>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  version: <SIP/2.0>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=2
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0cd0 frag. 0x81f0cb8 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120), called from parser/msg_parser.c: get_hdr_field(110)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120), returns address 0x81f19a4 frag. 0x81f198c (size=212) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32), called from parser/parse_via.c: parse_via(1774)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32), returns address 0x81f077c frag. 0x81f0764 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK5d18.fe1214b7.0>; state=16
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via: end of header reached, state=5
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: via found, flags=2
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: this is the first via
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 22), called from parser/msg_parser.c: set_dst_uri(738)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f0b3c frag. 0x81f0b24 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=10
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1aa8 frag. 0x81f1a90 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), called from parser/msg_parser.c: get_hdr_field(157)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), returns address 0x81f1894 frag. 0x81f187c (size=224) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of header reached, state=9
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: display={}, ruri={[hidden email]}
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: <To> [24]; uri=[[hidden email]]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: to body [<a href="http://sip:6666@192.168.1.107#015#012">sip:6666@192.168.1.107#015#012]
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1afc frag. 0x81f1ae4 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), called from parser/parse_from.c: parse_from_header(63)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), returns address 0x81f1c20 frag. 0x81f1c08 (size=212) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), called from parser/parse_to.c: parse_to_param(276)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f0a9c frag. 0x81f0a84 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to_param: tag=def4124455da8a0b8e97eafabd028e26-2309
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of header reached, state=29
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: display={}, ruri={[hidden email]}
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=80
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0d24 frag. 0x81f0d0c (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), called from parser/msg_parser.c: get_hdr_field(133)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f09fc frag. 0x81f09e4 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: cseq <CSeq>: <10> <MESSAGE>
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0dcc frag. 0x81f0db4 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0e20 frag. 0x81f0e08 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: content_length=125
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0d78 frag. 0x81f0d60 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1ba4 frag. 0x81f1b8c (size=76) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: #012LOCAL ROUTE **From: [[hidden email]] To: [[hidden email]] Contact: <[hidden email]>;msilo=yes Method is:[MESSAGE]** source Ip: [192.168.1.107] dest port [5060]
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0b3c), called from uac.c: t_uac(306)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0b24 alloc'ed from parser/msg_parser.c: set_dst_uri(738)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f077c), called from parser/parse_via.c: free_via_param_list(1965)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0764 alloc'ed from parser/parse_via.c: parse_via(1774)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f19a4), called from parser/parse_via.c: free_via_list(1977)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f198c alloc'ed from parser/msg_parser.c: get_hdr_field(110)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0cd0), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0cb8 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1894), called from parser/parse_to.c: free_to(85)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f187c alloc'ed from parser/msg_parser.c: get_hdr_field(157)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1aa8), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1a90 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0a9c), called from parser/parse_to.c: free_to_params(76)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0a84 alloc'ed from parser/parse_to.c: parse_to_param(276)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1c20), called from parser/parse_to.c: free_to(85)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1c08 alloc'ed from parser/parse_from.c: parse_from_header(63)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1afc), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1ae4 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f09fc), called from parser/parse_cseq.c: free_cseq(102)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f09e4 alloc'ed from parser/msg_parser.c: get_hdr_field(133)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0d24), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d0c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0dcc), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0db4 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0e20), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0e08 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0d78), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d60 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0fc0), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1774), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1ba4), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1b8c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:set_timer: relative timeout is 500000
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:insert_timer_unsafe: [4]: 0xafb314e0 (489200000)

for the msilo problem i am facing.


On Fri, May 22, 2009 at 3:08 PM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Ashwini,

can you use debug=6 (full loging) and post the output of the m_dump() function...just to see what is going on there.


Regards,
Bogdan

ASHWINI NAIDU wrote:
hi bogdan,

yes the value is getting stored properly with proper to-uri and from-uri. but when the user logs in it is not posting the offline message to the user.



On Mon, May 18, 2009 at 2:51 PM, Bogdan-Andrei Iancu <[hidden email] <mailto:[hidden email]>> wrote:

   Hi Ashwini,

   after a MESSAGE should be stored, have you check if actually the
   message is correctly stored in the DB and if the user id is correct?

   Regards,
   Bogdan

   ASHWINI NAIDU wrote:

       hi all,
            I am trying to implement offline messages. When a message
       is sent to a user who is offline the messages are getting
       stored. but when the user logs in the messages are not getting
       delivered. i am posting the extract of the opensips.cfg

       *
       *
       ------------------------------------------------------------------------

       _______________________________________________
       Users mailing list
       [hidden email] <mailto:[hidden email]>

       http://lists.opensips.org/cgi-bin/mailman/listinfo/users
       




--
Thanking You,
Ashwini BR Naidu




--
Thanking You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

Bogdan-Andrei Iancu
The logs shows that the message is read from the DB and sent out by
msilo module - now it, depends of your cfg to see where the MESSAGE
request is sent out. Try:
    ngrep -d any . port 5060

in order to see what happens with the MESSAGE request.

Regards,
Bogdan

ASHWINI NAIDU wrote:

> Hi Bogdan,
>
>     This is the debug of msilo
>
>
> *May 22 18:44:15 debian /sbin/opensips[6754]: #012REGISTER received ->
> dumping messages with MSILO------------------- 1
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump:
> ------------ start ------------
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: 'To'
> header ALREADY PARSED: <sip:6666@192.168.1.107
> <mailto:sip%3A6666@192.168.1.107>>
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> flags=8000
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> flags=ffffffffffffffff
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:msilo:check_message_support: Allow message: 256
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:msilo:check_message_support: MESSAGE found in Allow Header
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query
> May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16),
> called from db/db_res.c: db_allocate_columns(132)
> May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16),
> returns address 0x81f0590 frag. 0x81f0578 (size=16) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:core:db_allocate_columns: allocate 16 bytes for result columns at
> 0x81f0590
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f0598)[0]=[password]
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28),
> called from db/db_res.c: db_allocate_rows(158)
> May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28),
> returns address 0x81f13bc frag. 0x81f13a4 (size=28) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:core:db_allocate_rows: allocate 28 bytes for result rows and
> values at 0x81f13bc
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:db_mysql:db_mysql_str2val: converting STRING [abcd]
> May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0,
> 0x81f05d0), called from authorize.c: get_ha1(112)
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_do_query:
> SYNC-DBG - SELECT successfully executed!
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28),
> called from db/db_res.c: db_new_result(92)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28),
> returns address 0x81f086c frag. 0x81f0854 (size=32) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_new_result:
> allocate 28 bytes for result set at 0x81f086c
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_store_result: SYNC-DBG - SELECT result was stored!
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: 6 columns returned from the query
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96),
> called from db/db_res.c: db_allocate_columns(132)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96),
> returns address 0x81f17ec frag. 0x81f17d4 (size=120) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:core:db_allocate_columns: allocate 96 bytes for result columns at
> 0x81f17ec
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f181c)[0]=[id]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1824)[1]=[src_addr]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f182c)[2]=[dst_addr]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1834)[3]=[body]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_BLOB result type
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f183c)[4]=[ctype]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1844)[5]=[inc_time]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128),
> called from db/db_res.c: db_allocate_rows(158)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128),
> returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:core:db_allocate_rows: allocate 128 bytes for result rows and
> values at 0x81f1200
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128),
> called from db/db_res.c: db_allocate_rows(158)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128),
> returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:core:db_allocate_rows: allocate 128 bytes for result rows and
> values at 0x81f1200
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting INT [125]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting STRING
> [sip:abcd@192.168.1.107 <mailto:sip%3Aabcd@192.168.1.107>]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting STRING
> [sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting BLOB [hi
> iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting STRING [text/plain]
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:db_mysql:db_mysql_str2val: converting INT [1242997843]
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: dumping
> [1] messages for <sip:6666@192.168.1.107
> <mailto:sip%3A6666@192.168.1.107>>!!!
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:msilo:msg_list_check_msg: checking msgid=125
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16),
> called from ms_msg_list.c: msg_list_el_new(45)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16),
> returns address 0xafb31198 frag. 0xafb31180 (size=20) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:msilo:msg_list_check_msg: msg added to sent list.
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: msg
> [1-125] for: sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: sending
> composed body
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128),
> called from dlg.c: new_dlg_uac(150)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128),
> returns address 0xafb3a788 frag. 0xafb3a770 (size=228) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 27),
> called from ../../ut.h: shm_str_dup(492)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 28),
> returns address 0xafb310c0 frag. 0xafb310a8 (size=28) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 37),
> called from ../../ut.h: shm_str_dup(492)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 40),
> returns address 0xafb3133c frag. 0xafb31324 (size=40) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22),
> called from ../../ut.h: shm_str_dup(492)
> May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f05b8
> alloc'ed from authorize.c: get_ha1(68)
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth_db:get_ha1: HA1
> string calculated: d9f5701de63963117c1fda1a1e065206
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response:
> our result = '67a6976ae23cbc5f3d89a6c5f33c010d'
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response:
> authorization is OK
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:post_auth: nonce
> index= 11
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_columns:
> freeing result columns at 0x81f0590
> May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0,
> 0x81f0590), called from db/db_res.c: db_free_columns(80)
> May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f0578
> alloc'ed from db/db_res.c: db_allocate_columns(132)
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows:
> freeing 1 rows
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_row:
> freeing row values at 0x81f13c4
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows:
> freeing rows at 0x81f13bc
> May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0,
> 0x81f13bc), called from db/db_res.c: db_free_rows(58)
> May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f13a4
> alloc'ed from db/db_res.c: db_allocate_rows(158)
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result:
> freeing result set at 0x81f1330
> May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0,
> 0x81f1330), called from db/db_res.c: db_free_result(117)
> May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f1318
> alloc'ed from db/db_res.c: db_new_result(92)
> May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result:
> SYNC-DBG - freeing result!
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24),
> returns address 0xafb3b9d4 frag. 0xafb3b9bc (size=24) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6751]:
> DBG:uri_db:check_username: Digest username and URI username match
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22),
> called from ../../ut.h: shm_str_dup(492)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24),
> returns address 0xafb3b758 frag. 0xafb3b740 (size=24) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac:
> next_hop=<sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>>
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44),
> called from proxy.c: mk_proxy(240)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44),
> returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:mk_proxy: doing
> DNS lookup...
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 14),
> called from proxy.c: hostent_cpy(119)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 16),
> returns address 0x81f0900 frag. 0x81f08e8 (size=16) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4),
> called from proxy.c: hostent_cpy(130)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4),
> returns address 0x81f05d0 frag. 0x81f05b8 (size=4) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8),
> called from proxy.c: hostent_cpy(153)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8),
> returns address 0x81f054c frag. 0x81f0534 (size=20) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4),
> called from proxy.c: hostent_cpy(164)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4),
> returns address 0x81f0940 frag. 0x81f0928 (size=4) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0900), called from proxy.c: free_hostent(195)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f08e8
> alloc'ed from proxy.c: hostent_cpy(119)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f05d0), called from proxy.c: free_hostent(200)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f05b8
> alloc'ed from proxy.c: hostent_cpy(130)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0940), called from proxy.c: free_hostent(204)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0928
> alloc'ed from proxy.c: hostent_cpy(164)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f054c), called from proxy.c: free_hostent(206)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0534
> alloc'ed from proxy.c: hostent_cpy(153)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0fc0), called from ut.h: uri2su(139)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8
> alloc'ed from proxy.c: mk_proxy(240)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000,
> 3652), called from h_table.c: build_cell(244)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000,
> 3652), returns address 0xafb31394 frag. 0xafb3137c (size=3652) on 1
> -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24),
> called from t_hooks.c: insert_tmcb(95)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24),
> returns address 0xafb3eb18 frag. 0xafb3eb00 (size=24) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:dlg2hash: 33237
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 70),
> called from msg_translator.c: via_builder(1932)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 72),
> returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 575),
> called from t_msgbuilder.c: build_uac_req(928)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 576),
> returns address 0xafb373d0 frag. 0xafb373b8 (size=656) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:print_request_uri:
> sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1774), called from t_msgbuilder.c: build_uac_req(964)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c
> alloc'ed from msg_translator.c: via_builder(1932)
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac: building
> sip_msg from buffer
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg: SIP
> Request:
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  
> method:  <MESSAGE>
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  
> uri:     <sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>>
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  
> version: <SIP/2.0>
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> flags=2
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0cd0 frag. 0x81f0cb8 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120),
> called from parser/msg_parser.c: get_hdr_field(110)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120),
> returns address 0x81f19a4 frag. 0x81f198c (size=212) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32),
> called from parser/parse_via.c: parse_via(1774)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32),
> returns address 0x81f077c frag. 0x81f0764 (size=32) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via_param:
> found param type 232, <branch> = <z9hG4bK5d18.fe1214b7.0>; state=16
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via: end
> of header reached, state=5
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> via found, flags=2
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> this is the first via
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 22),
> called from parser/msg_parser.c: set_dst_uri(738)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24),
> returns address 0x81f0b3c frag. 0x81f0b24 (size=32) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> flags=10
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f1aa8 frag. 0x81f1a90 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212),
> called from parser/msg_parser.c: get_hdr_field(157)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212),
> returns address 0x81f1894 frag. 0x81f187c (size=224) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of
> header reached, state=9
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to:
> display={}, ruri={sip:6666@192.168.1.107
> <mailto:sip%3A6666@192.168.1.107>}
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field:
> <To> [24]; uri=[sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>]
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field:
> to body [sip:6666@192.168.1.107#015#012
> <<a href="http://sip:6666@192.168.1.107#015#012">http://sip:6666@192.168.1.107#015#012>]
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f1afc frag. 0x81f1ae4 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212),
> called from parser/parse_from.c: parse_from_header(63)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212),
> returns address 0x81f1c20 frag. 0x81f1c08 (size=212) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24),
> called from parser/parse_to.c: parse_to_param(276)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24),
> returns address 0x81f0a9c frag. 0x81f0a84 (size=32) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to_param:
> tag=def4124455da8a0b8e97eafabd028e26-2309
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of
> header reached, state=29
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to:
> display={}, ruri={sip:abcd@192.168.1.107
> <mailto:sip%3Aabcd@192.168.1.107>}
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers:
> flags=80
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0d24 frag. 0x81f0d0c (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24),
> called from parser/msg_parser.c: get_hdr_field(133)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24),
> returns address 0x81f09fc frag. 0x81f09e4 (size=32) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field:
> cseq <CSeq>: <10> <MESSAGE>
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0dcc frag. 0x81f0db4 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0e20 frag. 0x81f0e08 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field:
> content_length=125
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0d78 frag. 0x81f0d60 (size=36) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> called from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36),
> returns address 0x81f1ba4 frag. 0x81f1b8c (size=76) on 1 -th hit
> May 22 18:44:15 debian /sbin/opensips[6754]: #012LOCAL ROUTE **From:
> [sip:abcd@192.168.1.107 <mailto:sip%3Aabcd@192.168.1.107>] To:
> [sip:6666@192.168.1.107 <mailto:sip%3A6666@192.168.1.107>] Contact:
> <sip:abcd@192.168.1.107 <mailto:sip%3Aabcd@192.168.1.107>>;msilo=yes
> Method is:[MESSAGE]** source Ip: [192.168.1.107] dest port [5060]
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0b3c), called from uac.c: t_uac(306)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0b24
> alloc'ed from parser/msg_parser.c: set_dst_uri(738)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f077c), called from parser/parse_via.c: free_via_param_list(1965)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0764
> alloc'ed from parser/parse_via.c: parse_via(1774)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f19a4), called from parser/parse_via.c: free_via_list(1977)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f198c
> alloc'ed from parser/msg_parser.c: get_hdr_field(110)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0cd0), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0cb8
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1894), called from parser/parse_to.c: free_to(85)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f187c
> alloc'ed from parser/msg_parser.c: get_hdr_field(157)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1aa8), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1a90
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0a9c), called from parser/parse_to.c: free_to_params(76)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0a84
> alloc'ed from parser/parse_to.c: parse_to_param(276)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1c20), called from parser/parse_to.c: free_to(85)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1c08
> alloc'ed from parser/parse_from.c: parse_from_header(63)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1afc), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1ae4
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f09fc), called from parser/parse_cseq.c: free_cseq(102)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f09e4
> alloc'ed from parser/msg_parser.c: get_hdr_field(133)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0d24), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d0c
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0dcc), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0db4
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0e20), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0e08
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0d78), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d60
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f0fc0), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1774), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0,
> 0x81f1ba4), called from parser/hf.c: free_hdr_field_lst(214)
> May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1b8c
> alloc'ed from parser/msg_parser.c: parse_headers(309)
> May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:set_timer:
> relative timeout is 500000
> May 22 18:44:15 debian /sbin/opensips[6754]:
> DBG:tm:insert_timer_unsafe: [4]: 0xafb314e0 (489200000)
>
> for the msilo problem i am facing.
> *
>
> On Fri, May 22, 2009 at 3:08 PM, Bogdan-Andrei Iancu
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi Ashwini,
>
>     can you use debug=6 (full loging) and post the output of the
>     m_dump() function...just to see what is going on there.
>
>
>     Regards,
>     Bogdan
>
>     ASHWINI NAIDU wrote:
>
>         hi bogdan,
>
>         yes the value is getting stored properly with proper to-uri
>         and from-uri. but when the user logs in it is not posting the
>         offline message to the user.
>
>
>
>         On Mon, May 18, 2009 at 2:51 PM, Bogdan-Andrei Iancu
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>> wrote:
>
>            Hi Ashwini,
>
>            after a MESSAGE should be stored, have you check if
>         actually the
>            message is correctly stored in the DB and if the user id is
>         correct?
>
>            Regards,
>            Bogdan
>
>            ASHWINI NAIDU wrote:
>
>                hi all,
>                     I am trying to implement offline messages. When a
>         message
>                is sent to a user who is offline the messages are getting
>                stored. but when the user logs in the messages are not
>         getting
>                delivered. i am posting the extract of the opensips.cfg
>
>                *
>                *
>              
>          ------------------------------------------------------------------------
>
>                _______________________________________________
>                Users mailing list
>                [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>
>                http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>                
>
>
>
>
>         --
>         Thanking You,
>         Ashwini BR Naidu
>
>
>
>
>
> --
> Thanking You,
> Ashwini BR Naidu


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: msilo problem

ASHWINI NAIDU
hi Bogdan,

I have set the port in opensips cfg as 5080. but by default it is taking the port as 5060. is there anyway that i can set the destination port in destination address of silo db to 5080 so that it routes the message properly.


On Fri, May 22, 2009 at 7:16 PM, Bogdan-Andrei Iancu <[hidden email]> wrote:
The logs shows that the message is read from the DB and sent out by msilo module - now it, depends of your cfg to see where the MESSAGE request is sent out. Try:
  ngrep -d any . port 5060

in order to see what happens with the MESSAGE request.


Regards,
Bogdan

ASHWINI NAIDU wrote:
Hi Bogdan,

   This is the debug of msilo


*May 22 18:44:15 debian /sbin/opensips[6754]: #012REGISTER received -> dumping messages with MSILO------------------- 1
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: ------------ start ------------
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: 'To' header ALREADY PARSED: <[hidden email] <mailto:[hidden email]>>

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=8000
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=ffffffffffffffff
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:check_message_support: Allow message: 256
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:check_message_support: MESSAGE found in Allow Header
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16), called from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 16), returns address 0x81f0590 frag. 0x81f0578 (size=16) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_allocate_columns: allocate 16 bytes for result columns at 0x81f0590
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f0598)[0]=[password]
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6751]: params (0x818c4e0, 28), returns address 0x81f13bc frag. 0x81f13a4 (size=28) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_allocate_rows: allocate 28 bytes for result rows and values at 0x81f13bc
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:db_mysql:db_mysql_str2val: converting STRING [abcd]
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f05d0), called from authorize.c: get_ha1(112)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_do_query: SYNC-DBG - SELECT successfully executed!
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28), called from db/db_res.c: db_new_result(92)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 28), returns address 0x81f086c frag. 0x81f0854 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_new_result: allocate 28 bytes for result set at 0x81f086c
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_store_result: SYNC-DBG - SELECT result was stored!
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: 6 columns returned from the query
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96), called from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 96), returns address 0x81f17ec frag. 0x81f17d4 (size=120) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_columns: allocate 96 bytes for result columns at 0x81f17ec
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f181c)[0]=[id]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1824)[1]=[src_addr]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f182c)[2]=[dst_addr]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1834)[3]=[body]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_BLOB result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f183c)[4]=[ctype]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81f1844)[5]=[inc_time]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_rows: allocate 128 bytes for result rows and values at 0x81f1200
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), called from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 128), returns address 0x81f1200 frag. 0x81f11e8 (size=208) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:db_allocate_rows: allocate 128 bytes for result rows and values at 0x81f1200
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting INT [125]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [[hidden email] <mailto:[hidden email]>]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [[hidden email] <mailto:[hidden email]>]

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting BLOB [hi iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting STRING [text/plain]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:db_mysql:db_mysql_str2val: converting INT [1242997843]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: dumping [1] messages for <[hidden email] <mailto:[hidden email]>>!!!

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:msg_list_check_msg: checking msgid=125
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16), called from ms_msg_list.c: msg_list_el_new(45)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 16), returns address 0xafb31198 frag. 0xafb31180 (size=20) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:msg_list_check_msg: msg added to sent list.
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: msg [1-125] for: [hidden email] <mailto:[hidden email]>

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: sending composed body
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128), called from dlg.c: new_dlg_uac(150)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 128), returns address 0xafb3a788 frag. 0xafb3a770 (size=228) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 27), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 28), returns address 0xafb310c0 frag. 0xafb310a8 (size=28) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 37), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 40), returns address 0xafb3133c frag. 0xafb31324 (size=40) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f05b8 alloc'ed from authorize.c: get_ha1(68)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth_db:get_ha1: HA1 string calculated: d9f5701de63963117c1fda1a1e065206
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response: our result = '67a6976ae23cbc5f3d89a6c5f33c010d'
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:check_response: authorization is OK
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:auth:post_auth: nonce index= 11
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_columns: freeing result columns at 0x81f0590
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f0590), called from db/db_res.c: db_free_columns(80)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f0578 alloc'ed from db/db_res.c: db_allocate_columns(132)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows: freeing 1 rows
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_row: freeing row values at 0x81f13c4
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_rows: freeing rows at 0x81f13bc
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f13bc), called from db/db_res.c: db_free_rows(58)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f13a4 alloc'ed from db/db_res.c: db_allocate_rows(158)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result: freeing result set at 0x81f1330
May 22 18:44:15 debian /sbin/opensips[6751]: params(0x818c4e0, 0x81f1330), called from db/db_res.c: db_free_result(117)
May 22 18:44:15 debian /sbin/opensips[6751]: freeing frag. 0x81f1318 alloc'ed from db/db_res.c: db_new_result(92)
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:core:db_free_result: SYNC-DBG - freeing result!
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3b9d4 frag. 0xafb3b9bc (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6751]: DBG:uri_db:check_username: Digest username and URI username match
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 22), called from ../../ut.h: shm_str_dup(492)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3b758 frag. 0xafb3b740 (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac: next_hop=<[hidden email] <mailto:[hidden email]>>

May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44), called from proxy.c: mk_proxy(240)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 44), returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:mk_proxy: doing DNS lookup...
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 14), called from proxy.c: hostent_cpy(119)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 16), returns address 0x81f0900 frag. 0x81f08e8 (size=16) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), called from proxy.c: hostent_cpy(130)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), returns address 0x81f05d0 frag. 0x81f05b8 (size=4) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8), called from proxy.c: hostent_cpy(153)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 8), returns address 0x81f054c frag. 0x81f0534 (size=20) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), called from proxy.c: hostent_cpy(164)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 4), returns address 0x81f0940 frag. 0x81f0928 (size=4) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0900), called from proxy.c: free_hostent(195)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f08e8 alloc'ed from proxy.c: hostent_cpy(119)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f05d0), called from proxy.c: free_hostent(200)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f05b8 alloc'ed from proxy.c: hostent_cpy(130)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0940), called from proxy.c: free_hostent(204)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0928 alloc'ed from proxy.c: hostent_cpy(164)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f054c), called from proxy.c: free_hostent(206)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0534 alloc'ed from proxy.c: hostent_cpy(153)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0fc0), called from ut.h: uri2su(139)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8 alloc'ed from proxy.c: mk_proxy(240)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 3652), called from h_table.c: build_cell(244)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 3652), returns address 0xafb31394 frag. 0xafb3137c (size=3652) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), called from t_hooks.c: insert_tmcb(95)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 24), returns address 0xafb3eb18 frag. 0xafb3eb00 (size=24) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:dlg2hash: 33237
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 70), called from msg_translator.c: via_builder(1932)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 72), returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 575), called from t_msgbuilder.c: build_uac_req(928)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0xaf915000, 576), returns address 0xafb373d0 frag. 0xafb373b8 (size=656) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:print_request_uri: [hidden email] <mailto:[hidden email]>

May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1774), called from t_msgbuilder.c: build_uac_req(964)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c alloc'ed from msg_translator.c: via_builder(1932)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:t_uac: building sip_msg from buffer
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg: SIP Request:
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  method:  <MESSAGE>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  uri:     <[hidden email] <mailto:[hidden email]>>

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_msg:  version: <SIP/2.0>
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=2
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0cd0 frag. 0x81f0cb8 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120), called from parser/msg_parser.c: get_hdr_field(110)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 120), returns address 0x81f19a4 frag. 0x81f198c (size=212) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32), called from parser/parse_via.c: parse_via(1774)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 32), returns address 0x81f077c frag. 0x81f0764 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK5d18.fe1214b7.0>; state=16
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_via: end of header reached, state=5
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: via found, flags=2
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: this is the first via
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 22), called from parser/msg_parser.c: set_dst_uri(738)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f0b3c frag. 0x81f0b24 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=10
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1aa8 frag. 0x81f1a90 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), called from parser/msg_parser.c: get_hdr_field(157)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), returns address 0x81f1894 frag. 0x81f187c (size=224) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of header reached, state=9
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: display={}, ruri={[hidden email] <mailto:[hidden email]>}
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: <To> [24]; uri=[[hidden email] <mailto:[hidden email]>]
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: to body [sip:6666@192.168.1.107#015#012 <http://sip:6666@192.168.1.107#015#012>]

May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1afc frag. 0x81f1ae4 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), called from parser/parse_from.c: parse_from_header(63)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 212), returns address 0x81f1c20 frag. 0x81f1c08 (size=212) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), called from parser/parse_to.c: parse_to_param(276)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f0a9c frag. 0x81f0a84 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to_param: tag=def4124455da8a0b8e97eafabd028e26-2309
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: end of header reached, state=29
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_to: display={}, ruri={[hidden email] <mailto:[hidden email]>}

May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:parse_headers: flags=80
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0d24 frag. 0x81f0d0c (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), called from parser/msg_parser.c: get_hdr_field(133)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 24), returns address 0x81f09fc frag. 0x81f09e4 (size=32) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: cseq <CSeq>: <10> <MESSAGE>
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0dcc frag. 0x81f0db4 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0e20 frag. 0x81f0e08 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:core:get_hdr_field: content_length=125
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0d78 frag. 0x81f0d60 (size=36) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f0fc0 frag. 0x81f0fa8 (size=60) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1774 frag. 0x81f175c (size=72) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), called from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params (0x818c4e0, 36), returns address 0x81f1ba4 frag. 0x81f1b8c (size=76) on 1 -th hit
May 22 18:44:15 debian /sbin/opensips[6754]: #012LOCAL ROUTE **From: [[hidden email] <mailto:[hidden email]>] To: [[hidden email] <mailto:[hidden email]>] Contact: <[hidden email] <mailto:[hidden email]>>;msilo=yes Method is:[MESSAGE]** source Ip: [192.168.1.107] dest port [5060]

May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0b3c), called from uac.c: t_uac(306)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0b24 alloc'ed from parser/msg_parser.c: set_dst_uri(738)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f077c), called from parser/parse_via.c: free_via_param_list(1965)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0764 alloc'ed from parser/parse_via.c: parse_via(1774)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f19a4), called from parser/parse_via.c: free_via_list(1977)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f198c alloc'ed from parser/msg_parser.c: get_hdr_field(110)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0cd0), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0cb8 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1894), called from parser/parse_to.c: free_to(85)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f187c alloc'ed from parser/msg_parser.c: get_hdr_field(157)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1aa8), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1a90 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0a9c), called from parser/parse_to.c: free_to_params(76)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0a84 alloc'ed from parser/parse_to.c: parse_to_param(276)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1c20), called from parser/parse_to.c: free_to(85)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1c08 alloc'ed from parser/parse_from.c: parse_from_header(63)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1afc), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1ae4 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f09fc), called from parser/parse_cseq.c: free_cseq(102)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f09e4 alloc'ed from parser/msg_parser.c: get_hdr_field(133)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0d24), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d0c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0dcc), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0db4 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0e20), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0e08 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0d78), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0d60 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f0fc0), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f0fa8 alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1774), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f175c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: params(0x818c4e0, 0x81f1ba4), called from parser/hf.c: free_hdr_field_lst(214)
May 22 18:44:15 debian /sbin/opensips[6754]: freeing frag. 0x81f1b8c alloc'ed from parser/msg_parser.c: parse_headers(309)
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:set_timer: relative timeout is 500000
May 22 18:44:15 debian /sbin/opensips[6754]: DBG:tm:insert_timer_unsafe: [4]: 0xafb314e0 (489200000)

for the msilo problem i am facing.
*

On Fri, May 22, 2009 at 3:08 PM, Bogdan-Andrei Iancu <[hidden email] <mailto:[hidden email]>> wrote:

   Hi Ashwini,

   can you use debug=6 (full loging) and post the output of the
   m_dump() function...just to see what is going on there.


   Regards,
   Bogdan

   ASHWINI NAIDU wrote:

       hi bogdan,

       yes the value is getting stored properly with proper to-uri
       and from-uri. but when the user logs in it is not posting the
       offline message to the user.



       On Mon, May 18, 2009 at 2:51 PM, Bogdan-Andrei Iancu
       <[hidden email] <mailto:[hidden email]>
       <mailto:[hidden email]
       <mailto:[hidden email]>>> wrote:

          Hi Ashwini,

          after a MESSAGE should be stored, have you check if
       actually the
          message is correctly stored in the DB and if the user id is
       correct?

          Regards,
          Bogdan

          ASHWINI NAIDU wrote:

              hi all,
                   I am trying to implement offline messages. When a
       message
              is sent to a user who is offline the messages are getting
              stored. but when the user logs in the messages are not
       getting
              delivered. i am posting the extract of the opensips.cfg

              *
              *
                    ------------------------------------------------------------------------

              _______________________________________________
              Users mailing list
              [hidden email]
       <mailto:[hidden email]>
       <mailto:[hidden email]
       <mailto:[hidden email]>>

              http://lists.opensips.org/cgi-bin/mailman/listinfo/users
             



       --        Thanking You,
       Ashwini BR Naidu





--
Thanking You,
Ashwini BR Naidu




--
Thanking You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users