Displaying 6 results from an estimated 6 matches for "sl_reply_error".
2005 Jan 25
1
SER Prob
...uot;);
break;
};
};
#inserted by klaus
if (method == "INVITE"){
record_route();
force_rtp_proxy();
/* set up reply processing*/
t_on_reply("1");
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
#insert by klaus
onreply_route[1]{
if (status=~"[12][0-9][0-9]")
force_rtp_proxy();
}
#route[1]
#{
#if client or server know to be behind NAT, enable relay
# if (isflagset(6)){
# force_rtp_proxy();
# };
#
# #NAT processing of replies; apply to all transaction (for example,
# #...
2005 Jul 06
0
Asterisk voicemail
...red ... now to forward to Asterisk's voicemail service
if(method == "INVITE" && isflagset(4)) {
t_on_failure("1");
};
};
route(1);
}
# -------------------------------
# Route Processing
# -------------------------------
route[1]{
if(!t_relay()){
sl_reply_error();
};
}
route[2]{
if(!save("location")){
sl_reply_error();
}
}
# voicemail activation!!
#
failure_route[1] {
log(1,"Activating voicemail!!\n");
forward(202.122.25.106, 5061);
}
---------------------------
--------
--------
ASTERISK
--------
-------...
2004 Jan 20
1
Toll-Free Gateway Beta Test: freenum.org
...t;, "voice")) {
if (is_uri_host_local()) {
route(5);
break;
};
if (!t_relay()) {
xlog("L_ERR", "%is [%Tf]: %rm %fu -> %ru [R4]: ENUM destination: relaying failed\n");
sl_reply_error();
break;
};
break;
};
#start
# look up freenum.org ENUM entries
if (enum_query("freenum.org")) {
if (!t_relay()) {
xlog("L_ERR", "%is [%Tf]: %rm %fu -> %ru [R4]: freenum....
2006 Jan 17
2
IAX/SIP and openser problem. IAX bug?
...livers
it to Openser by SIP. The problem is openser printing this in the screen:
ERROR: parse_to : unexpected char ["] in status 5: <<"David" <sip:>> .
ERROR:parse_from_header: bad from header
ERROR: new_t: no valid From in INVITE
ERROR: t_newtran: new_t failed
ERROR: sl_reply_error used: I'm terribly sorry, server error occurred
(1/SL)
I got nex sip messages:
U 2006/01/16 12:21:10.968713 10.2.11.35:5062 -> 10.2.11.35:5060
INVITE sip:204@10.2.11.35 SIP/2.0..Via: SIP/2.0/UDP
10.2.11.35:5062;branch=z9hG4bK31f811a3;rport..From: "Zyxel"
<sip:Zyxel<sip:2...
2005 Aug 29
1
SER NAT any additional requirement
...record_route();
force_rtp_proxy();
/* set up reply processing */
t_on_reply("1");
};
# forward to current uri now; use stateful
forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
#inserted by klaus
# all incoming replies for t_onrepli-ed transactions
enter here
onreply_route[1] {
if (status=~"[12][0-9][0-9]")
force_rtp_proxy();
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Ma...
2005 May 09
1
Asterisk + SER and NAT
...UDP
lookup("location");
xlog("L_INFO", "Default t_relay() (method = %rm, URI = %ru, >From
= %is)");
if(!t_relay())
{
xlog("L_INFO", "Failed sending requesting %rm URI (%ru)");
sl_reply_error();
};
}