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=183Aug 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=0Aug 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 enteredAug 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: 896Aug 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 ProgressVia:SIP/2.0/UDP 192.168.180.1:5060;branch=z9hG4bK-61208600002ccddf-ac11bf17-1To:<sip:D39539988202@10.25.153.150;user=phone>;tag=581042614-1441039641760CSeq:1 INVITEContact:<sip:10.25.148.41:5060>Record-Route:<sip:10.25.153.150;lr;ftag=6998741155494809055>Session: MediaRSeq:39056976P-Asserted-Identity:"Test Julia"<sip:039988202@10.25.148.41;user=phone>Privacy:noneRequire:100relAllow:ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATEContent-Type:application/sdpContent-Length:198
v=0o=BroadWorks 209562 1 IN IP4 10.25.148.43s=-c=IN IP4 10.25.148.43t=0 0m=audio 15944 RTP/AVP 8 101a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-15a=ptime:20Aug 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat