next problem that i got into deals with dsm mod_uri uri.parse function.
doc tells:

uri.parse(<uri>, <prefix>)
  splits <uri> in 
    <prefix>display_name
    <prefix>user
    <prefix>host
    <prefix>param

but when i run this piece of code:

  set($msg="=== remote party ");
  append($msg, @remote_party);
  log(2, $msg);
  uri.parse(@remote_party, from_);
  set($msg="=== display name ");
  append($msg, $from_display_name);
  log(2, $msg);

it shows that from_display_name is not set:

Sep  3 19:23:17 siika sems[20039]: [#7f45355be700] [execute, 
DSMCoreModule.cpp:521] INFO: FSM: $msg '=== remote party "Juha Heinanen" 
<sip:[email protected]>'
Sep  3 19:23:17 siika sems[20039]: [#7f45355be700] [execute, 
DSMCoreModule.cpp:521] INFO: FSM: $msg '=== display name '

-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to