0 participants
-
mentioned in commit 5b736a1c
started a discussion
on the diff
opensips.cfg
39 | - if (t_check_trans()) route(send_relay); | |
157 | + if (is_method("INVITE")) { | |
158 | + if (lb_is_destination("$si", "$sp", "6")) { | |
159 | + xlog("L_INFO", "rm:$rm|originated from vos sources $si \n"); | |
160 | + #测试 | |
161 | + route(cti); | |
162 | + route(verto); | |
163 | + } else { | |
164 | + xlog("L_INFO", "rm:$rm|originated from cti freeswitch sources $si \n"); | |
165 | + if ($(ru{uri.user}) =~ '^r4\S{11}$') { | |
166 | + route(kxjl); | |
167 | + } else if ($(ru{uri.user}) =~ '^r2\S{11}$') { | |
168 | + route(lingban); | |
169 | + } else if ($(ru{uri.user}) =~ '^r5\S{11}$') { | |
170 | + route(jths); | |
171 | + } else if ($(ru{uri.user}) =~ '^[01]\S{10}$') { | |
1 |
|