[Freeswitch-users] sip capture

Markus Bönke mbodbg at gmx.net
Fri Nov 23 12:18:05 UTC 2018


If you type "sofia help" in fs_cli you can see there is both:

sofia global siptrace <on|off>

to enable/disable the sip trace 

sofia        capture  <on|off>

to enable/disable capturing, e.g. sending the traces to a caputue server (kamailio/homer). The Sip trace is working at my side, but no capture ...

Thanks and regards 

Markus


> Am 23.11.2018 um 10:18 schrieb Vallimamod Abdullah <vma at vallimamod.org>:
> 
> Hi,
> 
> The correct command for sip tracing is: sofia global siptrace on
> 
> 
> Best Regards,
> -- 
> Vallimamod Abdullah
> SIP Solutions
> vma at sip.solutions <mailto:vma at sip.solutions>
> linkedin.com/in/vallimamod
> .
> 
> 
>> On 22 Nov 2018, at 13:24, Markus Bönke <mbodbg at gmx.net <mailto:mbodbg at gmx.net>> wrote:
>> 
>> I also tried "sofia global capture on", it returns:
>> 
>> +OK Global capture on
>> nua.c:575 nua_set_params() nua: nua_set_params: entering
>> nua_stack.c:529 nua_signal() nua((nil)): sent signal r_set_params
>> nua.c:575 nua_set_params() nua: nua_set_params: entering
>> nua_stack.c:529 nua_signal() nua((nil)): sent signal r_set_params
>> nua_stack.c:569 nua_stack_signal() nua((nil)): recv signal r_set_params
>> nua_stack.c:569 nua_stack_signal() nua((nil)): recv signal r_set_params
>> nua_params.c:482 nua_stack_set_params() nua: nua_stack_set_params: entering
>> nua_params.c:482 nua_stack_set_params() nua: nua_stack_set_params: entering
>> soa.c:403 soa_set_params() soa_set_params(static::0x7fd4f0001b50, ...) called
>> soa.c:403 soa_set_params() soa_set_params(static::0x7fd4f8001ae0, ...) called
>> nua_stack.c:271 nua_stack_event() nua((nil)): event r_set_params 200 OK
>> nua_stack.c:271 nua_stack_event() nua((nil)): event r_set_params 200 OK
>> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
>> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
>> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
>> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
>> 
>> But still nothing to see in the network trace.
>> 
>> I’m using version FreeSWITCH Version 1.8.2-3-a98a958~64bit (-3-a98a958 64bit) installed from the debian packages on Debian Jessie. Is it possible that capturing requires a special compiler switch, or is dependent on another freeswitch or kernel module?
>> 
>> Thanks and regards
>> 
>> Markus
>> 
>> 
>>> Am 21.11.2018 um 20:29 schrieb David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>>:
>>> 
>>> It shouldn't matter, as long as you set the trace on the right profile.
>>> Regards,
>>> 
>>> David Villasmil
>>> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
>>> phone: +34669448337
>>> 
>>>>>> 
>>> On Wed, Nov 21, 2018 at 6:50 PM Markus Bönke <mbodbg at gmx.net <mailto:mbodbg at gmx.net>> wrote:
>>> Hello David,
>>> 
>>> ngrep -qW byline port 9060 gives me no output. Also when I remove "hep=3;capture_id=2008“ from the capture-server parameter. If I start captagent on that server I can see the output, but then I cannot trace traffic over wss. Does it work at your site with 1.8.2?
>>> 
>>> Thanks and regards
>>> 
>>> Markus
>>> 
>>> 
>>>> Am 21.11.2018 um 01:46 schrieb David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>>:
>>>> 
>>>> can you execute on the fs box:
>>>> 
>>>> ngrep -qW byline port 9060
>>>> 
>>>> You SHOULD see packets going out, if not, then remove that "hep=3;capture_id=2008" from the capture server and try again, just in case.
>>>> 
>>>> Regards,
>>>> 
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
>>>> phone: +34669448337
>>>> 
>>>>>>>> 
>>>> On Tue, Nov 20, 2018 at 11:11 PM Markus Bönke <mbodbg at gmx.net <mailto:mbodbg at gmx.net>> wrote:
>>>> No errors, it just not sending anything.
>>>> 
>>>>> Am 13.11.2018 um 12:06 schrieb David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>>:
>>>>> 
>>>>> Do you get any error on the fs console/log?
>>>>> On Fri, 9 Nov 2018 at 19:52, Markus Bönke <mbodbg at gmx.net <mailto:mbodbg at gmx.net>> wrote:
>>>>> Hello, 
>>>>> 
>>>>> is sip-capture supported in 1.8.2? I’ve enabled sip capturing (as recommended at https://github.com/sipcapture/homer/wiki/Examples%3A-FreeSwitch <https://github.com/sipcapture/homer/wiki/Examples:-FreeSwitch>)
>>>>> 
>>>>>  <param name="sip-capture" value="yes"/>
>>>>>  <param name="capture-server" value="udp:192.168.156.57:9060;hep=3;capture_id=2008“/>
>>>>> 
>>>>> but in the network trace I cannot see the any HEP packets are send to the capture server. Do I need to configure something else?
>>>>> 
>>>>> Thanks and regards
>>>>> 
>>>>> Markus
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Services
>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>> https://cluecon.com <https://cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> https://freeswitch.com <https://freeswitch.com/>_________________________________________________________________________
>>>>> Professional FreeSWITCH Services
>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>> https://cluecon.com <https://cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>> https://freeswitch.com <https://freeswitch.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>> https://cluecon.com <https://cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> https://freeswitch.com <https://freeswitch.com/>_________________________________________________________________________
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>> https://freeswitch.com <https://freeswitch.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>> https://cluecon.com <https://cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> https://freeswitch.com <https://freeswitch.com/>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>> https://freeswitch.com <https://freeswitch.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>> https://cluecon.com <https://cluecon.com/>
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>> https://freeswitch.com <https://freeswitch.com/>_________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>> https://freeswitch.com <https://freeswitch.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> https://freeswitch.com
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>> https://freeswitch.com
>> 
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
> 
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181123/ef6ac78c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list