Juha Heinanen writes:

> > i have not been able to figure out, how to filter messages in
> > sbc_dsm.

i added message_filter and message_list profile vars to dsm mod_sbc in
order to be able to blacklist requests, but that is just band aid to the
real problem, which i described in the original message below.  i really
would like the flexibility to filter requests in dsm script
B2B.otherRequest transition.

-- juha

> i tried by adding this to my script:
> 
> transition "INFO recvd" RUN - B2B.otherRequest(#method==INFO) / {
>   log(1, "received info");
>   dlg.reply(200, OK);
> } -> RUN;
> 
> but i get to syslog
> 
> May 10 15:15:48 siika sems[8255]: [#7f96be4c8700] [execute, 
> DSMCoreModule.cpp:569] WARNING: FSM:  'received info'
> May 10 15:15:48 siika sems[8255]: [#7f96be4c8700] [execute, ModDlg.cpp:131] 
> ERROR:  no last request to reply
> 
> then i tried by replacing dlg.reply() with dlg.replyRequest(200, OK) and
> got
> 
> May 10 15:18:58 siika sems[8318]: [#7f1f589fc700] [execute, 
> DSMCoreModule.cpp:569] WARNING: FSM:  'received info'
> May 10 15:18:58 siika sems[8318]: [#7f1f589fc700] [reply, 
> AmBasicSipDialog.cpp:571] ERROR:  could not find any transaction matching 
> request cseq
> May 10 15:18:58 siika sems[8318]: [#7f1f589fc700] [reply, 
> AmBasicSipDialog.cpp:575] ERROR:  request cseq=10; reply code=200; 
> callid=5a264b397dea8269; local_tag=2242B17D-536E192B000D2A47-59103700; 
> remote_tag=9d880afbede7b116
> ...
> 
> is it somehow possible to reply to an in-dialog request in sbc_dsm
> script?
> 
> -- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to