[SR-Users] dmq_usrloc - which server?
Carsten Bock
carsten at ng-voice.com
Thu Feb 1 10:01:39 CET 2018
Hi Alex,
i have a setup, where I do a similar thing (except that the
Path-Header is added by another Proxy in front of Kamailio). I can
confirm, that "dmq_usrloc" replicates the Path as well on Kamailio
5.0.5:
U 2018/02/01 09:56:44.779300 37.120.180.58:5060 -> 37.120.181.229:5060
KDMQ sip:usrloc at 37.120.181.229:5060 SIP/2.0.
Via: SIP/2.0/UDP
37.120.180.58;branch=z9hG4bK2d05.fd672857000000000000000000000000.0.
To: <sip:usrloc at 37.120.181.229:5060>.
From: <sip:usrloc at 37.120.180.58:5060>;tag=e94ea6a75c2153ce030bc5ab6be9dab2-364e.
CSeq: 10 KDMQ.
Call-ID: 24984627006a76f0-18299 at 37.120.180.58.
Content-Length: 436.
User-Agent: Registrar.
Max-Forwards: 1.
Content-Type: application/json.
.
{"action":1,"aor":"b0bba8305d50a86667e5f4ee681eb1238f370e64 at localhost","ruid":"uloc-5a5bd00d-4772-245f2","c":"sip:ab21155bd3a2f8e7 at 37.120.181.198:5070;transport=udp","received":"","path":"<sip:37.120.180.6:5060;lr>","callid":"6D5E123F-5A72D64C000BD2B4-E2316700","user_agent":"STARFACE
PBX","instance":"","expires":1517476004,"cseq":10,"flags":0,"cflags":0,"q":-1,"last_modified":1517475404,"methods":4294967295,"reg_id":0,"server_id":0}
You said, that Path is not populated even in the local registry.
Probably you should check this without DMQ initially, because I
believe at least locally without DMQ the Path should be populated in
your config.
Thanks,
Carsten
2018-02-01 9:29 GMT+01:00 Alex Balashov <abalashov at evaristesys.com>:
> Ah, thank you for that! I had tried calling msg_apply_changes() after
> using add_path(), but didn't realise that it's dependent on relay rather
> than just adding it to the existing message lumps. However, to your
> point, the documentation does say that the "outgoing" interface address
> is populated by add_path*(), which of course means that has to be known.
>
> Nevertheless, Path is not being replicated. Furthermore, after upgrading
> to 5.1, I am not getting any replication of remote contacts whatsoever,
> even with no path involvement. And "socket" is still not an attribute of
> the DMQ messages being passed:
>
> KDMQ sip:usrloc at 100.2.160.20 SIP/2.0
> Via: SIP/2.0/UDP 100.2.128.20;branch=z9hG4bKc0ec.d07b9da1000000000000000000000000.0
> To: <sip:usrloc at 100.2.160.20>
> From: <sip:usrloc at 100.2.128.20:5060>;tag=68a630e496181361fe35a2f5a89714ad-02ab
> CSeq: 10 KDMQ
> Call-ID: 4cf0c5e5257bcb22-6408 at 100.2.99.211
> Content-Length: 461
> User-Agent: kamailio (5.1.1 (x86_64/linux))
> Max-Forwards: 1
> Content-Type: application/json
>
> {"action":1,"aor":"marshal at org","ruid":"uloc-5a712c1a-1901-dae1","c":"sip:va-server at 100.2.129.149:6060;ob","received":"sip:100.2.129.149:6060","path":"","callid":"R6m3zCogWsifTLebJ7n6zmlGHOwk1xA6","user_agent":"CallServer","instance":"","expires":1517473708,"cseq":5015,"flags":0,"cflags":0,"q":0,"last_modified":1517473678,"methods":8159,"reg_id":0,"server_id":0}
>
>
> -- Alex
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Carsten Bock
CEO (Geschäftsführer)
Meet us at MWC 2018 in Barcelona and see IMS and VoLTE in action!
(February 26th - March 1st, Hall 7 - Booth 7L80)
ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten at ng-voice.com
Office +49 40 5247593-40
Fax +49 40 5247593-99
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
More information about the sr-users
mailing list