[OpenSIPS-Users] opensips crash

Daniel Ribeiro ribeiro.danielf at gmail.com
Mon Mar 29 22:40:32 CEST 2010


>
> Hi Bogdan,
>
> Here is the output requested.
>
> #0  0xb7573031 in pre_print_uac_request (t=0xb56156c0, branch=1,
> request=0xb75a10a0) at t_fwd.c:132
> (gdb) print request->dst_uri.s
> $1 = 0x0
> (gdb) print request->dst_uri.len
> $2 = -1
> (gdb)
>
> My route script for failure route scenários is:
> failure_route[1] {
>     if (t_was_cancelled()) {
>         exit;
>     }
>
>     # uncomment the following lines if you want to block client
>     # redirect based on 3xx replies.
>     ##if (t_check_status("3[0-9][0-9]")) {
>     ##t_reply("404","Not found");
>     ##    exit;
>     ##}
>
>     # Redirect busy calls to a media server
>     if (t_check_status("486")) {
>         #If there is an AVP called fwdbusy send to it
>         if(avp_db_load("$ru","$avp(s:fwdbusy)")) {
>             xlog("Redirect busy calls\n");
>             revert_uri();
>             $ru = $avp(s:fwdbusy);
>             xlog("forwarded to: $ru");
>             t_reply("181","Call Is Being Forwarded");
>             t_relay();
>             exit;
>         }
>         exit;
>     }
>
>     # Redirect unanswered calls to the media server
>     if (t_check_status("480|408")) {
>         #If there is an AVP called fwdnoansw send to it
>         if(avp_db_load("$ru","$avp(s:fwdnoansw)")) {
>             xlog("Redirect unanswered calls\n");
>             revert_uri();
>             $ru = $avp(s:fwdnoansw);
>             xlog("forwarded to: $ru");
>             t_reply("181","Call Is Being Forwarded");
>             t_relay();
>             exit;
>         }
>         exit;
>     }
> }
>
> Regarding the scenário, I'm trying to do an early media call (PRACK) with
> call forward no answer. Please, see the wireshark flow bellow.
>
> |Time     | 192.168.1.2       | 192.168.1.200     |
> |250.483  |         INVITE SDP ( g711U)           |SIP From:
> sip:121 at 192.168.1.200 <sip%3A121 at 192.168.1.200> To:sip:127 at 192.168.1.200<To%3Asip%3A127 at 192.168.1.200>
> |         |(5060)   ------------------>  (5060)   |
> |250.483  |         INVITE SDP ( g711U)           |SIP From:
> sip:121 at 192.168.1.200 <sip%3A121 at 192.168.1.200> To:sip:127 at 192.168.1.200<To%3Asip%3A127 at 192.168.1.200>
> |         |(5060)   ------------------>  (5060)   |
> |250.511  |         100 Giving a try              |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |250.511  |         100 Giving a try              |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |250.522  |         INVITE SDP ( g711U)           |SIP Request
> |         |(5060)   <------------------  (5060)   |
> |250.522  |         INVITE SDP ( g711U)           |SIP Request
> |         |(5060)   <------------------  (5060)   |
> |250.632  |         100 Trying|                   |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.632  |         100 Trying|                   |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.686  |         180 Ringing SDP ( g711U)          |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.686  |         180 Ringing SDP ( g711U)          |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.687  |         180 Ringing SDP ( g711U)          |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |250.687  |         180 Ringing SDP ( g711U)          |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |250.777  |         PRACK     |                   |SIP Request
> |         |(5060)   ------------------>  (5060)   |
> |250.777  |         PRACK     |                   |SIP Request
> |         |(5060)   ------------------>  (5060)   |
> |250.778  |         PRACK     |                   |SIP Request
> |         |(5060)   <------------------  (5060)   |
> |250.778  |         PRACK     |                   |SIP Request
> |         |(5060)   <------------------  (5060)   |
> |250.820  |         200 OK    |                   |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.820  |         200 OK    |                   |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |250.820  |         200 OK    |                   |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |250.820  |         200 OK    |                   |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |260.510  |         181 Call Is Being Forwarded          |SIP Status
> |         |(5060)   <------------------  (5060)   |
> |260.510  |         181 Call Is Being Forwarded          |SIP Status
> |         |(5060)   <------------------  (5060)   |
> ###############################openSIPS crash
> |340.888  |         CANCEL    |                   |SIP Request
> |         |(5060)   ------------------>  (5060)   |
> |340.888  |         CANCEL    |                   |SIP Request
> |         |(5060)   ------------------>  (5060)   |
> |651.455  |         487 Request Terminated          |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |651.455  |         487 Request Terminated          |SIP Status
> |         |(5060)   ------------------>  (5060)   |
> |651.961  |         487 Request Terminated          |SIP Status
>
>
> Thanks

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100329/b112cba9/attachment.htm 


More information about the Users mailing list