Thanks for your help. 

I've another question.  I can't access any of the dialog vals on reply
route. loose_route() only can be used for REQUEST_ROUTE. Am I missing
something?


opensips.cfg

=========================================================

onreply_route {

  if (status=="100")
  {
    fetch_dlg_value("test_src_ip","$var(test_src_ip_100)");
    xlog("##### test_src_ip_100 = $var(test_src_ip_100) #####");      #
output 0
  }
  else if (status=="180")
  {
    fetch_dlg_value("test_src_ip","$var(test_src_ip_180)");
    xlog("##### test_src_ip_180 = $var(test_src_ip_180) #####");      #
output 0
  }
   else if (status=="200")
  {
    fetch_dlg_value("test_src_ip","$var(test_src_ip_200)");
    xlog("##### test_src_ip_200 = $var(test_src_ip_200) #####");      #
output 0
  }
}

=========================================================
-- 
View this message in context: 
http://n2.nabble.com/storing-and-accessing-dialog-vals-tp4499104p4506962.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to