[OpenSIPS-Users] logs Re: Update => Re: dispatcher / TM
Uwe Kastens
kiste at kiste.org
Tue Apr 28 19:28:30 CEST 2009
Ok,
I tested it several times. The behaviour has been changed. I force a
record_route_preset("$si:5100") for incoming calls from pstn. That works
fine.
The other direction is my problem. If a UA at my external opensips will
make a call, some answers are missing. They are only relayed correctly
if I call the t_relay with an adress (Which happens if I use ds_select
for any package and have only one server in ds_list).
And I am wondering why.
Attached some logs, that show the difference, if I use ds_select only
for !has_totag() or in general.
The relevant parts of my opensips.cfg
if ($si=~"20.20.138.141") {
xlog("L_DBG","========== receive msg from external SIP Router
(trusted) $si\n ==========\n");
if (!has_totag()) {
# initial request
record_route();
}
route(2);
exit;
}
### route[2] Routing to asterisk server
route[2] {
if (!has_totag()){
ds_select_dst("1", "6");
}
if (!t_relay()) {
sl_reply_error();
};
}
BR
Uwe
--
kiste lat: 54.322684, lon: 10.13586
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ano_ngrep.tar.gz
Type: application/x-gzip
Size: 3477 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20090428/ec6fe741/attachment.bin
More information about the Users
mailing list