[Users] 'To' header field and redirect
Michel Zenone
zenone at telip.com
Mon Sep 11 12:07:40 CEST 2006
So here is a part of my openser.cfg:
...
exec_dset("NEWURI=$$(/usr/local/openser-1.1.0-tls/uri-folder/uri_def
$$SIP_USER $fu);echo $$NEWURI");
exec_msg("echo $$(date)': new uri def: ' $$SIP_RURI 'from '$fu $$SIP_DID|cat >>/root/Memos/openrec_uri.txt");
sl_send_reply("300", "Redirect");
return;
...
And this is a part of '/var/log/messages':
Sep 11 12:05:32 localhost /usr/local/sbin/openser[1674]: ERROR: parse_uri: bad port in uri (error at char @ in state 8) parsed: <sip:testeur at 192.168.0.102 sip:352000000>(39) /<sip:testeur at 192.168.0.102 sip:352000000 at 192.168.0.102> (53)
Sep 11 12:05:32 localhost /usr/local/sbin/openser[1674]: WARNING: append_var: URI not parsed
Sep 11 12:05:39 localhost /usr/local/sbin/openser[1680]: ERROR: exec_msg: cmd echo 'select pn_md1_l1_ring from pn where pn_phonenumber=352000000' |cat >>/root/Memos/openrec_uri.txt failed. exit_status=-1, errno=32: Broken pipe
Sep 11 12:05:39 localhost /usr/local/sbin/openser[1677]: ERROR: parse_uri: bad port in uri (error at char t in state 8) parsed: <sip:testeur3 at 192.168.0.102 sip:>(31) /<sip:testeur3 at 192.168.0.102 sip:testeur at 192.168.0.120:5080> (57)
Sep 11 12:05:39 localhost /usr/local/sbin/openser[1677]: WARNING: append_var: URI not parsed
Not very good..!
Regards,
Michel
More information about the Users
mailing list