Displaying 6 results from an estimated 6 matches for "loose_route".
2007 Jan 05
1
integrating with Asterisk and OpenSER for Voicemail
...;, 0)
modparam("avpops","avp_url","mysql://root:passwd@192.168.2.75/openser")
modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops","avp_aliases","inv=i:15")
...............
route
{
......
if (loose_route()) {
t_relay();
exit;
};
if(is_method("INVITE") && !has_totag())
{
xdbg("user [$ruri] has voicemail redirection
enabled\n");
# backup R-URI
avp_write("...
2005 May 09
1
Asterisk + SER and NAT
...is will make the return path the VIRTUAL IP on a L4 switch
instead of our REAL IP
# record_route_preset("192.168.0.146:5060");
#------------------------------------------------------------------------------------------------
# loose-route processing
if(loose_route())
{
xlog("L_INFO", "loose_route(): Looking up %rm URI %ru from
%is");
lookup("location");
xlog("L_INFO", "loose_route(): t_relay() %rm to URI %ru");
t_relay();...
2005 Jan 25
1
SER Prob
...###########
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method == "REGISTER") record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_a...
2005 Aug 29
1
SER NAT any additional requirement
..."Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy;
that's
# particularly good if upstream and downstream
entities
# use different transport protocol
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following
command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
save("location");
break;
};
# native SI...
2005 Jul 06
0
Asterisk voicemail
...# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if(method!="REGISTER"){
record_route();
};
# loose-route processing
if (loose_route()) {
route(1);
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if(uri != myself){
route(1);
break;
};
if (uri==myself) {
if (method=="REGISTER") {
route(2);...
2004 Dec 11
2
ACK from asterisk not matched to transaction by SER / LCS2005
..._body : content_length=364
9(2890) found end of header
9(2890) DEBUG: is_maxfwd_present: max_forwards header not found!
9(2890) DEBUG: add_param: tag=as47998c2b
9(2890) end of header reached, state=29
9(2890) parse_headers: flags=256
9(2890) find_first_route(): No Route headers found
9(2890) loose_route(): There is no Route HF
9(2890) parse_headers: flags=2048
9(2890) check_via_address(192.168.4.39, 192.168.4.39, 0)
9(2890) Sending:
INVITE sip:chriz@karlshorst.net SIP/2.0
Max-Forwards: 10
Record-Route:
<sip:chriz@192.168.4.39;transport=tcp;r2=on;ftag=as47998c2b;lr>
Record-Route: <sip:c...