[OpenSIPS-Users] force_rtp_proxy /rtpproxy_offer - Opensips coredump on call without userinfo in contact address ?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jun 23 22:48:37 CEST 2010


Hi Max,

6732 is a revision on 1.5 branch from March 2010 - try to first update 
from SVN branch 1.6 - let me know if the problem is still there or not.

Regards,
Bogdan

Max Mühlbronner wrote:
> Sorry for the late reply, i had very limited access to my mail last week.
>
> version: opensips 1.6.2-notls (i386/linux)
> flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, 
> SHM_MMA                                                                             
> P, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SI                                                                             
> ZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> svnrevision: 2:6732M
> @(#) $Id: main.c 6169 2009-09-22 12:48:37Z bogdan_iancu $
> main.c compiled on 10:35:28 Mar 23 2010 with gcc 4.3.2
>
>
> Best regards
>
> Max M.
>
> Bogdan-Andrei Iancu schrieb:
>   
>> Hi Max,
>>
>> Any chance to get my hands on that core file (on your server) or should 
>> we try some remote debugging ?
>>
>> Also, what is the revision number (see with opensips -V )
>>
>> Regards,
>> Bogdan
>>
>> Max Mühlbronner wrote:
>>   
>>     
>>> Hello,
>>>
>>> yes, it is reproducible for me. 1.6.2
>>>
>>>
>>> Best Regards
>>>
>>> Max M.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: users-bounces at lists.opensips.org
>>> [mailto:users-bounces at lists.opensips.org] Im Auftrag von Bogdan-Andrei Iancu
>>> Gesendet: Dienstag, 15. Juni 2010 18:31
>>> An: OpenSIPS users mailling list
>>> Betreff: Re: [OpenSIPS-Users] force_rtp_proxy /rtpproxy_offer - Opensips
>>> coredump on call without userinfo in contact address ?
>>>
>>> Hi Max,
>>>
>>> What version of opensips are you using ? I was trying to search for the 
>>> file and line mentioned by your gdb printout, but I cannot correlate.
>>>
>>> Also, is this bug reproducible by you?  As I'm not 100% sure it is 
>>> Contact related as the backtrace shows the crash when trying to get the 
>>> body(s) of the reply.
>>>
>>> Regards,
>>> Bogdan
>>>
>>> Max Mühlbronner wrote:
>>>   
>>>     
>>>       
>>>> Hello everyone,
>>>>
>>>>
>>>> I have a small problem with opensips 1.6.2 trunk version (updated via 
>>>> svn few days ago, still same issue.)
>>>> I can see the call setup from Opensips to the carrier (using rtpproxy) 
>>>> which is fine, up to some point: Invite, Progress, Ringing --> OK 
>>>>
>>>> All other calls are fine, I did not notice any difference with this 
>>>> carrier, but now i realized the contact address of the OK for these 
>>>> calls contains no userinfo/ @character.
>>>>
>>>> Server: Sippy.
>>>> Contact: Anonymous <sip:195.24.34.24:5061>.
>>>>
>>>> On a call setup i can reproduce a coredump on every call like this. So i 
>>>> did some research, but according to RFC2396 (Uniform Resource 
>>>> Identifiers - URI) and also other sources, a uri can consist of just an 
>>>> ip adress/port combination without any userinfo@ part. But if i receive 
>>>> a call in this way, my opensips instance will crash immediately? (But it 
>>>> is probably more related to the nathelper module /force_rtp_proxy then 
>>>> opensips?)
>>>>
>>>> Any ideas, suggestions are really appreciated. Thanks very much in
>>>>     
>>>>       
>>>>         
>>> advance.
>>>   
>>>     
>>>       
>>>> Best Regards
>>>>
>>>>
>>>> Max M.
>>>>
>>>>
>>>>
>>>>  kernel: [96621.289869] opensips[21481]: segfault at 18 ip 080ec6cd sp 
>>>> bfa1b4c0 error 4 in opensips[8048000+110000]
>>>>
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21479]: 
>>>> INFO:core:handle_sigs: child process 21481 exited by a signal 11
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21479]: 
>>>> INFO:core:handle_sigs: core was generated
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21479]: 
>>>> INFO:core:handle_sigs: terminating due to SIGCHLD
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21486]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21485]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21487]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21484]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21482]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21480]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>> Jun  2 15:25:05 opensips-dev /sbin/opensips[21483]: INFO:core:sig_usr: 
>>>> signal 15 received
>>>>
>>>>
>>>> Core was generated by `/sbin/opensips -P /var/run/opensips/opensips.pid 
>>>> -m 100 -u root -g root'.
>>>> Program terminated with signal 11, Segmentation fault.
>>>> [New process 24892]
>>>> #0 0x080ec6bd in get_all_bodies (msg=0x81c1d7c) at 
>>>> parser/parse_multipart.c:193
>>>>
>>>> warning: Source file is more recent than executable.
>>>> 193
>>>> (gdb) bt full
>>>> #0 0x080ec6bd in get_all_bodies (msg=0x81c1d7c) at 
>>>> parser/parse_multipart.c:193
>>>> start = 0x8175551 ""
>>>> end = <value optimized out>
>>>> type = <value optimized out>
>>>> cur = <value optimized out>
>>>> temp = <value optimized out>
>>>> __FUNCTION__ = "get_all_bodies"
>>>> #1 0xb7885723 in force_rtp_proxy (msg=0x8175551, str1=0x24f <Address 
>>>> 0x24f out of bounds>, str2=0x81b6c5c "62.26.26.26.", offer=1) at 
>>>> nathelper.c:2773
>>>> m = <value optimized out>
>>>> p = <value optimized out>
>>>> skip = <value optimized out>
>>>> c = <value optimized out>
>>>> __FUNCTION__ = "force_rtp_proxy"
>>>> #2 0x08055ed1 in do_action (a=0x81b6ce8, msg=0x81c1d7c) at action.c:967
>>>> val_s = {s = 0x0, len = 0}
>>>> aux = {s = 0xb7cb7968 "\205À\213F\004\017\225Á\211F\f\200~8", len = 
>>>> 136056484}
>>>> ret = <value optimized out>
>>>> v = <value optimized out>
>>>> to = <value optimized out>
>>>> p = <value optimized out>
>>>> tmp = <value optimized out>
>>>> new_uri = <value optimized out>
>>>> end = <value optimized out>
>>>> crt = <value optimized out>
>>>> len = <value optimized out>
>>>> user = <value optimized out>
>>>> uri = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host = {s 
>>>> = 0x0, len = 147941600}, port = {s = 0x8d27094 "", len = 10}, params = {
>>>> s = 0xb7de8c70 "èf\032", len = 136056484}, headers = {s = 0xa <Address 
>>>> 0xa out of bounds>, len = -1075930232}, port_no = 32025, proto = 47051,
>>>> type = 147940488, transport = {s = 0x8d168e0 "", len = 0}, ttl = {s = 
>>>> 0x0, len = 0}, user_param = {s = 0x0, len = 147928168}, maddr = {
>>>> s = 0xbfde9b78 "Ø\233Þ¿óæ\t\b?c\033\b\bS\027\b", len = -1208933641}, 
>>>> method = {s = 0x0, len = 3}, lr = {s = 0x3 <Address 0x3 out of bounds>, 
>>>> len = 0},
>>>> r2 = {s = 0x0, len = 0}, transport_val = {s = 0x0, len = 136012712}, 
>>>> ttl_val = {s = 0x81c1d90 "\bS\027\b\003", len = -1075930152}, 
>>>> user_param_val = {
>>>> s = 0x809e6f3 
>>>>
>>>>     
>>>>       
>>>>         
>>> "1Û\205À\017\224Ã\2137\213G\004\017¶UÒ\210\024\006\203}Ì\026\017\205·þÿÿ\205
>>> Û\017\224Á\017¶Ùéªþÿÿ\203}Ì\035tr\213=D\215\025\b\203?þ\017\214\220þÿÿ\213\0
>>> 35H\215\025\b\205Û\017\204\206\001", 
>>>   
>>>     
>>>       
>>>> len = 136012712}, maddr_val = {
>>>> s = 0x8175308 "183 Session Progress\r\nVia: SIP/2.0/UDP 
>>>> 62.26.26.1;branch=z9hG4bKd8b5.4e74dc32.0\r\nVia: SIP/2.0/UDP 
>>>>
>>>>     
>>>>       
>>>>         
>>> 62.26.26.60:5060;received=62.26.26.60;branch=z9hG4bK0f4df0c2;rport=5060\r\nR
>>> ecord-Route: 
>>>   
>>>     
>>>       
>>>> <sip:195"..., len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 
>>>> 0x81b645c "\002",
>>>> len = -1075930152}, r2_val = {s = 0x8054d7e 
>>>> "\211Ã\205Àu\a\203\r\024?\025\b\001\213\025dk\031\b\205Ò\017\204)\001", 
>>>> len = 136012784}}
>>>> next_hop = {user = {s = 0x81c0ea4 "\210dÑ\bàhÑ\bà\210Ñ\bàhÑ\bàhÑ\b\a", 
>>>> len = -1075930472}, passwd = {s = 0xb7cb266a "\211\207À\002",
>>>> len = -1075930488}, host = {s = 0x17 <Address 0x17 out of bounds>, len = 
>>>> -1075930413}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0},
>>>> headers = {s = 0xb7fab160 "", len = 148156928}, port_no = 40448, proto = 
>>>> 1, type = 135746312, transport = {s = 0x8d4aa20 "", len = 0}, ttl = {s = 
>>>> 0x0,
>>>> len = 0}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x3 <Address 0x3 
>>>> out of bounds>, len = 3}, method = {s = 0x4 <Address 0x4 out of bounds>,
>>>> len = 3}, lr = {s = 0x3 <Address 0x3 out of bounds>, len = 3}, r2 = {s = 
>>>> 0x3 <Address 0x3 out of bounds>, len = 3}, transport_val = {
>>>> s = 0x6 <Address 0x6 out of bounds>, len = 0}, ttl_val = {s = 0x8d134c8 
>>>> "", len = 16777217}, user_param_val = {s = 0x0, len = 1}, maddr_val = {
>>>> s = 0x81b6aec "\001", len = 0}, method_val = {s = 0x81b6b18 "\001", len 
>>>> = -1075930072}, lr_val = {
>>>> s = 0x80a766c 
>>>>
>>>>     
>>>>       
>>>>         
>>> "\211ÃëÏ\213u\020\211t$\b\213M\f\211L$\004\213_\f\211\034$è\237þÿÿ\211Ã\205À
>>> u°éhÿÿÿ\213u\020\205ö\215?&", 
>>>   
>>>     
>>>       
>>>> len = 136014572}, r2_val = {
>>>> s = 0x81c1d7c "\022\001", len = 0}}
>>>> u = <value optimized out>
>>>> port = <value optimized out>
>>>> cmatch = <value optimized out>
>>>> aitem = <value optimized out>
>>>> adefault = <value optimized out>
>>>> spec = <value optimized out>
>>>> model = <value optimized out>
>>>> val = {rs = {s = 0x15 <Address 0x15 out of bounds>, len = -1088382008}, 
>>>> ri = -1210151824, flags = 136056484}
>>>> name_s = {s = 0x81b67bc "\002", len = 2}
>>>> __FUNCTION__ = "do_action"
>>>> #3 0x08054d7e in run_action_list (a=0x81b6ce8, msg=0x81c1d7c) at 
>>>> action.c:139
>>>> ret = 136060284
>>>> t = (struct action *) 0x81b6ce8
>>>> __FUNCTION__ = "run_action_list"
>>>> #4 0x08057c18 in do_action (a=0x81b6f64, msg=0x81c1d7c) at action.c:706
>>>> val_s = {s = 0x0, len = 136067248}
>>>> ---Type <return> to continue, or q <return> to quit---
>>>> aux = {s = 0xb7af6cb8 "%O®·\003", len = 3}
>>>> ret = <value optimized out>
>>>> v = <value optimized out>
>>>> to = <value optimized out>
>>>> p = <value optimized out>
>>>> tmp = <value optimized out>
>>>> new_uri = <value optimized out>
>>>> end = <value optimized out>
>>>> crt = <value optimized out>
>>>> len = <value optimized out>
>>>> user = <value optimized out>
>>>> uri = {user = {s = 0x8d0e2d6 "legtype)", len = -1075929720}, passwd = {s 
>>>> = 0x7 <Address 0x7 out of bounds>, len = -1075929688}, host = {
>>>> s = 0x808aecf "\211E1/4\205À\017\204¿", len = 1}, port = {s = 0x8d0e2d6 
>>>> "legtype)", len = 7}, params = {s = 0xbfde9d80 "7Ùo±\004", len = 0}, 
>>>> headers = {
>>>> s = 0x1d <Address 0x1d out of bounds>, len = -1317835648}, port_no = 
>>>> 34618, proto = 2062, type = 2977132292, transport = {s = 0xb16fd918 "v",
>>>> len = -1317833920}, ttl = {s = 0x7 <Address 0x7 out of bounds>, len = 
>>>> 1}, user_param = {s = 0x819ae34 "", len = -1075929688}, maddr = {
>>>> s = 0x808680d "\205Àx\031\215\223`\001", len = -1318069961}, method = {s 
>>>> = 0x4 <Address 0x4 out of bounds>, len = 135879236}, lr = {
>>>> s = 0x7 <Address 0x7 out of bounds>, len = 0}, r2 = {s = 0x0, len = 1}, 
>>>> transport_val = {
>>>> s = 0x81754a0 "s37c7e203\r\nTo: 
>>>>
>>>>     
>>>>       
>>>>         
>>> <sip:22508140675 at 62.26.26.1>;tag=602f64e1576d3e9ae32a94bbd1facd83\r\nCall-ID
>>> : 
>>>   
>>>     
>>>       
>>>> 7ea2cf416cd92cda1986d66d0ebc0503 at 62.26.26.60\r\nCSeq: 102 
>>>> INVITE\r\nServer: Sippy\r\n\r\n", len = 1746513532}, ttl_val = {s = 
>>>> 0xb7e4d468 "\200W\030\b3", len = 136056220}, user_param_val = {
>>>> s = 0x8175551 "", len = 135746897}, maddr_val = {s = 0x8175540 "Server: 
>>>> Sippy\r\n\r\n", len = -1075929528}, method_val = {
>>>> s = 0x80e0e19 "\211EÐ\213u\020\213>\203ÿÿ\017\204>\002", len = 
>>>> 135746880}, lr_val = {s = 0x8175551 "", len = 136061104}, r2_val = {
>>>> s = 0xb7e33674 "[\201Ã?\233", len = 3}}
>>>> next_hop = {user = {s = 0x8d4a560 "@²ú·@²ú·", len = -1075929960}, passwd 
>>>> = {s = 0xb7c8b0a1 "\203Ä\004[]Ã\211ö\2151/4'", len = 148153696}, host = {
>>>> s = 0xb7de8c70 "èf\032", len = -1075929912}, port = {
>>>> s = 0xb7c87e16 
>>>>
>>>>     
>>>>       
>>>>         
>>> "\211ò\0173/4Âé¹ýÿÿ\211\f$\211D$\004èä?ÿÿ\213Mè\211ú\003Q\004\204À\211Q\f\01
>>> 7\204\023þÿÿ\213\221\\\002", 
>>>   
>>>     
>>>       
>>>> len = 148153696}, params = {
>>>> s = 0xae <Address 0xae out of bounds>, len = 0}, headers = {s = 
>>>> 0xb78d5314 "4\201\002", len = 136056484}, port_no = 30776, proto = 2259, 
>>>> type = 169,
>>>> transport = {s = 0xb7de8c70 "èf\032", len = 136065936}, ttl = {s = 0x0, 
>>>> len = -1075929864}, user_param = {s = 0xb7c878a2
>>>>     
>>>>       
>>>>         
>>> "\205ÀuÖ\213Eä\213°è\002",
>>>   
>>>     
>>>       
>>>> len = 148075288}, maddr = {s = 0x81c38d0 "(;\034\b,;\034\bhns±", len = 
>>>> 600}, method = {s = 0x81c0ea4 "\210dÑ\bàhÑ\bà\210Ñ\bàhÑ\bàhÑ\b\a",
>>>> len = -1211607936}, lr = {s = 0xb7c877d0 
>>>> "U\211å\203ì(\211}ü\213}\f\211]ô\213U\b\211uøè-·ÿÿ\201Ã\206\024\026", 
>>>> len = -1211607968}, r2 = {
>>>> s = 0xb7e3d21c "èÐ", len = 136065936}, transport_val = {s = 0x0, len = 
>>>> -1075929544}, ttl_val = {s = 0xb7e3478a "\205À\017\205û\003", len = 
>>>> 148075288},
>>>> user_param_val = {s = 0x81c38d0 "(;\034\b,;\034\bhns±", len = 9}, 
>>>> maddr_val = {s = 0x81b67bc "\002", len = 0}, method_val = {s = 0x81b67e8 
>>>> "\001",
>>>> len = -1075929512}, lr_val = {s = 0x80a766c 
>>>>
>>>>     
>>>>       
>>>>         
>>> "\211ÃëÏ\213u\020\211t$\b\213M\f\211L$\004\213_\f\211\034$è\237þÿÿ\211Ã\205À
>>> u°éhÿÿÿ\213u\020\205ö\215?&", 
>>>   
>>>     
>>>       
>>>> len = 136013756}, r2_val = {s = 0x81c1d7c "\022\001", len = 0}}
>>>> u = <value optimized out>
>>>> port = <value optimized out>
>>>> cmatch = <value optimized out>
>>>> aitem = <value optimized out>
>>>> adefault = <value optimized out>
>>>> spec = <value optimized out>
>>>> model = <value optimized out>
>>>> val = {rs = {s = 0x50 <Address 0x50 out of bounds>, len = 0}, ri = 
>>>> -1213312620, flags = 135900788}
>>>> name_s = {s = 0x81c3390 "\030sÓ\b¬3\034\b\003", len = 136067280}
>>>> __FUNCTION__ = "do_action"
>>>> #5 0x08054d7e in run_action_list (a=0x81b6f64, msg=0x81c1d7c) at 
>>>> action.c:139
>>>> ret = 136060284
>>>> t = (struct action *) 0x81b6f64
>>>> __FUNCTION__ = "run_action_list"
>>>> #6 0x08057c18 in do_action (a=0x81b6fd0, msg=0x81c1d7c) at action.c:706
>>>> val_s = {s = 0xf <Address 0xf out of bounds>, len = 136063076}
>>>> aux = {s = 0x80e1d99 
>>>> "\211EÐ\2137\215F\001\203ø(vC\213\025D\215\025\b\203:þ\017\215C\001", 
>>>> len = 135746862}
>>>> ret = <value optimized out>
>>>> v = <value optimized out>
>>>> to = <value optimized out>
>>>> p = <value optimized out>
>>>> tmp = <value optimized out>
>>>> new_uri = <value optimized out>
>>>> end = <value optimized out>
>>>> crt = <value optimized out>
>>>> len = <value optimized out>
>>>> user = <value optimized out>
>>>> uri = {user = {s = 0xb7b8fe0c "Ðë\003", len = -1212604204}, passwd = {s 
>>>> = 0xb7b6dc3d "Y\201ÁÏ!\002", len = -1075929128}, host = {
>>>> ---Type <return> to continue, or q <return> to quit---
>>>> s = 0xb7b6d928 
>>>>
>>>>     
>>>>       
>>>>         
>>> "\203Ä\\[^_]Ã\213Eà\211D$\f\213MÄ\211L$\b\215\223ô²ÿÿ\211T$\004\213³\214ÿÿÿ\
>>> 213\006\203È\a\211\004$è\025\207þÿë\207\220\220\220U\211åWV\203ì\004\211Uô\2
>>> 05Ò\017\216C\002", 
>>>   
>>>     
>>>       
>>>> len = -1318359392}, port = {s = 0x2 <Address 0x2 out of bounds>, len = 
>>>> -1212604204}, params = {s = 0x8175551 "",
>>>> len = 135746868}, headers = {s = 0x81c2f3c "\001", len = -1075929064}, 
>>>> port_no = 5115, proto = 2062, type = 135746868, transport = {s = 
>>>> 0x8175551 "",
>>>> len = 135879236}, ttl = {
>>>> s = 0xb7b6d928 
>>>>
>>>>     
>>>>       
>>>>         
>>> "\203Ä\\[^_]Ã\213Eà\211D$\f\213MÄ\211L$\b\215\223ô²ÿÿ\211T$\004\213³\214ÿÿÿ\
>>> 213\006\203È\a\211\004$è\025\207þÿë\207\220\220\220U\211åWV\203ì\004\211Uô\2
>>> 05Ò\017\216C\002", 
>>>   
>>>     
>>>       
>>>> len = -1318336568}, user_param = {s = 0x64 <Address 0x64 out of bounds>, 
>>>> len = 136063596}, maddr = {
>>>> s = 0x81753b8 "\r\nRecord-Route: 
>>>> <sip:195.170.186.101;ftag=as37c7e203;lr>\r\nRecord-Route: 
>>>>
>>>>     
>>>>       
>>>>         
>>> <sip:62.26.26.1;lr;ftag=as37c7e203;vst=AAAAAAECBQkKAwEADgYBcAAFG3EFBgAACwAAA
>>> A80LjE3;did=ebc.2b4fd416>\r\nFrom: 
>>>   
>>>     
>>>       
>>>> ANONYMOUS <sip:4"..., len = 135811844}, method = {s = 0xb16b6ea0 "", len 
>>>> = -1075929000}, lr = {
>>>> s = 0xb7b5c198 "[\201Ãt<\003", len = 135883680}, r2 = {s = 0x20 <Address 
>>>> 0x20 out of bounds>, len = 135879236}, transport_val = {
>>>> s = 0xb7b8fe0c "Ðë\003", len = -1320955648}, ttl_val = {s = 0xb16b6ea0 
>>>> "", len = -1075928968}, user_param_val = {s = 0xb7b6fa87 "?\001", len =
>>>>     
>>>>       
>>>>         
>>> 2},
>>>   
>>>     
>>>       
>>>> maddr_val = {s = 0xb16b6ea0 "", len = -1317955220}, method_val = {s = 
>>>> 0x81c1d7c "\022\001", len = 183}, lr_val = {
>>>> s = 0x81753ba "Record-Route: 
>>>> <sip:195.170.186.101;ftag=as37c7e203;lr>\r\nRecord-Route: 
>>>>
>>>>     
>>>>       
>>>>         
>>> <sip:62.26.26.1;lr;ftag=as37c7e203;vst=AAAAAAECBQkKAwEADgYBcAAFG3EFBgAACwAAA
>>> A80LjE3;did=ebc.2b4fd416>\r\nFrom: 
>>>   
>>>     
>>>       
>>>> ANONYMOUS <sip:496"..., len = 135746478}, r2_val = {s = 0x0, len = 22}}
>>>> next_hop = {user = {s = 0x1e <Address 0x1e out of bounds>, len = 
>>>> -1075929240}, passwd = {s = 0xb78726a8 "\205À\017\204\004\004", len = 
>>>> 136064720},
>>>> host = {s = 0x81c2478 "<sip:300922508140675 at 62.26.26.1>", len = 35}, 
>>>> port = {s = 0x0, len = 135746805}, params = {s = 0x0, len = 0}, headers =
>>>>     
>>>>       
>>>>         
>>> {
>>>   
>>>     
>>>       
>>>> s = 0xb7ae27bd "é­öÿÿÇEàÿÿÿÿÇE\234ÿÿÿÿÇE ", len = -1317836000}, port_no 
>>>> = 36164, proto = 2069, type = ERROR_URI_T, transport = {
>>>> s = 0xb171996c "\016\001", len = 136060284}, ttl = {s = 0xbfde9f48 
>>>> "\037", len = 136063344}, user_param = {s = 0x3 <Address 0x3 out of 
>>>> bounds>,
>>>> len = -1213240160}, maddr = {s = 0x8196ba0 "", len = -1075929240}, 
>>>> method = {s = 0xb171a270 "\001", len = 136064720}, lr = {s = 0x81c267c 
>>>> "ÓT\027\b ",
>>>> len = -1}, r2 = {s = 0x81c2478 "<sip:300922508140675 at 62.26.26.1>", len = 
>>>> 136062972}, transport_val = {s = 0xb7e4e690 "@\232÷·@¢÷·@?÷·`±ú·",
>>>> len = 136060284}, ttl_val = {s = 0x81754f5 "Call-ID: 
>>>> 7ea2cf416cd92cda1986d66d0ebc0503 at 62.26.26.60\r\nCSeq: 102 
>>>> INVITE\r\nServer: Sippy\r\n\r\n",
>>>> len = 135746806}, user_param_val = {
>>>> s = 0x81754ce ";tag=602f64e1576d3e9ae32a94bbd1facd83\r\nCall-ID: 
>>>> 7ea2cf416cd92cda1986d66d0ebc0503 at 62.26.26.60\r\nCSeq: 102 
>>>> INVITE\r\nServer: Sippy\r\n\r\n", len = 0}, maddr_val = {s = 0x23 
>>>> <Address 0x23 out of bounds>, len = 136062560}, method_val = {
>>>> s = 0x81754af 
>>>>
>>>>     
>>>>       
>>>>         
>>> "<sip:22508140675 at 62.26.26.1>;tag=602f64e1576d3e9ae32a94bbd1facd83\r\nCall-I
>>> D: 
>>>   
>>>     
>>>       
>>>> 7ea2cf416cd92cda1986d66d0ebc0503 at 62.26.26.60\r\nCSeq: 102 
>>>> INVITE\r\nServer: Sippy\r\n\r\n", len = 31}, lr_val = {s = 0x80e4b08 
>>>> "\205À\017\204\n\002", len = 135746872}, r2_val = {
>>>> s = 0x817553e "\r\nServer: Sippy\r\n\r\n", len = 136064848}}
>>>> u = <value optimized out>
>>>> port = <value optimized out>
>>>> cmatch = <value optimized out>
>>>> aitem = <value optimized out>
>>>> adefault = <value optimized out>
>>>> spec = <value optimized out>
>>>> model = <value optimized out>
>>>> val = {rs = {s = 0x81c2a78 "ë", len = 136063064}, ri = 0, flags = 
>>>> 135746897}
>>>> name_s = {s = 0xb16b6ea0 "", len = 23437}
>>>> __FUNCTION__ = "do_action"
>>>> #7 0x08054d7e in run_action_list (a=0x81b626c, msg=0x81c1d7c) at 
>>>> action.c:139
>>>> ret = 1
>>>> t = (struct action *) 0x81b6fd0
>>>> __FUNCTION__ = "run_action_list"
>>>> #8 0x08058c7f in run_top_route (a=0x81b626c, msg=0x81c1d7c) at
>>>>     
>>>>       
>>>>         
>>> action.c:119
>>>   
>>>     
>>>       
>>>> bk_action_flags = 0
>>>> bk_rec_lev = 0
>>>> ret = <value optimized out>
>>>> #9 0xb7b7be65 in reply_received (p_msg=0x81c1d7c) at t_reply.c:1451
>>>> last_uac_status = <value optimized out>
>>>> branch = 0
>>>> reply_status = <value optimized out>
>>>> timer = <value optimized out>
>>>> cancel_bitmap = 0
>>>> t = (struct cell *) 0xb16b6ea0
>>>> backup_list = (struct usr_avp **) 0x8185304
>>>> has_reply_route = <value optimized out>
>>>> __FUNCTION__ = "reply_received"
>>>> #10 0x080671a2 in forward_reply (msg=0x81c1d7c) at forward.c:559
>>>> new_buf = <value optimized out>
>>>> to = <value optimized out>
>>>> new_len = <value optimized out>
>>>> mod = (struct sr_module *) 0x819b6e4
>>>> proto = <value optimized out>
>>>> id = <value optimized out>
>>>> ---Type <return> to continue, or q <return> to quit---
>>>> send_sock = <value optimized out>
>>>> len = <value optimized out>
>>>> __FUNCTION__ = "forward_reply"
>>>> #11 0x08097afb in receive_msg (
>>>> buf=0x8175300 "SIP/2.0 183 Session Progress\r\nVia: SIP/2.0/UDP 
>>>> 62.26.26.1;branch=z9hG4bKd8b5.4e74dc32.0\r\nVia: SIP/2.0/UDP 
>>>>
>>>>     
>>>>       
>>>>         
>>> 62.26.26.60:5060;received=62.26.26.60;branch=z9hG4bK0f4df0c2;rport=5060\r\nR
>>> ecord-Route: 
>>>   
>>>     
>>>       
>>>> "..., len=593, rcv_info=0xbfdea284) at receive.c:200
>>>> msg = (struct sip_msg *) 0x81c1d7c
>>>> __FUNCTION__ = "receive_msg"
>>>> #12 0x080d8cc4 in udp_rcv_loop () at udp_server.c:492
>>>> len = 593
>>>> tmp = <value optimized out>
>>>> from = (union sockaddr_union *) 0x81c1d50
>>>> fromlen = 16
>>>> ri = {src_ip = {af = 2, len = 4, u = {addrl = {1706732227, 0, 135465057, 
>>>> 3219038904}, addr32 = {1706732227, 0, 135465057, 3219038904}, addr16 = {
>>>> 43715, 26042, 0, 0, 2145, 2067, 41656, 49118}, addr = 
>>>> "êºe\000\000\000\000a\b\023\b?¢Þ¿"}}, dst_ip = {af = 2, len = 4, u = 
>>>> {addrl = {297305662, 0,
>>>> 0, 0}, addr32 = {297305662, 0, 0, 0}, addr16 = {34366, 4536, 0, 0, 0, 0, 
>>>> 0, 0}, addr = ">\206?\021", '\0' <repeats 11 times>}}, src_port = 5060,
>>>> dst_port = 5060, proto = 1, proto_reserved1 = 0, proto_reserved2 = 0, 
>>>> src_su = {s = {sa_family = 2, sa_data = 
>>>> "\023Äêºe\000\000\000\000\000\000\000"},
>>>> sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 
>>>> 1706732227}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = 
>>>> {sin6_family = 2,
>>>> sin6_port = 50195, sin6_flowinfo = 1706732227, sin6_addr = {in6_u = 
>>>> {u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
>>>> u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x819b30c}
>>>> p = <value optimized out>
>>>> buf = "SIP/2.0 183 Session Progress\r\nVia: SIP/2.0/UDP 
>>>> 62.26.26.1;branch=z9hG4bKd8b5.4e74dc32.0\r\nVia: SIP/2.0/UDP 
>>>>
>>>>     
>>>>       
>>>>         
>>> 62.26.26.60:5060;received=62.26.26.60;branch=z9hG4bK0f4df0c2;rport=5060\r\nR
>>> ecord-Route: 
>>>   
>>>     
>>>       
>>>> "...
>>>> __FUNCTION__ = "udp_rcv_loop"
>>>> #13 0x0806e359 in main (argc=9, argv=0xbfdea424) at main.c:818
>>>> cfg_log_stderr = 0
>>>> cfg_stream = (FILE *) 0x8d02008
>>>> c = <value optimized out>
>>>> r = <value optimized out>
>>>> tmp = 0xbfdeaf67 ""
>>>> tmp_len = <value optimized out>
>>>> port = <value optimized out>
>>>> proto = <value optimized out>
>>>> ret = <value optimized out>
>>>> seed = 1027987624
>>>> rfd = <value optimized out>
>>>> __FUNCTION__ = "main"
>>>> (gdb)
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>>   
>>>     
>>>       
>>   
>>     
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro





More information about the Users mailing list