Hi Daniel. I just build with latest commit. It work as expected now. Now I can see captured packets as they was send and received by kamailio via network interfaces.
Thank you very match. I make patch which backports your commits to kamailio 4.3.4 please find it in attach -- Best regards, Sergey Basov e-mail: sergey.v.ba...@gmail.com tel: (+38067) 403-62-54 2016-01-13 1:06 GMT+02:00 Daniel-Constantin Mierla <mico...@gmail.com>: > Earlier today I pushed the patch to catch the incoming traffic before > topoh gets the chance to decode it. If you can try with latest master > and report the results, it will be appreciated. > > Cheers, > Daniel > > On 12/01/16 11:02, Sergey Basov wrote: >> I am sorry. >> I have missed commit 4fc969760d8eec6355ce661ccd3c5fd9ad2a36f0... >> >> Now all works as I had expected. >> >> Than you so match. >> >> If you are interesting, I now try to backport changes to kamailio 4.3.4. >> >> When it will be done I can email patch file to you. >> >> -- >> Best regards, >> Sergey Basov e-mail: sergey.v.ba...@gmail.com >> >> tel: (+38067) 403-62-54 >> >> >> 2016-01-12 10:45 GMT+02:00 Sergey Basov <sergey.v.ba...@gmail.com>: >>> Thank you for commits. >>> >>> I just try it and now I can see that sending packets captured properly.. >>> >>> Now there is a problem with receiving packets, I does not see Initial >>> invite from client into the capture. >>> >>> >>> -- >>> Best regards, >>> Sergey Basov e-mail: sergey.v.ba...@gmail.com >>> >>> tel: (+38067) 403-62-54 >>> >>> >>> 2016-01-11 23:54 GMT+02:00 Daniel-Constantin Mierla <mico...@gmail.com>: >>>> >>>> On 06/01/16 11:49, Daniel-Constantin Mierla wrote: >>>>> [...] >>>>>> But Packet which is send by siptrace module to homer capture server is >>>>>> send before topoh modifications. >>>>>> >>>>>> If you can correct this flow it will be great. >>>>> I will look into it as I said before. >>>> Can you try with master branch? I pushed a series of commits for this. >>>> You need to set siptrace modparam trace_mode to 1, then remove any use >>>> of sip_trace() function as well as setflag() with trace flag. >>>> >>>> The receiving is after topoh does decoding at this moment, but sending >>>> should be after topoh does enconding. Going to finalize the receiving >>>> soon, but thought you may want to give it a try and report if sending is >>>> captured properly. >>>> >>>> Cheers, >>>> Daniel >>>> >>>> -- >>>> Daniel-Constantin Mierla >>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >>>> Book: SIP Routing With Kamailio - http://www.asipto.com >>>> http://miconda.eu >>>> > > -- > Daniel-Constantin Mierla > http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda > Book: SIP Routing With Kamailio - http://www.asipto.com > http://miconda.eu >
kamailio-4.3.4-siptrace.patch.bz2
Description: BZip2 compressed data
_______________________________________________ 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