“sip show peer” šafter success registration (with record
route() using )?
From:
users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On
Behalf Of toqeer ali
Sent: Thursday, November 12, 2009 10:33 AM
To: users@lists.kamailio.org
Subject: [Kamailio-Users] record-route
Let me describe my scenario:
SipUser1 -------register request------------> kamailio
(SIP Proxy) ------- forwarded register request-----------> Asterisk
route {
if
($fU=="601"&&is_method("INVITE"))
record_route();
rewritehost("10.0.10.111"); //asterisk
host
route(1);
}
route[1] {
# send it out now; use
stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
exit;
}
should i add anything in script further...
--
Toqeer Ali Syed
Red Hat Certified Engineer
mob: +92 321 9059916