<DIV>Hi , I am trying to add Voicemail services... the problem is that when the call is missed (busy, not answered or not connected) I can see some debug in ser´s second instance for users&nbsp;in "voicemail group" but the call is closed and a busy tone return to the caller...</DIV>
<DIV>bellow you can see my 3 config files and details from both ser debugs, please someone send me some advice. </DIV>
<DIV>thank you<BR>Rafael</DIV>
<DIV><BR>- ser.cfg for Main SER running on 5060<BR>- voicemail.cfg for second instance on port 5090<BR>- sems.conf for Media Server (sems)</DIV>
<DIV><BR>SEMS.CFG -------&gt;<BR>&nbsp;----------- global configuration parameters ------------------------</DIV>
<DIV>#debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<BR>#fork=yes<BR>#log_stderror=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)</DIV>
<DIV>#/* Uncomment these lines to enter debugging mode<BR>debug=9<BR>fork=yes<BR>log_stderror=yes<BR>#*/</DIV>
<DIV>listen=200.110.2.131<BR>listen=127.0.0.1<BR>port=5060</DIV>
<DIV># hostname matching an alias will satisfy the condition uri==myself".<BR>alias=call.millicom.com.pe<BR>alias=200.110.2.131</DIV>
<DIV>check_via=no&nbsp;&nbsp;&nbsp; # (cmd. line: -v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -R)<BR>children=4<BR>fifo="/tmp/ser_fifo"</DIV>
<DIV># ------------------ module loading ----------------------------------<BR>loadmodule "/usr/local/lib/ser/modules/mysql.so"<BR>loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule "/usr/local/lib/ser/modules/tm.so"<BR>loadmodule "/usr/local/lib/ser/modules/rr.so"<BR>loadmodule "/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule "/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule "/usr/local/lib/ser/modules/registrar.so"<BR>loadmodule "/usr/local/lib/ser/modules/group.so"<BR>loadmodule "/usr/local/lib/ser/modules/uri.so"<BR>loadmodule "/usr/local/lib/ser/modules/acc.so"<BR>loadmodule "/usr/local/lib/ser/modules/textops.so"</DIV>
<DIV># digest authentication<BR>loadmodule "/usr/local/lib/ser/modules/auth.so"<BR>loadmodule "/usr/local/lib/ser/modules/auth_db.so"</DIV>
<DIV># ----------------- setting module-specific parameters ---------------</DIV>
<DIV>modparam("usrloc", "db_mode",&nbsp;&nbsp; 2)</DIV>
<DIV># storing passwords in our database in plain text:<BR># modparam("auth_db", "calculate_ha1", yes)<BR># modparam("auth_db", "password_column", "password")</DIV>
<DIV># For Rad Accounting<BR>modparam("acc","radius_config","/usr/local/etc/radiusclient/radiusclient.conf")<BR>modparam("acc", "service_type", 15)<BR>modparam("acc", "radius_flag", 1)<BR>modparam("acc", "radius_missed_flag", 3)<BR>modparam("acc", "report_ack", 0)</DIV>
<DIV>modparam("tm", "fr_timer", 20 )<BR>modparam("tm", "fr_inv_timer", 30 )<BR>modparam("tm", "wt_timer", 20 )<BR>modparam("tm", "uac_from", "sip:avisos@millicom.net.pe" )</DIV>
<DIV>modparam("rr", "enable_full_lr", 1)</DIV>
<DIV>modparam("group", "db_url", "sql://ser:heslo@localhost/ser")<BR>modparam("uri", "db_url", "sql://ser:heslo@localhost/ser")</DIV>
<DIV><BR># ---------------------&nbsp; request routing logic -------------------<BR>route {</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # initial sanity checks -- messages with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # max_forwards==0, or excessively long requests<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many Hops");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( msg:len &gt; max_len ) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message too big");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # we record-route all messages -- to make sure that<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # subsequent messages will go through our proxy; that's<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # particularly good if upstream and downstream entities<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # use different transport protocol<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; record_route();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # loose-route processing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (loose_route()) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # set for accounting:<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="INVITE") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, "INVITE\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(1); /* set for accounting (the same value as in log_flag!) */<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="BYE" || method=="CANCEL") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log (1, "BYE or CANCEL\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!uri==myself) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method == "REGISTER") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # to use digest authentication<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!www_authorize("call.millicom.com.pe", "subscriber")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge("call.millicom.com.pe", "0");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!save("location"))
 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # does the user wish redirection on no availability? (i.e., is he<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # in the voicemail group?) -- determine it now and store it in<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # flag 4, before we rewrite the flag using UsrLoc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (is_user_in("Request-URI", "voicemail")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(4);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(3); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # native SIP destinations are handled using our USRLOC DB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!lookup("location")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # handle user which was not
 found<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(4);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # if user is on-line and is in voicemail group, enable redirection<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method == "INVITE" &amp;&amp; isflagset(4)) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_failure("1");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<BR>}</DIV>
<DIV># ------------- handling of unavailable user ------------------<BR>route[4] {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # non-Voip -- just send "off-line"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; acc_rad_request("404 Not Found");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # not voicemail subscriber<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!isflagset(4)) { <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found and no voicemail turned on");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; acc_rad_request("404 Not Found");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # forward to voicemail now<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport("call.millicom.com.pe:5090");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay_to_udp("call.millicom.com.pe", "5090");<BR>}</DIV>
<DIV><BR># if forwarding downstream did not succeed, try voicemail running<BR># at bat.iptel.org:5090</DIV>
<DIV>failure_route[1] {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; revert_uri();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport("call.millicom.com.pe:5090");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_branch();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay_to_udp("call.millicom.com.pe", "5090");<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>################&nbsp; VOICEMAIL.CFG --------&gt;<BR># ----------- global configuration parameters ------------------------</DIV>
<DIV>#debug=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)<BR>#fork=no<BR>#log_stderror=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)</DIV>
<DIV>#/* Uncomment these lines to enter debugging mode <BR>debug=20<BR>fork=yes<BR>log_stderror=yes<BR>#*/</DIV>
<DIV><BR>check_via=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -R)<BR>port=5090<BR>children=4<BR>fifo="/tmp/vm_ser_fifo"</DIV>
<DIV># ------------------ module loading ----------------------------------</DIV>
<DIV>loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule "/usr/local/lib/ser/modules/tm.so"<BR>loadmodule "/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule "/usr/local/lib/ser/modules/mysql.so"<BR>loadmodule "/usr/local/lib/ser/modules/vm.so"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR># ----------------- setting module-specific parameters ---------------</DIV>
<DIV>modparam("voicemail", "db_url","sql://ser:heslo@localhost/ser")<BR>modparam("voicemail", "subscriber_table", "subscriber")<BR>modparam("voicemail", "email_column", "email_address")</DIV>
<DIV># -------------------------&nbsp; request routing logic -------------------</DIV>
<DIV># main routing logic</DIV>
<DIV>route{</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # initial sanity checks -- messages with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # max_forwars==0, or excessively long requests<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many Hops");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( msg:len &gt; max_len ) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message too big");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!uri==myself) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("404", "not reponsible for host in r-uri");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Voicemail specific configuration - begin</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(method=="ACK" || method=="INVITE" || method=="BYE"){</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_newtran()) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("could not create new transaction\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("500","could not create new transaction");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply("100","Trying -- just wait a minute !");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(method=="INVITE"){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("**************** vm start - begin ******************\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri=~"sip:as_welcome@.*" || uri=~"sip:as_nomoney@.*") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!vm("/tmp/am_fifo", "announcement"))
 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("couldn't contact announcement server\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply("500", "couldn not contact announcement server");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else
 {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(!vm("/tmp/am_fifo","voicemail")){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("could not contact the answer machine\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply("500","could not contact the answer machine");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("**************** vm start - end ******************\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else if(method=="BYE"){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("**************** vm end - begin ******************\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 if(!vm("/tmp/am_fifo","bye")){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("could not contact the answer machine\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply("500","could not contact the answer machine");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log("**************** vm end - end ******************\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="CANCEL") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("200", "cancels are junked here");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("501", "method not understood here");<BR>}</DIV>
<DIV><BR>###################</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SEMS.CFG ----------&gt;<BR>[root@gkproxy01 answer_machine]# more /usr/local/etc/sems/sems.conf<BR># $Id: sems.conf.sample,v 1.11.2.5 2004/05/24 14:33:07 rco Exp $<BR>#<BR># sems.conf.sample<BR>#<BR># Sip Express Media Server (sems)<BR># <BR># sample configuration file<BR># <BR>#<BR># whitespaces (spaces and tabs) are ignored<BR># comments start with a "#" and may be used inline<BR># <BR># example: option=value1, value2&nbsp; # i like this option<BR>#</DIV>
<DIV>##################################<BR># global parameters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV># optional parameter: fork={yes|no}<BR># <BR># - specifies if sems should run in daemon mode (background)<BR>#&nbsp;&nbsp; (fork=no is the same as -E)<BR>fork=yes</DIV>
<DIV># optional parameter: stderr={yes|no}<BR>#<BR># - debug mode: do not fork and log to stderr<BR>#&nbsp;&nbsp; (stderr=yes is the same as -E)<BR>stderr=no</DIV>
<DIV># optional parameter: loglevel={0|1|2|3}<BR>#<BR># - sets log level (error=0, warning=1, info=2, debug=3)<BR>#&nbsp;&nbsp; (same as -D)<BR>loglevel=1</DIV>
<DIV># optional parameter: fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of our fifo file (same as -i)<BR>fifo_name=/tmp/am_fifo</DIV>
<DIV># optional parameter: ser_fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of Ser's fifo file (same as -o)<BR>ser_fifo_name=/tmp/ser_fifo</DIV>
<DIV># optional parameter: plugin_path=&lt;path&gt;<BR># <BR># - sets the path to the plug-ins<BR># - may be absolute or relative to CWD<BR>plugin_path=/usr/local/lib/sems/plug-in/</DIV>
<DIV># optional parameter: smtp_server=&lt;hostname&gt;<BR>#<BR># - sets address of smtp server<BR>smtp_server=200.110.2.44</DIV>
<DIV># optional parameter: smtp_port=&lt;port&gt;<BR>#<BR># - sets port of smtp server<BR>smtp_port=25</DIV>
<DIV># optional parameter: rtp_low_port=&lt;port&gt;<BR>#<BR># - sets port of rtp lowest server<BR>#rtp_low_port=1024</DIV>
<DIV># optional parameter: rtp_high_port=&lt;port&gt;<BR>#<BR># - sets port of rtp highest server<BR>#rtp_high_port=65535</DIV>
<DIV>##################################<BR># module specific parameters&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV># sample voicemail configuration (inline)<BR>config.voicemail=inline</DIV>
<DIV># optional parameter: announce_path=&lt;path&gt;<BR># <BR># - sets the path where announce files are searched for<BR># - the file to be played is determined the following way:<BR>#&nbsp;&nbsp; &lt;announce_path&gt;/&lt;domainname&gt;/&lt;username&gt;.wav<BR>#&nbsp;&nbsp; if this file is not available &lt;announce_path&gt;/&lt;default_anounce&gt; is used<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV># parameter: max_record_time=&lt;seconds&gt;<BR>#<BR># - maximum record time<BR>max_record_time=30</DIV>
<DIV># parameter: email_template=&lt;filename&gt;<BR>#<BR># - email template file<BR># <BR># See the README file in &lt;sems-src&gt;/plug-in/voicemail<BR># for more information on the syntax used.<BR>#<BR>email_template=/usr/local/lib/sems/plug-in/mail.template</DIV>
<DIV># end of configuration section for voicemail module<BR>config.voicemail=end</DIV>
<DIV><BR># sample announcement configuration (inline)<BR>config.announcement=inline</DIV>
<DIV># optional parameter: announce_path=&lt;path&gt;<BR># <BR># - sets the path where announce files are searched for<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV># end of configuration section for announcement module<BR>config.announcement=end</DIV>
<DIV><BR># sample isdngw module configuration (external file)<BR># config.isdngw=/etc/isdngw.conf</DIV>
<DIV># sample ivr module configuration (inline)<BR>config.ivr=inline</DIV>
<DIV>#parameter: python_script_path=&lt;full path&gt;<BR>python_script_path=/etc/ivr</DIV>
<DIV>#parameter: python_script_file=&lt;filename&gt;<BR>python_script_file=example.py</DIV>
<DIV># end of configuration section for ivr module<BR>config.ivr=end</DIV>
<DIV><BR># sample conference configuration (inline)<BR>config.conference=inline</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR>#<BR># - sets the full pathed name of the default announce WAV file.<BR>#&nbsp;&nbsp; Will be played to lonely users.<BR>default_announce=/usr/local/lib/sems/audio/first_participant.wav</DIV>
<DIV># parameter: join_sound=&lt;filename&gt;<BR>#<BR># - sets the full pathed name of a WAV file<BR>#&nbsp;&nbsp; which will be played to conference users <BR>#&nbsp;&nbsp; when a new user joins the conference.<BR>join_sound=/usr/local/lib/sems/audio/beep.wav</DIV>
<DIV># parameter: drop_sound=&lt;filename&gt;<BR>#<BR># - sets the full pathed name of a WAV file<BR>#&nbsp;&nbsp; which will be played to conference users <BR>#&nbsp;&nbsp; when a user drops the conference.<BR>drop_sound=/usr/local/lib/sems/audio/beep.wav</DIV>
<DIV># end of configuration section for conference module<BR>config.conference=end</DIV>
<DIV># example configuration for number reader<BR>config.number_reader=inline</DIV>
<DIV>number_path=/usr/local/lib/sems/audio/</DIV>
<DIV>prolog_file=welcome_to_number_reader.wav</DIV>
<DIV>epilog_file=thanks_calling_number_reader.wav</DIV>
<DIV># end of number_reader configuration<BR>config.number_reader=end</DIV>
<DIV># add more module configurations here (inline or external):<BR>#<BR># config.mymodule=&lt;filename&gt;<BR>#&nbsp; or<BR># config.mymodule=inline<BR># ...<BR># config.mymodule=end</DIV>
<DIV>[root@gkproxy01 answer_machine]#&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>DEBUG from 1st instamce (port 5060)<BR>---------------------------------------</DIV>
<DIV>4(31737) DEBUG: relay_reply: branch=1, save=0, relay=1<BR>&nbsp;4(31737)&nbsp; old size: 669, new size: 607<BR>&nbsp;4(31737) build_res_from_sip_res: copied size: orig:108, new: 46, rest: 561 msg=<BR>SIP/2.0 404 not reponsible for host in r-uri<BR>Via: SIP/2.0/UDP 10.0.0.236:5060;branch=z9hG4bKa200bcf5a4114<BR>From: &lt;sip:6603000@call.millicom.com.pe&gt;;tag=a200bcf5a4<BR>To: &lt;sip:6604000@call.millicom.com.pe&gt;;tag=3749ec7003921b5c92fe06c5dc660395.5093<BR>Call-ID: <A href="mailto:a2609600-48ac-bcf1-81f5-0002a40055b2@10.0.0.236">a2609600-48ac-bcf1-81f5-0002a40055b2@10.0.0.236</A><BR>CSeq: 114 INVITE<BR>Server: Sip EXpress router (0.8.14 (i386/linux))<BR>Content-Length: 0<BR>Warning: 392 200.110.2.131:5090 "Noisy feedback tells:&nbsp; pid=31707 req_src_ip=200.110.2.131 req_src_port=5060 in_uri=sip:6604000@call.millicom.com.pe:5090 out_uri=sip:6604000@call.millicom.com.pe:5090 via_cnt==2"</DIV>
<DIV><BR>&nbsp;4(31737) DEBUG: reply relayed. buf=0x80dec48: SIP/2.0 4..., shmem=0x422be8a8: SIP/2.0 4<BR>&nbsp;4(31737) DBG: callback type 7, id 1 entered<BR>&nbsp;4(31737) DEBUG: cleanup_uacs: RETR/FR timers reset<BR>&nbsp;4(31737) DEBUG: add_to_tail_of_timer[4]: 0x422c287c<BR>&nbsp;4(31737) DEBUG: add_to_tail_of_timer[0]: 0x422c2890<BR>&nbsp;4(31737) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;4(31737) receive_msg: cleaning up</DIV>
<DIV>[root@gkproxy01 admin]# <BR>[root@gkproxy01 admin]#&nbsp; 2(31735) SIP Request:<BR>&nbsp;2(31735)&nbsp; method:&nbsp; &lt;ACK&gt;<BR>&nbsp;2(31735)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:6604000@call.millicom.com.pe&gt;<BR>&nbsp;2(31735)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;2(31735) parse_headers: flags=1<BR>&nbsp;2(31735) Found param type 232, &lt;branch&gt; = &lt;z9hG4bKa200bcf5a4114&gt;; state=16<BR>&nbsp;2(31735) end of header reached, state=5<BR>&nbsp;2(31735) parse_headers: Via found, flags=1<BR>&nbsp;2(31735) parse_headers: this is the first via<BR>&nbsp;2(31735) After parse_msg...<BR>&nbsp;2(31735) preparing to run routing scripts...<BR>&nbsp;2(31735) DEBUG : sl_filter_ACK: to late to be a local ACK!<BR>&nbsp;2(31735) DEBUG : is_maxfwd_present: searching for max_forwards header<BR>&nbsp;2(31735) parse_headers: flags=128<BR>&nbsp;2(31735) DEBUG: add_param: tag=3749ec7003921b5c92fe06c5dc660395.5093<BR>&nbsp;2(31735) end of header reached, state=29<BR>&nbsp;2(31735)
 DEBUG: get_hdr_field: &lt;To&gt; [78]; uri=[sip:6604000@call.millicom.com.pe] <BR>&nbsp;2(31735) DEBUG: to body [&lt;sip:6604000@call.millicom.com.pe&gt;]<BR>&nbsp;2(31735) get_hdr_field: cseq &lt;CSeq&gt;: &lt;114&gt; &lt;ACK&gt;<BR>&nbsp;2(31735) DEBUG: get_hdr_body : content_length=0<BR>&nbsp;2(31735) DEBUG: is_maxfwd_present: value = 70 <BR>&nbsp;2(31735) DEBUG: add_param: tag=a200bcf5a4<BR>&nbsp;2(31735) end of header reached, state=29<BR>&nbsp;2(31735) parse_headers: flags=256<BR>&nbsp;2(31735) found end of header<BR>&nbsp;2(31735) find_first_route(): No Route headers found<BR>&nbsp;2(31735) loose_route(): There is no Route HF<BR>&nbsp;2(31735) check_self - checking if host==us: 20==13 &amp;&amp;&nbsp; [call.millicom.com.pe] == [200.110.2.131]<BR>&nbsp;2(31735) check_self - checking if port 5060 matches port 5060<BR>&nbsp;2(31735) check_self - checking if host==us: 20==9 &amp;&amp;&nbsp; [call.millicom.com.pe] == [127.0.0.1]<BR>&nbsp;2(31735) check_self - checking if port 5060
 matches port 5060<BR>&nbsp;2(31735) query="select grp from grp where username='6604000' AND grp='voicemail'"<BR>&nbsp;2(31735) is_user_in(): User is in group 'voicemail'<BR>&nbsp;2(31735) rwrite(): Rewriting Request-URI with 'sip:6604000@200.110.6.58'<BR>&nbsp;2(31735) DEBUG: t_addifnew: msg id=11467 , global msg id=11434 , T on entrance=0xffffffff<BR>&nbsp;2(31735) parse_headers: flags=-1<BR>&nbsp;2(31735) parse_headers: flags=60<BR>&nbsp;2(31735) t_lookup_request: start searching: hash=31284, isACK=1<BR>&nbsp;2(31735) DEBUG: RFC3261 transaction matched, tid=a200bcf5a4114<BR>&nbsp;2(31735) DEBUG: t_lookup_request: transaction found (T=0x422c27c8)<BR>&nbsp;2(31735) DEBUG: cleanup_uacs: RETR/FR timers reset<BR>&nbsp;2(31735) DEBUG: add_to_tail_of_timer[2]: 0x422c2810<BR>&nbsp;2(31735) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;2(31735) receive_msg: cleaning up</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>DEBUG FROM 2nd INSTANCE (PORT 5090)<BR>--------------------------------------------------<BR>]<BR>&nbsp;7(31709) get_hdr_field: cseq &lt;CSeq&gt;: &lt;113&gt; &lt;INVITE&gt;<BR>&nbsp;7(31709) DEBUG: get_hdr_body : content_length=180<BR>&nbsp;7(31709) DEBUG: is_maxfwd_present: value = 69 <BR>&nbsp;7(31709) check_self - checking if host==us: 20==9 &amp;&amp;&nbsp; [call.millicom.com.pe] == [127.0.0.1]<BR>&nbsp;7(31709) check_self - checking if port 5090 matches port 5090<BR>&nbsp;7(31709) check_self - checking if host==us: 20==13 &amp;&amp;&nbsp; [call.millicom.com.pe] == [200.110.2.131]<BR>&nbsp;7(31709) check_self - checking if port 5090 matches port 5090<BR>&nbsp;7(31709) check_self: host != me<BR>&nbsp;7(31709) parse_headers: flags=-1<BR>&nbsp;7(31709) found end of header<BR>&nbsp;7(31709) check_via_address(200.110.2.131, 200.110.2.131, 0)<BR>&nbsp;7(31709) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;7(31709) receive_msg: cleaning up<BR>&nbsp;5(31705) SIP
 Request:<BR>&nbsp;5(31705)&nbsp; method:&nbsp; &lt;ACK&gt;<BR>&nbsp;5(31705)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:6605454@call.millicom.com.pe:5090&gt;<BR>&nbsp;5(31705)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;5(31705) parse_headers: flags=1<BR>&nbsp;5(31705) Found param type 232, &lt;branch&gt; = &lt;z9hG4bKd517.2ea1e793.0&gt;; state=16<BR>&nbsp;5(31705) end of header reached, state=5<BR>&nbsp;5(31705) parse_headers: Via found, flags=1<BR>&nbsp;5(31705) parse_headers: this is the first via<BR>&nbsp;5(31705) After parse_msg...<BR>&nbsp;5(31705) preparing to run routing scripts...<BR>&nbsp;5(31705) parse_headers: flags=4<BR>&nbsp;5(31705) DEBUG: add_param: tag=3749ec7003921b5c92fe06c5dc660395.01b8<BR>&nbsp;5(31705) end of header reached, state=29<BR>&nbsp;5(31705) DEBUG: get_hdr_field: &lt;To&gt; [78]; uri=[sip:6605454@call.millicom.com.pe] <BR>&nbsp;5(31705) DEBUG: to body [&lt;sip:6605454@call.millicom.com.pe&gt;]<BR>&nbsp;5(31705) DEBUG: sl_filter_ACK : local ACK found -&gt;
 dropping it! <BR>&nbsp;5(31705) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;5(31705) receive_msg: cleaning up<BR>&nbsp;6(31707) SIP Request:<BR>&nbsp;6(31707)&nbsp; method:&nbsp; &lt;INVITE&gt;<BR>&nbsp;6(31707)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:6604000@call.millicom.com.pe:5090&gt;<BR>&nbsp;6(31707)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;6(31707) parse_headers: flags=1<BR>&nbsp;6(31707) Found param type 232, &lt;branch&gt; = &lt;z9hG4bK43a7.d99b0dc7.1&gt;; state=16<BR>&nbsp;6(31707) end of header reached, state=5<BR>&nbsp;6(31707) parse_headers: Via found, flags=1<BR>&nbsp;6(31707) parse_headers: this is the first via<BR>&nbsp;6(31707) After parse_msg...<BR>&nbsp;6(31707) preparing to run routing scripts...<BR>&nbsp;6(31707) DEBUG : is_maxfwd_present: searching for max_forwards header<BR>&nbsp;6(31707) parse_headers: flags=128<BR>&nbsp;6(31707) Found param type 232, &lt;branch&gt; = &lt;z9hG4bKa200bcf5a4114&gt;; state=16<BR>&nbsp;6(31707) end of header reached,
 state=5<BR>&nbsp;6(31707) parse_headers: Via found, flags=128<BR>&nbsp;6(31707) parse_headers: this is the second via<BR>&nbsp;6(31707) end of header reached, state=9<BR>&nbsp;6(31707) DEBUG: get_hdr_field: &lt;To&gt; [36]; uri=[sip:6604000@call.millicom.com.pe] <BR>&nbsp;6(31707) DEBUG: to body [&lt;sip:6604000@call.millicom.com.pe&gt;<BR>]<BR>&nbsp;6(31707) get_hdr_field: cseq &lt;CSeq&gt;: &lt;114&gt; &lt;INVITE&gt;<BR>&nbsp;6(31707) DEBUG: get_hdr_body : content_length=180<BR>&nbsp;6(31707) DEBUG: is_maxfwd_present: value = 69 <BR>&nbsp;6(31707) check_self - checking if host==us: 20==9 &amp;&amp;&nbsp; [call.millicom.com.pe] == [127.0.0.1]<BR>&nbsp;6(31707) check_self - checking if port 5090 matches port 5090<BR>&nbsp;6(31707) check_self - checking if host==us: 20==13 &amp;&amp;&nbsp; [call.millicom.com.pe] == [200.110.2.131]<BR>&nbsp;6(31707) check_self - checking if port 5090 matches port 5090<BR>&nbsp;6(31707) check_self: host != me<BR>&nbsp;6(31707) parse_headers:
 flags=-1<BR>&nbsp;6(31707) found end of header<BR>&nbsp;6(31707) check_via_address(200.110.2.131, 200.110.2.131, 0)<BR>&nbsp;6(31707) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;6(31707) receive_msg: cleaning up<BR>&nbsp;8(31711) SIP Request:<BR>&nbsp;8(31711)&nbsp; method:&nbsp; &lt;ACK&gt;<BR>&nbsp;8(31711)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:6604000@call.millicom.com.pe:5090&gt;<BR>&nbsp;8(31711)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;8(31711) parse_headers: flags=1<BR>&nbsp;8(31711) Found param type 232, &lt;branch&gt; = &lt;z9hG4bK43a7.d99b0dc7.1&gt;; state=16<BR>&nbsp;8(31711) end of header reached, state=5<BR>&nbsp;8(31711) parse_headers: Via found, flags=1<BR>&nbsp;8(31711) parse_headers: this is the first via<BR>&nbsp;8(31711) After parse_msg...<BR>&nbsp;8(31711) preparing to run routing scripts...<BR>&nbsp;8(31711) parse_headers: flags=4<BR>&nbsp;8(31711) DEBUG: add_param: tag=3749ec7003921b5c92fe06c5dc660395.5093<BR>&nbsp;8(31711) end of header reached,
 state=29<BR>&nbsp;8(31711) DEBUG: get_hdr_field: &lt;To&gt; [78]; uri=[sip:6604000@call.millicom.com.pe] <BR>&nbsp;8(31711) DEBUG: to body [&lt;sip:6604000@call.millicom.com.pe&gt;]<BR>&nbsp;8(31711) DEBUG: sl_filter_ACK : local ACK found -&gt; dropping it! <BR>&nbsp;8(31711) DEBUG:destroy_avp_list: destroing list (nil)<BR>&nbsp;8(31711) receive_msg: cleaning up</DIV>
<DIV>&nbsp;</DIV><p><br><hr size=1 noshade><b>Do You Yahoo!?</b><br>
<a href=http://espanol.yahoo.com/mail_tagline/*http://espanol.news.yahoo.com><img src="http://us.i1.yimg.com/us.yimg.com/i/not/dailynews.gif" width=30 height=26 border=0 align=left></a>
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.<br>
Visíta <a href=http://espanol.yahoo.com/mail_tagline/*http://espanol.news.yahoo.com>Yahoo! Noticias</a>.<br>