[OpenSIPS-Users] uac_replace_from and two openSIPS 1.6.4

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Mon Apr 4 12:28:33 CEST 2011


I have two questions:
1. I have 2 openSIPS running on a one machine - first for routing, second
for b2b (it has just one line 'b2b_init_request("top hiding")', in common).
Since b2b modules require a DB, can I use a same DB for both openSIPS ?
2. I'm using uac_replace_from and uac_replace_to and I'm getting a strange
behavior. I know that those functions shouldn't be called twice in a one
branch, but they aren't - a call flow is:
1) REQUEST_ROUTE: route -> route[invite] (uac_replace_from) -> t_relay()
with t_on_failure("1")
2) FAILURE_ROUTE: failure_route[1] -> route[failure] -> route[invite]
(uac_replace_from) -> route[to_b2b] (uac_replace_to) -> t_relay with
And here I'm getting bad headers:
Record-Route has two 'vsf' tag and From is "num1" "num2"
<sip:num1 at domain1sip:num2domain2>

Where is a problem?

WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru

More information about the Users mailing list