|
@@ -25,11 +25,6 @@ loadmodule "modules/auth/auth.so"
|
|
|
|
|
|
route{
|
|
route{
|
|
|
|
|
|
- # fix Cisco's bug in PRACK processing; it's a really horrible, horrible hack!
|
|
|
|
- if (method=="PRACK") {
|
|
|
|
- sl_send_reply("200", "Cool I like PRACKs" );
|
|
|
|
- break;
|
|
|
|
- };
|
|
|
|
|
|
|
|
# filter local stateless ACK generated by authentication of mf replies
|
|
# filter local stateless ACK generated by authentication of mf replies
|
|
sl_filter_ACK();
|
|
sl_filter_ACK();
|
|
@@ -45,6 +40,14 @@ route{
|
|
# Do strict routing if route headers present
|
|
# Do strict routing if route headers present
|
|
rewriteFromRoute();
|
|
rewriteFromRoute();
|
|
|
|
|
|
|
|
+ # fix Cisco's bug in PRACK processing; at least don't bother ser's
|
|
|
|
+ # stateful processing with that and process it statelessly
|
|
|
|
+ if (method=="PRACK") {
|
|
|
|
+ forward( uri:host, uri:port );
|
|
|
|
+ log("that's PRACK");
|
|
|
|
+ break;
|
|
|
|
+ };
|
|
|
|
+
|
|
# divert voicemail requests
|
|
# divert voicemail requests
|
|
if (uri=~"mail\.iptel\.org" | uri=~":6060") {
|
|
if (uri=~"mail\.iptel\.org" | uri=~":6060") {
|
|
log("Request is for voicemail\n");
|
|
log("Request is for voicemail\n");
|