[SR-Users] alias_db muliple usernames for alias

Aidar Kamalov aidar.kamalov at gmail.com
Thu Sep 7 15:50:46 CEST 2017


Hello,
I have
modparam("alias_db", "append_branches", 1)

and table dbaliases
+----+----------------+-----------------+----------+-----------------+
| id | alias_username | alias_domain    | username | domain          |
+----+----------------+-----------------+----------+-----------------+
|  1 | 1111           | sipchel | 34200    | sipchel |
|  2 | 1111           | sipchel | 34201    | sipchel |
+----+----------------+-----------------+----------+-----------------+

If I call to 1111 ringing only 34200, because first invite is right
(resolving to username contact), but branch inivite is wrong. Is it bug or
it is my my fault?

First:
INVITE sip:34200 at 172.16.3.7:5060 SIP/2.0
Via: SIP/2.0/UDP
192.168.10.54;branch=z9hG4bKa277.42eb85466191923b73c9234c5c342b67.0
Via: SIP/2.0/UDP 172.16.3.4:5060;branch=z9hG4bK-c5fef8cc
From: "" <sip:53003 at 192.168.10.54>;tag=1898fba2a5729040o0
To: <sip:1111 at 192.168.10.54>


Second:
INVITE sip:34201 at sipchel SIP/2.0
Record-Route: <sip:192.168.10.54;lr=on;ftag=1898fba2a5729040o0;did=958.fd11>
Via: SIP/2.0/UDP
192.168.10.54;branch=z9hG4bKa277.42eb85466191923b73c9234c5c342b67.1
Via: SIP/2.0/UDP 172.16.3.4:5060;branch=z9hG4bK-c5fef8cc
From: "" <sip:53003 at 192.168.10.54>;tag=1898fba2a5729040o0
To: <sip:1111 at 192.168.10.54>


-- 
Aydar A. Kamalov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170907/10d2f6f1/attachment.html>


More information about the sr-users mailing list