search for: sl_send_reply

Displaying 7 results from an estimated 7 matches for "sl_send_reply".

2005 Jan 25
1
SER Prob
...,"ping_nated_only",1) #Ping only clinets behind NAT # -------------------------request routing logic------------------- # main routing logic route{ # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; }; #############Aisling Insert################ # #!Nat Insert # #the below line tests if the IP of the received packet is different from the IP in...
2005 Aug 29
1
SER NAT any additional requirement
...("rr", "enable_full_lr", 1) # ------------------------- request routing logic ------------------- # main routing logic route{ # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if (len_gt( max_len )) { sl_send_reply("513", "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 u...
2005 Jul 06
0
Asterisk voicemail
...modparam("tm","fr_inv_timer",15) # ------------------------- request routing logic ------------------- # main routing logic route{ # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; }; setflag(1); # we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # pa...
2005 Mar 06
1
SER -> Asterisk voicemail on busy/unavailable. Anyone did it? (googling says NO)
...")) { log (1, "******* IP to IP call *************"); if (method == "INVITE"){ setflag (1); t_on_failure("1"); t_relay(); sl_send_reply ("180", "Ringing"); setflag (1); break; } if (!t_relay()) { sl_send_reply("404", "Not Found"); break;...
2005 May 09
1
Asterisk + SER and NAT
...only", 1) # ------------------------- request routing logic ------------------- # main routing logic route{ # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; }; # if(method != "REGISTER") # {...
2005 Jul 12
0
Asterisk not accepting user input .. pls help !!
...rewritehostport("202.125.25.102:5061"); append_branch(); t_relay_to_udp("202.125.25.106","5061"); break; }; # native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; timeout occurred ... now to forward to Asterisk's voicemail service if(method == "INVITE") { t_on_failure("1"); }; }; t_relay(); # leave voicemail # failure_route[1] { log(1,"Activating voicemail...
2007 May 12
3
Asterisk High-Capacity Stability
...;$avp(S:proxy_port)"); > > if(!is_avp_set("$avp(S:proxy_ip)") || > !is_avp_set("$avp(S:proxy_port)")) { > xlog("L_INFO", "target-das - [$ci] - Active proxy not > found.\n") > ; > sl_send_reply("404", "Not Found"); > exit; > } > > xlog("L_INFO", "target-das - [$ci] - Resolved proxy > $avp(S:proxy_ip):$avp(S:proxy_port)\n"); > > avp_pushto("$ru/domain", "$avp(S:proxy_ip):...