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@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@192.168.10.54;tag=1898fba2a5729040o0 To: sip:1111@192.168.10.54
Second: INVITE sip:34201@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@192.168.10.54;tag=1898fba2a5729040o0 To: sip:1111@192.168.10.54