Ok, so I wired up a sendmsg API for our pbx module, and get the
following in my trace logs (pbx and freeswitch_monitor work in
conjunction to provide an OTP-ified version of freeswitch.erl.)
Unfortunately I'm not seeing anything in fs_cli to indicate _what_ the
"badarg" might be.
2010-03-08 13:39:58 DEBUG <0.666.0>: pbx_eavesdrop:run() New
eavesdrop received for extension="5000"
2010-03-08 13:39:58 DEBUG <0.980.0>:
freeswitch_monitor:handle_call() pbx_sendmsg invoking sendmsg,
UUID="bdf24b82-c204-4697-92d2-b0b15f7ebd3a",
Headers=[["execute-app-name",
"eavesdrop"],
["execute-app-arg",
"bdf24b82-c204-4697-92d2-b0b15f7ebd3a"]]
2010-03-08 13:39:58 DEBUG <0.666.0>: pbx:sendmsg() Sent to Pid
<0.980.0>
2010-03-08 13:39:58 DEBUG <0.980.0>:
freeswitch_monitor:handle_call() pbx_sendmsg received {error, badarg}
2010-03-08 13:39:58 DEBUG <0.666.0>: pbx_eavesdrop:run()
EavesdropResult = {error,
badarg}
Rupa Schomaker wrote:
application,eavesdrop,mod_dptools,/opt/freeswitch/mod/mod_dptools.so
It is an app, not an API.
--
-Rupa
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Mark Sobkow
Senior Developer
MarkeTel Multi-Line Dialing Systems LTD.
428 Victoria Ave
Regina, SK S4N-0P6
Toll-Free: 800-289-8616-X533
Local: 306-359-6893-X533
Fax: 306-359-6879
Email: m.sobkow@marketelsystems.com
Web: http://www.marketelsystems.com
Got it working (I think -- it's not returning errors anymore.) There
were two key things I changed: