Hello,

then maybe the function from core that I spotted calling the onsend_route for replies is done only in stateless case. I will look at the tm code and come back with more details.

Cheers,
Daniel

On 31/08/15 19:32, Julia Boudniatsky wrote:
Hello Daniel,

When I run with debug=3, I don't see  message with "reply forward to".

That are received logs (without dialog part)  in replay 183: 

Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: tm [t_reply.c:1311]: t_should_relay_response(): ->>>>>>>>> T_code=100, new_code=183
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: tm [t_reply.c:1829]: relay_reply(): DEBUG: relay_reply: branch=1, save=0, relay=1 icode=0
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: tm [t_hooks.c:288]: run_trans_callbacks_internal(): DBG: trans=0x7fc307dcf4b8, callback type 32, id 0 entered
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: <core> [msg_translator.c:2278]: generate_res_buf_from_sip_res():  old size: 993, new size: 896
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: <core> [msg_translator.c:2296]: generate_res_buf_from_sip_res(): copied size: orig:446, new: 349, rest: 547 msg=
SIP/2.0 183 Session Progress
Via:SIP/2.0/UDP 192.168.180.1:5060;branch=z9hG4bK-61208600002ccddf-ac11bf17-1
From:<sip:506777498;ss7-cpc=10;cpc=ordinary@192.168.180.1;user=phone>;tag=6998741155494809055
To:<sip:D39539988202@10.25.153.150;user=phone>;tag=581042614-1441039641760
Call-ID:6998741155494809055-1441039607@172.17.191.23
CSeq:1 INVITE
Contact:<sip:10.25.148.41:5060>
Record-Route:<sip:10.25.153.150;lr;ftag=6998741155494809055>
Session: Media
RSeq:39056976
P-Asserted-Identity:"Test Julia"<sip:039988202@10.25.148.41;user=phone>
Privacy:none
Require:100rel
Allow:ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
Content-Type:application/sdp
Content-Length:198

v=0
o=BroadWorks 209562 1 IN IP4 10.25.148.43
s=-
c=IN IP4 10.25.148.43
t=0 0
m=audio 15944 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: tm [t_hooks.c:288]: run_trans_callbacks_internal(): DBG: trans=0x7fc307dcf4b8, callback type 1048576, id 0 entered


Thank you,

Julia

On Mon, Aug 31, 2015 at 7:24 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

do you get any other log error message?

If you run with debug=3, do you a message containing:

... reply forwarded to ...

?

Cheers,
Daniel


On 30/08/15 14:55, Julia Boudniatsky wrote:
Hello,

I set some logs in onsend_route and it works fine for requests.
With setting core parameter onsend_route_reply=1 ( yes, on), i expect to see logs for replays also, but it not occurs.
Is this a bug or I miss something?

version: kamailio 4.2.6 (x86_64/linux) db77ac

BR,
Julia


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com