Re: Topos and stun

Servan Kroes | Vcare via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <GV2PR04MB120661738799F46EE9F6310D2F687A@GV2PR04MB12066.eurprd04.prod.outlook.com>
Hi,

Yes. Thanks. This works! See the logs in pastebin: https://pastebin.com/AuCKNN13

Kind regards,
Servan Kroes



-----Oorspronkelijk bericht-----
Van: Daniel-Constantin Mierla <[email protected]>
Verzonden: dinsdag 6 januari 2026 09:17
Aan: Kamailio (SER) - Users Mailing List <[email protected]>
CC: Servan Kroes | Vcare <[email protected]>
Onderwerp: Re: [SR-Users] Re: Topos and stun

[U ontvang niet vaak e-mail van [email protected]. Meer informatie over waarom dit belangrijk is, vindt u op https://aka.ms/LearnAboutSenderIdentification]

Hello,

the stun module sent the response with a function triggering the SIP-message-out callbacks, I pushed a commit for it:

  -
https://github.com/kamailio/kamailio/commit/6d1fe099e284514be05a56f235dcd3ce2325fa67

It will be backported.

Cheers,
Daniel

On 06.01.26 08:39, Servan Kroes | Vcare via sr-users wrote:
> Hi,
>
> Yes, I do.
>
> kamcmd> core.modules
> db_sqlite
> topos_htable
> topos
> jansson
> xhttp_prom
> jsonrpcs
> xhttp_rpc
> xhttp
> dispatcher
> ndb_redis
> db_redis
> outbound
> stun
> secfilter
> pike
> htable
> http_client
> sdpops
> siptrace
> permissions
> nathelper
> sanity
> maxfwd
> path
> rr
> textopsx
> textops
> siputils
> pv
> kex
> sl
> tmx
> tm
> cfg_rpc
> xlog
> ctl
> kamcmd> version
> kamailio 6.0.4 (x86_64/linux) 2a9078
> kamcmd>
>
> Kind regards,
> Servan Kroes
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Henning Westerholt <[email protected]>
> Verzonden: maandag 5 januari 2026 18:07
> Aan: Kamailio (SER) - Users Mailing List <[email protected]>
> CC: Servan Kroes | Vcare <[email protected]>
> Onderwerp: [SR-Users] Re: Topos and stun
>
> Hello,
>
> Just to verify, did you actually load the stun module in your kamailio.cfg?
>
> Cheers,
>
> Henning
>
> --
> Kamailio services -
> https://gila/
> wa.com%2F&data=05%7C02%7C%7C621acec3e5274992f37608de4cfbf3d9%7C83374a5
> 0c7ee45148c4a3666f00459d3%7C0%7C0%7C639032842859773857%7CUnknown%7CTWF
> pbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsI
> kFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=vIL4%2BAsTx9O3a
> fUtf080UZ6NUSUovaGTliqCPRAdwPQ%3D&reserved=0
>
>> -----Original Message-----
>> From: Servan Kroes via sr-users <[email protected]>
>> Sent: Montag, 5. Januar 2026 11:17
>> To: [email protected]
>> Cc: Servan Kroes <[email protected]>
>> Subject: [SR-Users] Re: Topos and stun
>>
>> Sorry: This is the good log:
>> Jan  5 10:12:14 vm-kamailio kamailio[4163314]:  5(4163314) DEBUG:
>> <core>
>> [core/udp_server.c:741]: udp_rcv_loop(): probing packet received from
>> 192.168.22.127 9601
>> Jan  5 10:12:15 vm-kamailio kamailio[4163315]:  6(4163315) DEBUG:
>> <core>
>> [core/stun.c:42]: stun_process_msg(): STUN Message: [[>>> Jan  5
>> 10:12:15 vm-kamailio kamailio[4163315]: <<<]] Jan  5 10:12:15
>> vm-kamailio kamailio[4163315]:  6(4163315) INFO: <core>
>> [core/parser/parse_fline.c:145]: parse_first_line(): method not
>> followed by SP Jan  5 10:12:15 vm-kamailio kamailio[4163315]:
>> 6(4163315) ERROR: <core>
>> [core/parser/parse_fline.c:274]: parse_first_line(): parse_first_line:
>> bad message (offset: 0) Jan  5 10:12:15 vm-kamailio kamailio[4163315]:
>> 6(4163315) DEBUG: <core>
>> [core/parser/msg_parser.c:721]: parse_msg(): invalid message Jan  5
>> 10:12:15 vm-kamailio kamailio[4163315]:  6(4163315) ERROR: <core>
>> [core/parser/msg_parser.c:794]: parse_msg(): ERROR: parse_msg:
>> message=<#001#001>
>> Jan  5 10:12:15 vm-kamailio kamailio[4163315]:  6(4163315) DEBUG:
>> topos
>> [topos_mod.c:446]: tps_prepare_msg(): outbuf buffer parsing failed!
>> Jan  5 10:12:15 vm-kamailio kamailio[4163316]:  7(4163316) DEBUG:
>> <core>
>> [core/udp_server.c:718]: udp_rcv_loop(): received on udp socket:
>> (94/28/28) [[ 00  01  00  08  02  A6 P_ 97  1A  D8 , AE  CF  C8 c 06
>> u
>> E6 7 00  03  00  04  00
>> 00  00  04 ]]
>> Jan  5 10:12:15 vm-kamailio kamailio[4163316]:  7(4163316) DEBUG:
>> <core>
>> [core/stun.c:42]: stun_process_msg(): STUN Message: [[>>> Jan  5
>> 10:12:15 vm-kamailio kamailio[4163316]: <<<]] Jan  5 10:12:15
>> vm-kamailio kamailio[4163316]:  7(4163316) INFO: <core>
>> [core/parser/parse_fline.c:145]: parse_first_line(): method not
>> followed by SP Jan  5 10:12:15 vm-kamailio kamailio[4163316]:
>> 7(4163316) ERROR: <core>
>> [core/parser/parse_fline.c:274]: parse_first_line(): parse_first_line:
>> bad message (offset: 0) Jan  5 10:12:15 vm-kamailio kamailio[4163316]:
>> 7(4163316) DEBUG: <core>
>> [core/parser/msg_parser.c:721]: parse_msg(): invalid message Jan  5
>> 10:12:15 vm-kamailio kamailio[4163316]:  7(4163316) ERROR: <core>
>> [core/parser/msg_parser.c:794]: parse_msg(): ERROR: parse_msg:
>> message=<#001#001>
>> Jan  5 10:12:15 vm-kamailio kamailio[4163316]:  7(4163316) DEBUG:
>> topos
>> [topos_mod.c:446]: tps_prepare_msg(): outbuf buffer parsing failed!
>> Jan  5 10:12:15 vm-kamailio kamailio[4163317]:  8(4163317) DEBUG:
>> <core>
>> [core/udp_server.c:718]: udp_rcv_loop(): received on udp socket:
>> (91/28/28) [[ 00  01  00  08  03  E0  EB N E6 A`Q C8 3 89 ~ D0  C9
>> E9 v 00  03  00  04  00
>> 00  00  02 ]]
>> Jan  5 10:12:15 vm-kamailio kamailio[4163317]:  8(4163317) DEBUG:
>> <core>
>> [core/stun.c:42]: stun_process_msg(): STUN Message: [[>>> Jan  5
>> 10:12:15 vm-kamailio kamailio[4163317]: <<<]] Jan  5 10:12:15
>> vm-kamailio kamailio[4163317]:  8(4163317) INFO: <core>
>> [core/parser/parse_fline.c:145]: parse_first_line(): method not
>> followed by SP Jan  5 10:12:15 vm-kamailio kamailio[4163317]:
>> 8(4163317) ERROR: <core>
>> [core/parser/parse_fline.c:274]: parse_first_line(): parse_first_line:
>> bad message (offset: 0) Jan  5 10:12:15 vm-kamailio kamailio[4163317]:
>> 8(4163317) DEBUG: <core>
>> [core/parser/msg_parser.c:721]: parse_msg(): invalid message Jan  5
>> 10:12:15 vm-kamailio kamailio[4163317]:  8(4163317) ERROR: <core>
>> [core/parser/msg_parser.c:794]: parse_msg(): ERROR: parse_msg:
>> message=<#001#001>
>> Jan  5 10:12:15 vm-kamailio kamailio[4163317]:  8(4163317) DEBUG:
>> topos
>> [topos_mod.c:446]: tps_prepare_msg(): outbuf buffer parsing failed!
>>
>> I running it with kamailio 6.0.4 with topos.
>>
>> Kind regards,
>> Servan Kroes
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions -- sr-
>> [email protected] To unsubscribe send an email to
>> [email protected]
>> Important: keep the mailing list in the recipients, do not reply only
>> to the sender!
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected] To unsubscribe send an email to
> [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the sender!


--
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio World Conference, May 7-8, 2026 - Berlin, Germany -- kamailioworld.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.