Displaying 5 results from an estimated 5 matches for "mediacontroller".
2023 Sep 08
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
...- and just let it do the Dial() - I stopped
everything - got it running again. - and then the Dial() hangs on the
second call.
So both ChanIsAvail() or Dial() both hang on the second call in.
So only 1 call in will work.
Below is the CLI report of the call that works.
This is my context
[smvoice-mediacontroller-public-address]
exten => s,1,ChanIsAvail(Console/default)
exten => s,n,GotoIf($["${AVAILCHAN}" = ""]?smvoice-busy,s,1)
exten => s,n,Playback(beep)
exten => s,n,Dial(Console/default)
exten => s,n,Hangup
Now what ???
Jerry
onnected to Asterisk 18.18.0 currently...
2023 Sep 07
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
ok switching to "Console/default" does show the text
--- <("<) --- Call to device 'default' on console from 'default'
<2564286000> --- (>")> ---
--- <("<) --- Auto-answered --- (>")> ---
However I don't hear any audio.
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 09
2
has_many through delete issue
...destroy_price action in the controller:
def destroy_price
Media.find(params[:id]).prices.find(params[:price_code_id]).destroy
redirect_to :action => ''show'', :id => params[:id]
end
When I call the action the following error is returned:
ActiveRecord::StatementInvalid in MediaController#destroy_price
Mysql::Error: #42S22Unknown column ''prices.id'' in ''where clause'': SELECT
* FROM prices WHERE (prices.id = ''1'' AND (prices.media_id = 82)) LIMIT
1
For this example I''m trying to delete the prices record with media_id o...
2006 Mar 20
16
Secret URLs and file downloads
I''m looking to do something similar to the "secret URLs" in Rails
Recipes, however, with file downloads. I want to avoid providing direct
URLs to people if possible.
I have files on disk in public/, so it would be good if each user got a
"unique" URL to each file that they are permitted to see (dealt with by
a user_id/file_id table). Then they are only allowed
2023 Sep 08
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
...everything - got it running again. - and then the Dial() hangs
> on the second call.
>
> So both ChanIsAvail() or Dial() both hang on the second call in.
>
> So only 1 call in will work.
> Below is the CLI report of the call that works.
>
> This is my context
> [smvoice-mediacontroller-public-address]
> exten => s,1,ChanIsAvail(Console/default)
> exten => s,n,GotoIf($["${AVAILCHAN}" = ""]?smvoice-busy,s,1)
> exten => s,n,Playback(beep)
> exten => s,n,Dial(Console/default)
> exten => s,n,Hangup
Not sure if this is the same thing y...