[OpenSIPS-Users] opensips process dying (dialplan module?)
Adelson O. Junior
jroliv at gmail.com
Mon Aug 23 21:00:59 CEST 2010
Hi list,
my opensips process is dying constantly.
According the dump core, it seems (for me) to be a function in
dialplan that is causing it.
Follows the dump from gdb.
Is someone facing this kind of problem?
opensips version is: opensips 1.6.1-notls (i386/linux)
Thanks,
....
Core was generated by `/usr/local/sbin/opensips -P
/var/run/opensips.pid -m 256'.
Program terminated with signal 11, Segmentation fault.
#0 0x00e450de in rule_translate (msg=0x81dbeac, string=...,
rule=0xa821fda0, result=0xbfc34c4c) at dp_repl.c:192
192 memcpy(result->s + result->len, match.begin, match.len);
(gdb) bt full
#0 0x00e450de in rule_translate (msg=0x81dbeac, string=...,
rule=0xa821fda0, result=0xbfc34c4c) at dp_repl.c:192
repl_nb = 0
offset = 0
token = {offset = 0, size = 2, type = REPLACE_NMATCH, u =
{nmatch = 2, c = 2 '\002', spec = {type = PVT_NULL, getf = 0,
setf = 0, pvp = {pvn = {type = 1, u = {isname = {type =
0, name = {n = 9534827, s = {s = 0x917d6b "\201É\302\v",
len = -1}}}, dname = 0x0}}, pvi = {type =
53, u = {ival = 10197728, dval = 0x9b9ae0}}, pvv = {
s = 0xbfc362ec
"\017\352\n\b\230\353\033\b\254\276\035\b", len = 9531122}}, pvc =
0xa821f964, trans = 0xe4721c}}}
subst_comp = 0xa821fc8c
repl_comp = 0xa821fc14
match = {begin = 0x830457a "1150212372 at 200.225.81.91:5060", len = -3366}
sv = {rs = {s = 0x4a98 <Address 0x4a98 out of bounds>, len =
136167084}, ri = 137377864, flags = 12}
uri = 0x0
__FUNCTION__ = "rule_translate"
#1 0x00e463eb in translate (msg=0x81dbeac, input=...,
output=0xbfc34c4c, idp=0xa821497c, attrs=0x0) at dp_repl.c:346
rulep = 0xa821fda0
indexp = <value optimized out>
rez = <value optimized out>
__FUNCTION__ = "translate"
#2 0x00e3d2f7 in dp_translate_f (msg=0x81dbeac, str1=0x81d6dd4
"\001", str2=0x81d6e50 "\001") at dialplan.c:368
dpid = 15
input = {s = 0x8304578 "551150212372 at 200.225.81.91:5060", len = 12}
output = {s = 0xe4ec20 "1150212372 at 200.225.81.91:5060", len = 0}
idp = 0xa821497c
repl_par = 0x81d6e50
attrs = {s = 0x81c7ee7 "post_ruri_id)", len = 12}
attrs_par = 0x0
__FUNCTION__ = "dp_translate_f"
#3 0x080546fd in do_action (a=0x81c845c, msg=0x81dbeac) at action.c:967
val_s = {s = 0x81dbeac "\316#\001", len = 136120380}
aux = {s = 0x3bf816 "\205\300\017\205b\001", len = 136035128}
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 = 0x3ce110 " \200\001", len = 136035128},
passwd = {s = 0x81c2155 "post_ruri_id)", len = -1077719320},
host = {s = 0x81c7fdc "\001", len = 136167084}, port = {s =
0x4 <Address 0x4 out of bounds>, len = -1077719208}, params = {
s = 0x80aea0f
"\211\306\351@\377\377\377\213M\020\211L$\b\213U\f\211T$\004\213s\f\211\064$\350\071\376\377\377\211ƅ\300\017---Type
<return> to continue, or q <return> to quit---
\205\035\377\377\377\213u\020\211t$\b\213E\f\211D$\004\213{\030\211<$\350\026\376\377\377\211\306\351\375\376\377\377\377$\275\254c\025\b\213}\020\211|$\b\213M\f\211L$\004\213S\f\211\024$\350\357\375\377\377\211ƃ",
<incomplete sequence \370>, len = 136085424},
headers = {s = 0x81dbeac "\316#\001", len = 0}, port_no = 0,
proto = 0, type = 3217249364, transport = {s = 0x0, len = 256},
ttl = {s = 0x81dbeac "\316#\001", len = -1077719352},
user_param = {s = 0x81d4384 "\004", len = -1077719320}, maddr = {
s = 0x808f1a2
"\205\300\017\205+\377\377\377\366E\354\001t\022\213\025\\9\025\b\213\r`9\025\b\211U\340\211M\344\213u\344\211u\274\213E\310\001\360\213}\024;\a\017\215W\001",
len = 15}, method = {s = 0x7 <Address 0x7 out of bounds>, len =
-1077719352}, lr = {
s = 0x6 <Address 0x6 out of bounds>, len = 1}, r2 = {s =
0x816752e "", len = -1474188324}, transport_val = {s = 0x0,
len = 2}, ttl_val = {s = 0x9f3269b "0.0.0.0", len = 14},
user_param_val = {
s = 0xffffffff <Address 0xffffffff out of bounds>, len =
4}, maddr_val = {
s = 0xfffffff8 <Address 0xfffffff8 out of bounds>, len =
136120612}, method_val = {s = 0xe4e870 "4G\001",
len = -1077717836}, lr_val = {s = 0x81c2155
"post_ruri_id)", len = 12}, r2_val = {s = 0x2 <Address 0x2 out of
bounds>,
len = 137380436}}
next_hop = {user = {s = 0x9f1a0c0 "\001", len = -1077719656},
passwd = {s = 0x65eba1 "\203\304\004[]É\366\215\274'",
len = 166830272}, host = {s = 0x765c00 "DXv", len =
-1077719624}, port = {
s = 0x683588
"\213]\364\213u\370\213}\374\211\354]Ã\276|\003", len = 166830272},
params = {s = 0x0, len = -1077719560},
headers = {s = 0xc8817c " ", <incomplete sequence \320>, len
= 136166452}, port_no = 41152, proto = 2545, type = 3217247736,
transport = {s = 0xc7f93d "\213N\b\307A\f", len =
166830272}, ttl = {s = 0xbfc34e0c "\017", len = 85560}, user_param = {
s = 0x81c2155 "post_ruri_id)", len = 1}, maddr = {s =
0x1c34ed0 <Address 0x1c34ed0 out of bounds>, len = -1468335304},
method = {s = 0x8129a72 "\211Dž\300\017\210\233", len =
136166452}, lr = {s = 0xbfc34ed0 "TB0\b\004", len = 0}, r2 = {
s = 0x3ce110 " \200\001", len = 137380436}, transport_val
= {s = 0x81bbb38 "h\272\033\b2", len = -1077719496}, ttl_val = {
s = 0x3bcba6
"\203\304,[^_]\303譫\377\377\211E\340\215}\360\211<$菫\377\377\213\263\360\377\377\377\211t$\004\211<$\350\375\254\377\377\306F\023",
len = 136166452}, user_param_val = {s = 0x8304254 "", len = 12},
maddr_val = {
s = 0xf <Address 0xf out of bounds>, len = 7}, method_val
= {s = 0x81dbc34 "\230\342<", len = -1077719496}, lr_val = {
s = 0xc7cba6
"\203\304\024[]\303U\211\345S\203\354\024\350O\377\377\377\201\303ĵ",
len = 136166452}, r2_val = {
s = 0x3ce5a0 "<\b\035\b", <incomplete sequence \350>, len
= -1077719344}}
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 = 0x10004 <Address 0x10004 out of bounds>, len
= -1474188324}, ri = 3989776, flags = 3990920}
name_s = {s = 0x81d43c8 "\004", len = 0}
__FUNCTION__ = "do_action"
#4 0x08057428 in run_action_list (a=0x81c8120, msg=0x81dbeac) at action.c:139
ret = 1
t = 0x81c845c
__FUNCTION__ = "run_action_list"
#5 0x080555fd in do_action (a=0x81c86d8, msg=0x81dbeac) at action.c:706
val_s = {s = 0xad346b2f "", len = 156}
aux = {s = 0xa82228be "16X", len = 2}
ret = <value optimized out>
---Type <return> to continue, or q <return> to quit---
v = 1
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 = 0x22ce15
"\211F4\271\223$I\222\213G\034\367\351\003W\034\301\372\002\213G\034\301\370\037)\302\211V8\213\177\f\203\357\001\211\370\367\351\001\372\301\372\002\211\370\301\370\037)\302\211V<1\300\203\304\f[^_]\303U\211\345\270\001",
len = 10318560},
passwd = {s = 0x915daf "\203\304\f[]Ít&", len =
-1077718684}, host = {s = 0x22e913 "\201\303-\240", len =
-1077718600},
port = {s = 0xbfc351f8 "\334j/\b\001", len = -1077718696}, params = {
s = 0x22ee26
"\203\304\020[^]ø\377\377\377\377\203\304\020[^]\303U\211\345WVS\203\354\f\350
\001\377\377\201\303", <incomplete sequence \371\232>, len =
-1077718600}, headers = {s = 0x9d72e0 "7", len = -1077718696}, port_no
= 35136, proto = 35,
type = 2824502472, transport = {s = 0xbfc351f8
"\334j/\b\001", len = -1077718520}, ttl = {
s = 0x231ac9
"\205\300u\227\213\006\205\300\017\205\066\374\377\377\213M\224\213\061\211u\224\205\366\017\204$\374\377\377\203m\234\001\017\205Z\375\377\377\351\025\374\377\377\213}\220\213G\004\211D$\020\213U\020\211T$\f\215\263\260\353\377\377\211t$\b\215\213<\353\377\377\211L$\004\213\273\350\377\377\377\213\a\203\310\a\211\004$\350~\316\376\377\351\006\377\377\377\211u\234\211M\224\351\002\375\377\377\220\220U\211\345WVS\203\354\f\350\031\324\376\377\201\303\362m",
len = -1470465072}, user_param = {
s = 0xbfc351b8 "\233\321nL\002", len = -1467357128}, maddr
= {s = 0xa7fda0c4 "", len = 1024}, method = {
s = 0x23 <Address 0x23 out of bounds>, len = -1077718584},
lr = {s = 0x80e71a4 "\211Ƌ\025p#\032\b\306\002",
len = -1476567040}, r2 = {s = 0x23 <Address 0x23 out of
bounds>, len = -1077718600}, transport_val = {
s = 0xe4ec20 "1150212372 at 200.225.81.91:5060", len =
137384812}, ttl_val = {s = 0xe4cea7 "translate", len = 261728},
user_param_val = {s = 0x9f11867 "dr_attrs)", len = 3},
maddr_val = {s = 0x1305363 <Address 0x1305363 out of bounds>,
len = -1467357128}, method_val = {s = 0xd <Address 0xd out
of bounds>, len = 136083023}, lr_val = {s = 0xa8a1691c "\\",
len = 1282331035}, r2_val = {s = 0x2 <Address 0x2 out of
bounds>, len = -1474156354}}
next_hop = {user = {s = 0x0, len = 10305524}, passwd = {s =
0x0, len = 1}, host = {s = 0xbfc350f0 " Qÿ\371w\221",
len = 9531022}, port = {s = 0x9b9d99 "/etc/localtime", len
= 166800384}, params = {
s = 0x5b780135 <Address 0x5b780135 out of bounds>, len =
797150402}, headers = {s = 0x81b81e4 "\244\342\034\b\004",
len = 13}, port_no = 4, proto = 0, type = 9530759,
transport = {s = 0x9f170a9 "BRT", len = 166800456}, ttl = {
s = 0x1 <Address 0x1 out of bounds>, len = 166800456},
user_param = {s = 0x9d3ff4 "\234=\235", len = 9524902}, maddr = {
s = 0x0, len = 642}, method = {s = 0xd3 <Address 0xd3 out
of bounds>, len = 0}, lr = {
s = 0x276 <Address 0x276 out of bounds>, len = -20}, r2 =
{s = 0x7da <Address 0x7da out of bounds>, len = 2010},
transport_val = {s = 0x9d3ff4 "\234=\235", len = 10318560},
ttl_val = {s = 0x1 <Address 0x1 out of bounds>,
len = -1077718752}, user_param_val = {s = 0x9177f9
"\205\300uT1\366e\203=\f", len = -1077718684}, maddr_val = {
s = 0xffffd5d0 <Address 0xffffd5d0 out of bounds>, len =
10318560}, method_val = {s = 0xbfc3510c "", len = 10318560},
lr_val = {s = 0x0, len = -1077718600}, r2_val = {s =
0x9d72e0 "7", len = -1077718728}}
u = <value optimized out>
port = <value optimized out>
cmatch = <value optimized out>
aitem = <value optimized out>
---Type <return> to continue, or q <return> to quit---
adefault = <value optimized out>
spec = <value optimized out>
model = <value optimized out>
val = {rs = {s = 0x9f11867 "dr_attrs)", len = -1077718520}, ri
= 135165564, flags = 3}
name_s = {s = 0x0, len = 0}
__FUNCTION__ = "do_action"
#6 0x08057428 in run_action_list (a=0x81c7e74, msg=0x81dbeac) at action.c:139
ret = 1
t = 0x81c86d8
__FUNCTION__ = "run_action_list"
#7 0x080555c7 in do_action (a=0x81ccf20, msg=0x81dbeac) at action.c:119
val_s = {s = 0x20 <Address 0x20 out of bounds>, len = 18727488}
aux = {s = 0x8061ee1 "\205\300tB\211\302\374\271\b", len = 136002560}
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 = 0x65c2c2 "\213\206\244\003", len =
137384800}, passwd = {s = 0xc <Address 0xc out of bounds>, len = 0},
host = {s = 0x0, len = 0}, port = {s = 0xd <Address 0xd out
of bounds>, len = 0}, params = {s = 0x0, len = 0}, headers = {
s = 0x0, len = -1464869544}, port_no = 62252, proto = 31,
type = 2818416836, transport = {
s = 0x3f0 <Address 0x3f0 out of bounds>, len =
-1077717768}, ttl = {s = 0x1e8b54 "\213\263(\377\377\377\213>\306\a",
len = -1476567040}, user_param = {s = 0x18 <Address 0x18
out of bounds>, len = 80}, maddr = {s = 0x0, len = 0}, method = {
s = 0x0, len = 135865416}, lr = {
s = 0x8192447 "<sip:bbbted at 201.xxx.xxx.xxx>\r\nCall-ID:
40a5d1c94363a547787776ec1e304186 at 200.xxx.xxx.xxx\r\nCSeq: 102
INVITE\r\nUser-Agent: Asterisk PBX\r\nMax-Forwards: 69\r\nDate: Fri,
20 Aug 2010 19:31:12 GMT\r\nAllow: INVITE, A"..., len = 0}, r2 = {
s = 0x8192447 "<sip:bbbted at 201.xxx.xxx.xxx>\r\nCall-ID:
40a5d1c94363a547787776ec1e304186 at 200.xxx.xxx.xxx\r\nCSeq: 102
INVITE\r\nUser-Agent: Asterisk PBX\r\nMax-Forwards: 69\r\nDate: Fri,
20 Aug 2010 19:31:12 GMT\r\nAllow: INVITE, A"..., len = 135865415},
transport_val = {s = 0xa8b21788 "", len = 0}, ttl_val = {s =
0x0, len = 26}, user_param_val = {s = 0x0, len = 0},
maddr_val = {s = 0xa <Address 0xa out of bounds>, len = 3},
method_val = {s = 0x0, len = 24}, lr_val = {s = 0x0,
len = 136168000}, r2_val = {s = 0x19 <Address 0x19 out of
bounds>, len = -1464723576}}
next_hop = {user = {s = 0xbfc353b8 "\340\232\233", len =
137325280}, passwd = {s = 0x9f34788 "", len = 35}, host = {
s = 0x9f1a0c0 "\001", len = 0}, port = {
s = 0x65ec0c
"\353\333\350\321c\377\377\213\020\213\203\260\377\377\377\211\020\213E\f\203\340\b\211E\360u\031\366E\f\030u%\213E\360\205\300t\264\307\004$\001",
len = 12}, params = {s = 0xa8222870 "\254(\"\250\022", len =
-1474156424}, headers = {s = 0x0,
len = -1474215520}, port_no = 0, proto = 0, type =
2820810942, transport = {s = 0x8 <Address 0x8 out of bounds>,
len = 166938360}, ttl = {s = 0x9f1a0c0 "\001", len =
-1077718008}, user_param = {s = 0x684084 "\213E\334\307@\034\f",
len = 166830232}, maddr = {s = 0x2000 <Address 0x2000 out
of bounds>, len = 10197728}, method = {
---Type <return> to continue, or q <return> to quit---
s = 0xc8817c " ", <incomplete sequence \320>, len =
10197728}, lr = {s = 0x9d5140 "", len = 97}, r2 = {s = 0x9d5164 "",
len = 10309988}, transport_val = {s = 0x0, len =
10310000}, ttl_val = {s = 0x38 <Address 0x38 out of bounds>,
len = 166830272}, user_param_val = {s = 0x9f1a088
"pQ\235", len = 92}, maddr_val = {s = 0x0, len = 9417451}, method_val
= {
s = 0x82f6aed "200.225.81.91:5060", len = 166930008},
lr_val = {s = 0x9f36628 "200.\331I\001", len = -1077717904},
r2_val = {s = 0x23 <Address 0x23 out of bounds>, len = -1077717976}}
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 = 0x3f0 <Address 0x3f0 out of bounds>, len =
137373004}, ri = 137382812, flags = 2096273}
name_s = {s = 0x683588
"\213]\364\213u\370\213}\374\211\354]Ã\276|\003", len = 135865441}
__FUNCTION__ = "do_action"
#8 0x08057428 in run_action_list (a=0x81ccb70, msg=0x81dbeac) at action.c:139
ret = 1
t = 0x81ccf20
__FUNCTION__ = "run_action_list"
#9 0x080577c3 in run_actions (a=0x81ccb70, msg=0x81dbeac) at action.c:119
__FUNCTION__ = "run_actions"
#10 run_top_route (a=0x81ccb70, msg=0x81dbeac) at action.c:180
bk_action_flags = 0
bk_rec_lev = 2
#11 0x00133afe in pre_print_uac_request (t=0xa87a0898, branch=0,
request=0x81dbeac) at t_fwd.c:150
backup_route_type = 1
backup_list = 0xa87a1764
p = <value optimized out>
__FUNCTION__ = "pre_print_uac_request"
#12 0x001348ec in add_uac (t=0xa87a0898, request=0x81dbeac,
uri=0xbfc35888, next_hop=0xbfc35890, path=0x81dc1cc, proxy=0x0)
at t_fwd.c:400
branch = <value optimized out>
do_free_proxy = <value optimized out>
ret = 0
__FUNCTION__ = "add_uac"
#13 0x00135cdd in t_forward_nonack (t=0xa87a0898, p_msg=0x81dbeac,
proxy=0x0) at t_fwd.c:625
backup_dst = {s = 0x0, len = 0}
branch_ret = <value optimized out>
lowest_ret = <value optimized out>
current_uri = {s = 0x82f6adc
"sip:551150212372 at 200.225.81.91:5060", len = 35}
added_branches = <value optimized out>
i = <value optimized out>
q = 29
---Type <return> to continue, or q <return> to quit---
t_invite = <value optimized out>
success_branch = <value optimized out>
dst_uri = {s = 0x81dbeac "\316#\001", len = 1}
bk_sock = 0x0
br_flags = <value optimized out>
bk_br_flags = 0
idx = <value optimized out>
path = {s = 0xa87a0898 "", len = 134896156}
__FUNCTION__ = "t_forward_nonack"
#14 0x00131d18 in t_relay_to (p_msg=0x81dbeac, proxy=0x0, flags=<value
optimized out>) at t_funcs.c:249
ret = <value optimized out>
new_tran = <value optimized out>
reply_ret = <value optimized out>
t = 0xa87a0898
__FUNCTION__ = "t_relay_to"
#15 0x00145481 in w_t_relay (p_msg=0x81dbeac, proxy=0x0, flags=0x0) at tm.c:1081
t = <value optimized out>
ret = <value optimized out>
__FUNCTION__ = "w_t_relay"
#16 0x080546fd in do_action (a=0x81bfa5c, msg=0x81dbeac) at action.c:967
val_s = {s = 0x0, len = 65537}
aux = {s = 0x765c00 "DXv", len = 0}
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 = 0x80e71a4 "\211Ƌ\025p#\032\b\306\002", len
= -1476567040}, passwd = {
s = 0x2b <Address 0x2b out of bounds>, len = -1077715512},
host = {s = 0x80af542 "\211Å\300\017\204\242\t",
len = 136002560}, port = {s = 0xd <Address 0xd out of
bounds>, len = 220584}, params = {s = 0x81c35cb "to_bkp)", len = 3},
headers = {s = 0x1f1b550 <Address 0x1f1b550 out of bounds>,
len = -1465849692}, port_no = 23548, proto = 2058,
type = 6854089, transport = {s = 0x765c00 "DXv", len =
135865562}, ttl = {s = 0xc <Address 0xc out of bounds>,
len = 136171340}, user_param = {s = 0xc <Address 0xc out
of bounds>, len = -1077715656}, maddr = {
s = 0x80e767c
"\211\301\205\300t\026\213\065\374s\027\b\213\006\211A\004\211\016\061\300\203\304\060[^]á$]\027\b\203\070\377|S\213\r(]\027\b\205\311tP\350s\270\367\377\211ƍ]\364\211\034$袯\366\377\307D$\004\240*\033\b\211\034$貲\366\377\306\005\263*\033\b",
len = 3}, method = {s = 0x81c35cb "to_bkp)", len = 6}, lr = {s =
0x81dcf4c ";rport=5060", len = 12}, r2 = {
s = 0x81dbeac "\316#\001", len = 0}, transport_val = {s =
0x173d42 "\203\300\001\017\204'\t", len = 136167084}, ttl_val = {
s = 0x100 <Address 0x100 out of bounds>, len = 0},
user_param_val = {s = 0x0, len = 136066652}, maddr_val = {
---Type <return> to continue, or q <return> to quit---
s = 0x81c35cb "to_bkp)", len = -1077715576}, method_val =
{s = 0x808fc35 "\205\300\017\210\356\001", len = 3}, lr_val = {
s = 0x81c35cb "to_bkp)", len = 6}, r2_val = {s = 0x81dcf4c
";rport=5060", len = 12}}
next_hop = {user = {s = 0xbfc35c4c "B \255\250\f", len =
-1077715848}, passwd = {
s = 0x8096f97 "\211E\274\205\300\017\204U\004", len = 1},
host = {s = 0x81c369b "to)", len = 2}, port = {
s = 0xbfc35c4c "B \255\250\f", len = 0}, params = {
s = 0xbfc35c6c "\254\276\035\b\254\276\035\b
7\034\b\270\\ÿe\357\b\b\254\276\035\b,7\034\b\250]ÿ\310$\031\b\264v/\b\330v/\b\244蠨Ġ",
<incomplete sequence \375\247>, len = -1077715816}, headers = {s =
0x81dbeac "\316#\001", len = 136167084},
port_no = 8232, proto = 43181, type = 3217251448, transport
= {s = 0x808a39c "\203\304,[^_]É\034$\350\336&\b",
len = -1077715544}, ttl = {s = 0x1 <Address 0x1 out of
bounds>, len = -1077715704}, user_param = {
s = 0xa8ad2042 "551150212372", len = 12}, maddr = {s =
0x81c369b "to)", len = 2}, method = {
s = 0x80546fd
"\211Ƌ;\351\265\350\377\377\213_\b\211\034$\350\223", <incomplete
sequence \347>, len = 0}, lr = {s = 0x0,
len = 65536}, r2 = {s = 0x81dbeac "\316#\001", len =
136167084}, transport_val = {s = 0x81c3720 "\004",
len = -1077715784}, ttl_val = {
s = 0x808ef65
"\211\302\205\300\017\205\377\376\377\377\213G0\205\300\017\204\364\376\377\377\213}\020\211|$\b\211D$\004\211\034$\350[\005\005",
len = 136167084}, user_param_val = {s = 0x81c372c "", len =
-1077715544}, maddr_val = {
s = 0x81924c8 "Max-Forwards: 69\r\nDate: Fri, 20 Aug 2010
19:31:12 GMT\r\nAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER,
SUBSCRIBE, NOTIFY\r\nSupported: replaces\r\nContent-Type:
application/sdp\r\nContent-Length: 261\r\n\r\nv="..., len =
137328308},
method_val = {s = 0x82f76d8 "9dc4 ", len = -1465849692},
lr_val = {s = 0xa7fda0c4 "", len = 1024}, r2_val = {
s = 0x2b <Address 0x2b out of bounds>, len = -1077715720}}
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 = 0x46 <Address 0x46 out of bounds>, len =
-1077715528}, ri = 6860379, flags = 814731889}
name_s = {s = 0xbfc35df8 "", len = 50}
__FUNCTION__ = "do_action"
#17 0x08057428 in run_action_list (a=0x81bfa5c, msg=0x81dbeac) at action.c:139
ret = 136051400
t = 0x81bfa5c
__FUNCTION__ = "run_action_list"
#18 0x080aeffe in eval_elem (e=0x81bfac8, msg=0x81dbeac, val=0x0) at
route.c:1240
__FUNCTION__ = "eval_elem"
#19 eval_expr (e=0x81bfac8, msg=0x81dbeac, val=0x0) at route.c:1537
ret = <value optimized out>
rec_lev = 3
__FUNCTION__ = "eval_expr"
#20 0x080aea79 in eval_expr (e=0x81bfaf4, msg=0x81dbeac, val=0x0) at
route.c:1553
ret = <value optimized out>
rec_lev = 3
__FUNCTION__ = "eval_expr"
---Type <return> to continue, or q <return> to quit---
#21 0x080aea0f in eval_expr (e=0x81bfb20, msg=0x81dbeac, val=0x0) at
route.c:1558
ret = <value optimized out>
rec_lev = 3
__FUNCTION__ = "eval_expr"
#22 0x080534e2 in do_action (a=0x81bfe54, msg=0x81dbeac) at action.c:689
val_s = {s = 0x1b7c88 "\003", len = 135865265}
aux = {s = 0x80f2cb3 "\205\300\017\204v\002", len = 1801332}
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 = 0x81dd610
"T\305\035\b,\326\035\bt\331\035\b\377\377\377\377", len = 136164848},
passwd = {
s = 0x81dc570 "accinsert into acc
(method,from_tag,to_tag,callid,sip_code,sip_reason,time,src_user,src_domain,dst_user,dst_domain,src_ip,src_gw,dst_gw
) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)", len = 1}, host = {s =
0x81bebc4 "\001", len = 136167084}, port = {
s = 0x4 <Address 0x4 out of bounds>, len = -1077713928}, params = {
s = 0x80aea0f
"\211\306\351@\377\377\377\213M\020\211L$\b\213U\f\211T$\004\213s\f\211\064$\350\071\376\377\377\211ƅ\300\017\205\035\377\377\377\213u\020\211t$\b\213E\f\211D$\004\213{\030\211<$\350\026\376\377\377\211\306\351\375\376\377\377\377$\275\254c\025\b\213}\020\211|$\b\213M\f\211L$\004\213S\f\211\024$\350\357\375\377\377\211ƃ",
<incomplete sequence \370>, len = 136047512},
headers = {s = 0x81dbeac "\316#\001", len = 0}, port_no =
33148, proto = 200, type = 136164848, transport = {
s = 0xe <Address 0xe out of bounds>, len = 137380720}, ttl
= {s = 0x8304404 "\001", len = 135865270}, user_param = {
s = 0x6 <Address 0x6 out of bounds>, len = -1077713560}, maddr = {
s = 0x810db7e
"\211\205\230\376\377\377\205\300\017\204\060\070", len = 136002560},
method = {
s = 0x20 <Address 0x20 out of bounds>, len = -1077714120},
lr = {s = 0x1a718c "\034\300", len = 14}, r2 = {
s = 0x1b7b00 "\220r\032", len = -1077713992}, transport_val = {
s = 0x19df26
"\205\300\017\211\066\376\377\377\213\203\210\377\377\377\213\020\203:\377|K\213\213l\377\377\377\213\071\205\377t\207\350\250\346\377\377\211E\274\215}\360\211<$\350z\346\377\377\213\263\264\377\377\377\211t$\004\211<$\350\070\347\377\377\306F\023",
len = 136164848}, ttl_val = {s = 0x1b7b00 "\220r\032", len = 1801312},
user_param_val = {s = 0xe <Address 0xe out of bounds>,
len = 2095932}, maddr_val = {s = 0x1b7cec "\003", len =
7}, method_val = {s = 0x1ff32c "T\001\003", len = -1466199576},
lr_val = {s = 0x81dbeac "\316#\001", len = -1077713800},
r2_val = {s = 0x1b75b8 "I\201\263\250\a", len = 7}}
next_hop = {user = {s = 0xa8b240dc ",", len = -1077714328},
passwd = {s = 0x808a39c "\203\304,[^_]É\034$\350\336&\b",
len = -1077714152}, host = {s = 0x1 <Address 0x1 out of
bounds>, len = 0}, port = {s = 0x10 <Address 0x10 out of bounds>,
len = 136110868}, params = {s = 0x9f1272d "dst_gw) ", len
= 6}, headers = {s = 0x0, len = 0}, port_no = 0, proto = 0,
type = 65558, transport = {s = 0xa8b37d70 "\315\"\001", len
= -1464631952}, ttl = {s = 0x81b8070 "\004", len = -1077714264},
user_param = {
s = 0x808ef65
"\211\302\205\300\017\205\377\376\377\377\213G0\205\300\017\204\364\376\377\377\213}\020\211|$\b\211D$\004\211\034$\350[\005\005",
len = -1464631952}, maddr = {s = 0x81b807c "", len = -1077714152},
method = {s = 0x3 <Address 0x3 out of bounds>,
len = 135865788}, lr = {s = 0x0, len = 0}, r2 = {s =
0xc7e1e8 "\201Ô\237", len = 1282321010}, transport_val = {
---Type <return> to continue, or q <return> to quit---
s = 0x81a27a0 "", len = 3}, ttl_val = {s = 0x0, len = 0},
user_param_val = {
s = 0x81dd60c
"T\305\035\bT\305\035\b,\326\035\bt\331\035\b\377\377\377\377", len =
136168788}, maddr_val = {
s = 0x81dd62c "t\331\035\bx\331\035\b\274\200\263\250",
len = 136168788}, method_val = {
s = 0x3 <Address 0x3 out of bounds>, len = -1077714152},
lr_val = {s = 0x81b2aa4 "", len = 13136386}, r2_val = {
s = 0xbfc362f8 "", len = -1077714072}}
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 = 0xa89b91bc "\003", len = 136167084}, ri = 2,
flags = 14}
name_s = {s = 0x0, len = 136167084}
__FUNCTION__ = "do_action"
#23 0x08057428 in run_action_list (a=0x81bf1d0, msg=0x81dbeac) at action.c:139
ret = -1
t = 0x81bfe54
__FUNCTION__ = "run_action_list"
#24 0x080555c7 in do_action (a=0x81befac, msg=0x81dbeac) at action.c:119
val_s = {s = 0xc <Address 0xc out of bounds>, len = 5}
aux = {s = 0x82f8850 "HG0\b\204\060\060\b", len = 137348660}
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 = 0xc8 <Address 0xc8 out of bounds>, len =
-1077713264}, passwd = {s = 0xbfc3668c "Z\035\021",
len = 135865445}, host = {s = 0x9f327d8 "lan_group_id",
len = 137381704}, port = {
s = 0x187c8 <Address 0x187c8 out of bounds>, len =
10205564}, params = {s = 0x9d3ff4 "\234=\235", len = 88}, headers = {
s = 0xbfc36680 "4\306/\b\f", len = -1077713408}, port_no =
38059, proto = 143, type = 10305524, transport = {
s = 0x2 <Address 0x2 out of bounds>, len = 0}, ttl = {s =
0x400 <Address 0x400 out of bounds>, len = 1024}, user_param = {
s = 0x400 <Address 0x400 out of bounds>, len = 135865300},
maddr = {s = 0xb7fc19 <Address 0xb7fc19 out of bounds>,
len = 135865361}, method = {
s = 0x8192513 "CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY\r\nSupported: replaces\r\nContent-Type:
application/sdp\r\nContent-Length: 261\r\n\r\nv=0\r\no=root 2780 2780
IN IP4 201.xxx.xxx.xxx\r\ns=session\r\nc=IN IP4
201.xxx.xxx.xxx\r\n"..., len = -1468095672},
lr = {s = 0xbfc36654 "\223&\031\b\344E0\bI", len = 9440192},
r2 = {s = 0x9d5140 "", len = 4}, transport_val = {
s = 0x14 <Address 0x14 out of bounds>, len = 200}, ttl_val
= {s = 0xa87ea314 "", len = 137381348}, user_param_val = {
---Type <return> to continue, or q <return> to quit---
s = 0x8192393 "Via: SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:6749551150212372 at 200.xxx.xxx.xxx>\r\nContact:
<sip:bbbted at 200.155"..., len = 137381348},
maddr_val = {s = 0x8304608 "as65 ", len = -1077713208}, method_val = {
s = 0x80efc19
"\211EЋ>\215G\001\203\370(w\a\377$\205\034\346\025\b\241$]\027\b\203\070\376\017\215\326\001",
len = 135865235}, lr_val = {s = 0x8192693 "", len =
137381348}, r2_val = {s = 0x49 <Address 0x49 out of bounds>, len =
73}}
next_hop = {user = {
s = 0xa891e211 "a1b486\r\nTo:
<sip:6749551156733228 at 200.xxx.xxx.xxx>;tag=a94c095b773be1dd6e8d668a785a9c84ab2a6f87\r\nContact:
<sip:551156733228 at 200.225.81.91:5060>\r\nRecord-Route:
<sip:200.xxx.xxx.xxx;lr=on;ftag=as46a1b486>\r\n"..., len =
-1466834332},
passwd = {s = 0x1 <Address 0x1 out of bounds>, len =
136099868}, host = {s = 0xe8 <Address 0xe8 out of bounds>, len = 200},
port = {s = 0x46 <Address 0x46 out of bounds>, len = 0},
params = {s = 0x4 <Address 0x4 out of bounds>, len = 114},
headers = {s = 0x0, len = 95363976}, port_no = 402, proto =
0, type = 3217253800, transport = {
s = 0x123ac5 "\201\303\377\260\003", len = 135865236}, ttl = {
s = 0xa891e134 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP
201.xxx.xxx.xxx:5060;received=201.xxx.xxx.xxx;branch=z9hG4bK61e18813;rport=5060\r\nCall-ID:
4a60a3c50ee35c1b3a1d92e41790f4f4 at 200.xxx.xxx.xxx\r\nFrom:
\"01131327077\" <sip:bbbted at 20"..., len = 137380868},
user_param = {s = 0x1 <Address 0x1 out of bounds>, len =
135866003}, maddr = {
s = 0x8192398 "SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:6749551150212372 at 200.xxx.xxx.xxx>\r\nContact:
<sip:bbbted at 201.xxx.xxx.xxx"..., len = -1077713336}, method = {
s = 0x80eec1e
"\211E\300\213\225d\377\377\377\203:\377\017\204\254\t", len =
135865240}, lr = {s = 0x8192693 "",
len = 137380868}, r2 = {s = 0x830535c
"sip:551150212372 at 200.xxx.xxx.xxx", len = 1085}, transport_val = {s =
0x0, len = 1},
ttl_val = {s = 0x12bb92 "\201\303\062\060\003", len = 1085},
user_param_val = {s = 0x0, len = 0}, maddr_val = {
s = 0x8192398 "SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:6749551150212372 at 200.xxx.xxx.xxx>\r\nContact:
<sip:bbbted at 201.xxx.xxx.xxx"..., len = 1}, method_val = {
s = 0xa87ea1fc "", len = -1077713240}, lr_val = {s =
0x8304404 "\001", len = 136167084}, r2_val = {s = 0x0, 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 = 0x819238a "SIP/2.0\r\nVia: SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:6749551150212372 at 200.xxx.xxx.xxx>\r\nContact: <sip:braste"...,
len = -1077713208},
ri = 135224866, flags = 2}
name_s = {s = 0x111d5a "\201ê*", len = 135866003}
__FUNCTION__ = "do_action"
#25 0x08057428 in run_action_list (a=0x81bbd30, msg=0x81dbeac) at action.c:139
ret = 1
t = 0x81befac
__FUNCTION__ = "run_action_list"
#26 0x080577c3 in run_actions (a=0x81bbd30, msg=0x81dbeac) at action.c:119
__FUNCTION__ = "run_actions"
#27 run_top_route (a=0x81bbd30, msg=0x81dbeac) at action.c:180
---Type <return> to continue, or q <return> to quit---
bk_action_flags = 0
bk_rec_lev = 0
#28 0x0809db32 in receive_msg (
buf=0x8192360 "INVITE sip:6749551150212372 at 200.xxx.xxx.xxx
SIP/2.0\r\nVia: SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:67495511502"..., len=819, rcv_info=0xbfc367b4)
at receive.c:162
msg = <value optimized out>
__FUNCTION__ = "receive_msg"
#29 0x080e4d96 in udp_rcv_loop () at udp_server.c:492
len = 819
tmp = <value optimized out>
from = <value optimized out>
fromlen = 16
ri = {src_ip = {af = 2, len = 4, u = {addrl = {1392876488,
135585078, 3217254360, 9176822}, addr32 = {1392876488, 135585078,
3217254360, 9176822}, addr16 = {39880, 21253, 56630,
2068, 26584, 49091, 1782, 140},
addr = "ț\005S6\335\024\b\330gÿ\366\006\214"}}, dst_ip =
{af = 2, len = 4, u = {addrl = {1179771336, 0, 0, 0},
addr32 = {1179771336, 0, 0, 0}, addr16 = {57800, 18001,
0, 0, 0, 0, 0, 0},
addr = "\310\341QF", '\000' <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\304ț\005S\000\000\000\000\000\000\000"}, sin = {
sin_family = 2, sin_port = 50195, sin_addr = {s_addr =
1392876488}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {
sin6_family = 2, sin6_port = 50195, sin6_flowinfo =
1392876488, sin6_addr = {in6_u = {
u6_addr8 = '\000' <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 = 0x81b81b4}
p = <value optimized out>
buf = "INVITE sip:6749551150212372 at 200.xxx.xxx.xxx
SIP/2.0\r\nVia: SIP/2.0/UDP
201.xxx.xxx.xxx:5060;branch=z9hG4bK2575bce2;rport\r\nFrom:
\"01131327077\" <sip:bbbted at 200.xxx.xxx.xxx>;tag=as6819da5c\r\nTo:
<sip:67495511502"...
__FUNCTION__ = "udp_rcv_loop"
#30 0x08070820 in main_loop (argc=5, argv=0xbfc369b4) at main.c:818
i = 1
pid = <value optimized out>
si = <value optimized out>
startup_done = 0x0
chd_rank = 2
__FUNCTION__ = "main_loop"
#31 main (argc=5, argv=0xbfc369b4) at main.c:1388
cfg_log_stderr = 0
cfg_stream = 0x9f05008
c = <value optimized out>
r = <value optimized out>
tmp = 0xbfc37bf5 ""
tmp_len = <value optimized out>
port = 9174453
proto = <value optimized out>
---Type <return> to continue, or q <return> to quit---
ret = <value optimized out>
seed = 712018567
rfd = 4
__FUNCTION__ = "main"
--
Adelson
More information about the Users
mailing list