[OpenSIPS-Devel] [ opensips-Bugs-2904933 ] Field 'From' corrupted on HOLD

2010-07-15 Thread SourceForge.net
Bugs item #2904933, was opened at 2009-11-27 13:59
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2904933group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Closed
Resolution: Invalid
Priority: 2
Private: No
Submitted By: Vladimir Kuznetsov (kuznetsov82)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Field 'From' corrupted on HOLD

Initial Comment:
1. On first invite we use uac_replace_from in SIP config
2. On reinvite (hold) we have corrupt outgoing message like this (look to 
'From' field):
NVITE sip:tstsipu...@10.2.60.226:55748;rinstance=538c1ccfc0cc50ca SIP/2.0.
Via: SIP/2.0/UDP 10.2.176.238:5161;branch=z9hG4bK3077.feabda46.0.
Via: SIP/2.0/UDP 10.2.176.238;branch=z9hG4bK3077.b001a9f7.0.
Via: SIP/2.0/UDP 
10.2.60.226:31290;received=10.2.60.226;branch=z9hG4bK-d8754z-351d13144e767d31-1---d8754z-;rport=31290.
Max-Forwards: 68.
Route: sip:10.2.176.238;lr;ftag=322a7b31.
Contact: sip:2174626...@10.2.60.226:31290.
To: tstsipusr1sip:tstsipu...@yota.ru;tag=69525808.
From: 2174626949sip:thede...@yota.rusip:thede...@yota.ru;tag=322a7b31.
Call-ID: YzEyOTUzMjE4ZGJjMTkzYzgwZGE4OTkxMDA5YmNmNmU..
CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO.
Content-Type: application/sdp.
User-Agent: eyeBeam release 1102q stamp 51814.
Content-Length: 281.
.
v=0.
o=- 6 3 IN IP4 10.2.176.238.
s=CounterPath eyeBeam 1.5.
c=IN IP4 10.2.176.238.
t=0 0.
m=audio 21704 RTP/AVP 107 0 8 18 101.
a=fmtp:18 annexb=yes.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:18 G729/8000.
a=rtpmap:101 telephone-event/8000.
a=sendonly.
a=nortpproxy:yes.


function restore_from (uac module) was called twice:

#0  restore_from (msg=0x7df840, is_from=0x7fff1814d2bc) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x774f10, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x774fe0, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e725 in eval_expr (e=0x775028, msg=0x7df840, val=0x0) at 
route.c:1507
#9  0x0040cdef in do_action (a=0x7765a8, msg=0x7df840) at action.c:689
#10 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#11 0x00410bf9 in run_top_route (a=0x773c90, msg=0x7df840) at 
action.c:119
#12 0x0044f56f in receive_msg (
buf=0x7420c0 INVITE 
sip:andre...@10.2.44.153:56867;rinstance=b7437acf90db9db6 SIP/2.0\r\nVia: 
SIP/2.0/UDP 10.2.176.223;branch=z9hG4bK97f5.58d94591.0\r\nVia: SIP/2.0/UDP 
10.2.44.153:27905;received=10.2.44.153;branch=z9..., len=1011, 
rcv_info=0x7fff1814e300) at receive.c:164
#13 0x0048f05e in udp_rcv_loop () at udp_server.c:449
#14 0x004279be in main (argc=5, argv=0x7fff1814e508) at main.c:692


#0  restore_from (msg=0x7df840, is_from=0x7fff1814c31c) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x790e98, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x790f68, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e797 in eval_expr (e=0x791158, msg=0x7df840, val=0x0) at 
route.c:1490
#9  0x0045e797 in eval_expr (e=0x7913d8, msg=0x7df840, val=0x0) at 
route.c:1490
#10 0x0045e725 in eval_expr (e=0x791420, msg=0x7df840, val=0x0) at 
route.c:1507
#11 0x0040cdef in do_action (a=0x796380, msg=0x7df840) at action.c:689
#12 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#13 0x0040ec40 in do_action (a=0x796450, msg=0x7df840) at action.c:706
#14 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#15 0x0040ebac in do_action (a=0x7764d8, msg=0x7df840) at action.c:119
#16 0x0041089e in run_action_list (a=value optimized out, 

[OpenSIPS-Devel] [ opensips-Bugs-2904933 ] Field 'From' corrupted on HOLD

2009-11-30 Thread SourceForge.net
Bugs item #2904933, was opened at 2009-11-27 13:59
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2904933group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Vladimir Kuznetsov (kuznetsov82)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Field 'From' corrupted on HOLD

Initial Comment:
1. On first invite we use uac_replace_from in SIP config
2. On reinvite (hold) we have corrupt outgoing message like this (look to 
'From' field):
NVITE sip:tstsipu...@10.2.60.226:55748;rinstance=538c1ccfc0cc50ca SIP/2.0.
Via: SIP/2.0/UDP 10.2.176.238:5161;branch=z9hG4bK3077.feabda46.0.
Via: SIP/2.0/UDP 10.2.176.238;branch=z9hG4bK3077.b001a9f7.0.
Via: SIP/2.0/UDP 
10.2.60.226:31290;received=10.2.60.226;branch=z9hG4bK-d8754z-351d13144e767d31-1---d8754z-;rport=31290.
Max-Forwards: 68.
Route: sip:10.2.176.238;lr;ftag=322a7b31.
Contact: sip:2174626...@10.2.60.226:31290.
To: tstsipusr1sip:tstsipu...@yota.ru;tag=69525808.
From: 2174626949sip:thede...@yota.rusip:thede...@yota.ru;tag=322a7b31.
Call-ID: YzEyOTUzMjE4ZGJjMTkzYzgwZGE4OTkxMDA5YmNmNmU..
CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO.
Content-Type: application/sdp.
User-Agent: eyeBeam release 1102q stamp 51814.
Content-Length: 281.
.
v=0.
o=- 6 3 IN IP4 10.2.176.238.
s=CounterPath eyeBeam 1.5.
c=IN IP4 10.2.176.238.
t=0 0.
m=audio 21704 RTP/AVP 107 0 8 18 101.
a=fmtp:18 annexb=yes.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:18 G729/8000.
a=rtpmap:101 telephone-event/8000.
a=sendonly.
a=nortpproxy:yes.


function restore_from (uac module) was called twice:

#0  restore_from (msg=0x7df840, is_from=0x7fff1814d2bc) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x774f10, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x774fe0, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e725 in eval_expr (e=0x775028, msg=0x7df840, val=0x0) at 
route.c:1507
#9  0x0040cdef in do_action (a=0x7765a8, msg=0x7df840) at action.c:689
#10 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#11 0x00410bf9 in run_top_route (a=0x773c90, msg=0x7df840) at 
action.c:119
#12 0x0044f56f in receive_msg (
buf=0x7420c0 INVITE 
sip:andre...@10.2.44.153:56867;rinstance=b7437acf90db9db6 SIP/2.0\r\nVia: 
SIP/2.0/UDP 10.2.176.223;branch=z9hG4bK97f5.58d94591.0\r\nVia: SIP/2.0/UDP 
10.2.44.153:27905;received=10.2.44.153;branch=z9..., len=1011, 
rcv_info=0x7fff1814e300) at receive.c:164
#13 0x0048f05e in udp_rcv_loop () at udp_server.c:449
#14 0x004279be in main (argc=5, argv=0x7fff1814e508) at main.c:692


#0  restore_from (msg=0x7df840, is_from=0x7fff1814c31c) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x790e98, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x790f68, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e797 in eval_expr (e=0x791158, msg=0x7df840, val=0x0) at 
route.c:1490
#9  0x0045e797 in eval_expr (e=0x7913d8, msg=0x7df840, val=0x0) at 
route.c:1490
#10 0x0045e725 in eval_expr (e=0x791420, msg=0x7df840, val=0x0) at 
route.c:1507
#11 0x0040cdef in do_action (a=0x796380, msg=0x7df840) at action.c:689
#12 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#13 0x0040ec40 in do_action (a=0x796450, msg=0x7df840) at action.c:706
#14 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#15 0x0040ebac in do_action (a=0x7764d8, msg=0x7df840) at action.c:119
#16 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) 

[OpenSIPS-Devel] [ opensips-Bugs-2904933 ] Field 'From' corrupted on HOLD

2009-11-27 Thread SourceForge.net
Bugs item #2904933, was opened at 2009-11-27 14:59
Message generated for change (Tracker Item Submitted) made by kuznetsov82
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2904933group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vladimir Kuznetsov (kuznetsov82)
Assigned to: Nobody/Anonymous (nobody)
Summary: Field 'From' corrupted on HOLD

Initial Comment:
1. On first invite we use uac_replace_from in SIP config
2. On reinvite (hold) we have corrupt outgoing message like this (look to 
'From' field):
NVITE sip:tstsipu...@10.2.60.226:55748;rinstance=538c1ccfc0cc50ca SIP/2.0.
Via: SIP/2.0/UDP 10.2.176.238:5161;branch=z9hG4bK3077.feabda46.0.
Via: SIP/2.0/UDP 10.2.176.238;branch=z9hG4bK3077.b001a9f7.0.
Via: SIP/2.0/UDP 
10.2.60.226:31290;received=10.2.60.226;branch=z9hG4bK-d8754z-351d13144e767d31-1---d8754z-;rport=31290.
Max-Forwards: 68.
Route: sip:10.2.176.238;lr;ftag=322a7b31.
Contact: sip:2174626...@10.2.60.226:31290.
To: tstsipusr1sip:tstsipu...@yota.ru;tag=69525808.
From: 2174626949sip:thede...@yota.rusip:thede...@yota.ru;tag=322a7b31.
Call-ID: YzEyOTUzMjE4ZGJjMTkzYzgwZGE4OTkxMDA5YmNmNmU..
CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO.
Content-Type: application/sdp.
User-Agent: eyeBeam release 1102q stamp 51814.
Content-Length: 281.
.
v=0.
o=- 6 3 IN IP4 10.2.176.238.
s=CounterPath eyeBeam 1.5.
c=IN IP4 10.2.176.238.
t=0 0.
m=audio 21704 RTP/AVP 107 0 8 18 101.
a=fmtp:18 annexb=yes.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:18 G729/8000.
a=rtpmap:101 telephone-event/8000.
a=sendonly.
a=nortpproxy:yes.


function restore_from (uac module) was called twice:

#0  restore_from (msg=0x7df840, is_from=0x7fff1814d2bc) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x774f10, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x774fe0, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e725 in eval_expr (e=0x775028, msg=0x7df840, val=0x0) at 
route.c:1507
#9  0x0040cdef in do_action (a=0x7765a8, msg=0x7df840) at action.c:689
#10 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#11 0x00410bf9 in run_top_route (a=0x773c90, msg=0x7df840) at 
action.c:119
#12 0x0044f56f in receive_msg (
buf=0x7420c0 INVITE 
sip:andre...@10.2.44.153:56867;rinstance=b7437acf90db9db6 SIP/2.0\r\nVia: 
SIP/2.0/UDP 10.2.176.223;branch=z9hG4bK97f5.58d94591.0\r\nVia: SIP/2.0/UDP 
10.2.44.153:27905;received=10.2.44.153;branch=z9..., len=1011, 
rcv_info=0x7fff1814e300) at receive.c:164
#13 0x0048f05e in udp_rcv_loop () at udp_server.c:449
#14 0x004279be in main (argc=5, argv=0x7fff1814e508) at main.c:692


#0  restore_from (msg=0x7df840, is_from=0x7fff1814c31c) at from.c:423
#1  0x2b1f969d9279 in rr_checker (msg=0x7df840, r_param=value optimized 
out, cb_param=0x0) at from.c:543
#2  0x2b1f931f2f15 in run_rr_callbacks (req=0x7df840, 
rr_params=0x2b1f933f5ad0) at rr_cb.c:89
#3  0x2b1f931ed212 in after_loose (_m=0x7df840, preloaded=0) at loose.c:874
#4  0x2b1f931f0088 in loose_route (_m=0x7df840, _s1=value optimized out, 
_s2=value optimized out) at loose.c:910
#5  0x0040ddfc in do_action (a=0x790e98, msg=0x7df840) at action.c:962
#6  0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#7  0x0045ed02 in eval_expr (e=0x790f68, msg=0x7df840, val=0x0) at 
route.c:1189
#8  0x0045e797 in eval_expr (e=0x791158, msg=0x7df840, val=0x0) at 
route.c:1490
#9  0x0045e797 in eval_expr (e=0x7913d8, msg=0x7df840, val=0x0) at 
route.c:1490
#10 0x0045e725 in eval_expr (e=0x791420, msg=0x7df840, val=0x0) at 
route.c:1507
#11 0x0040cdef in do_action (a=0x796380, msg=0x7df840) at action.c:689
#12 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#13 0x0040ec40 in do_action (a=0x796450, msg=0x7df840) at action.c:706
#14 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at action.c:139
#15 0x0040ebac in do_action (a=0x7764d8, msg=0x7df840) at action.c:119
#16 0x0041089e in run_action_list (a=value optimized out, 
msg=0x7df840) at