Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Gerardo Barajas
Hi Luca. You can use the ${DIALSTATUS} channel variable. https://www.voip-info.org/asterisk-variable-dialstatus/ GERARDO B On Wed, Nov 3, 2021 at 2:52 PM Luca Bertoncello wrote: > Hi list! > > I have this problem: I'd like to notify the user about missed calls. > With "missed call" I mean: th

Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Carlos Rojas
g: *When the called party hangs up*, continue to execute commands in the current context at the next priority On Wed, Nov 3, 2021 at 4:39 PM Luca Bertoncello wrote: > Am 03.11.2021 um 21:34 schrieb Antony Stone: > > On Wednesday 03 November 2021 at 21:29:46, Luca Bertoncello wrote: > > > >> I tr

Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Luca Bertoncello
Am 03.11.2021 um 21:34 schrieb Antony Stone: > On Wednesday 03 November 2021 at 21:29:46, Luca Bertoncello wrote: > >> I tried so: >> >> exten => h,n(hang),Gosub(noanswer,s,1) > > The n there should be 1, surely? Ach, you're right! Now it works! Thanks a lot Luca Bertoncello (lucab...@lucabert

Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Antony Stone
On Wednesday 03 November 2021 at 21:29:46, Luca Bertoncello wrote: > I tried so: > > exten => h,n(hang),Gosub(noanswer,s,1) The n there should be 1, surely? > exten => h,n,Hangup I would say "remove that line". The call has already been hung up, so calling Hangup is at best going to go into

Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Luca Bertoncello
Am 03.11.2021 um 21:24 schrieb Doug Lytle: but if the called hangs up prior the timeout for the voicemail, the Subrouting "noanswer" will not called... > > You can use the h priority for that. > > https://wiki.asterisk.org/wiki/display/AST/Special+Dialplan+Extensions Hi Doug, could yo

Re: [asterisk-users] Notifying missed calls

2021-11-03 Thread Doug Lytle
>>> but if the called hangs up prior the timeout for the voicemail, the >>> Subrouting "noanswer" will not called... You can use the h priority for that. https://wiki.asterisk.org/wiki/display/AST/Special+Dialplan+Extensions Doug -- _

[asterisk-users] Notifying missed calls

2021-11-03 Thread Luca Bertoncello
Hi list! I have this problem: I'd like to notify the user about missed calls. With "missed call" I mean: the caller calls, wait a while and hangup _before_ the voicemail starts. I got it call a script just before the voicemail starts, so: exten => s,1,Verbose(2,Call for Main - [${CALLERID(num)}]

Re: [asterisk-users] Dial(PJSIP/xx) - finding the IP address it connected to

2021-11-03 Thread Joshua C. Colp
On Wed, Nov 3, 2021 at 3:31 PM Kingsley Tart wrote: > Hi, > > When dialling a remote SIP host with PJSIP, is it possible either > within the dialplan or via the AMI to find out the IP address of the > remote host? > The CHANNEL dialplan function[1] provides functionality for pjsip to get the rem

[asterisk-users] Dial(PJSIP/xx) - finding the IP address it connected to

2021-11-03 Thread Kingsley Tart
Hi, When dialling a remote SIP host with PJSIP, is it possible either within the dialplan or via the AMI to find out the IP address of the remote host? If for example a remote host has multiple A records, I would like to know which one Asterisk has connected to. We have an issue with some remote

Re: [asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread John Covici
I always empty /usr/lib/asterisk/modules if I am going to do an install with a different version, or better to do it always. On Wed, 03 Nov 2021 09:14:37 -0400, Kingsley Tart wrote: > > > Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - > > if you remove it do things work. > >

Re: [asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread Kingsley Tart
> Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - > if you remove it do things work. > Is app_fax.so explicitly being loaded in modules.conf? Thanks. I was already waiting for it to finish recompiling after Doug's suggestion but yes, app_fax.so was still in there and removing

Re: [asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread Kingsley Tart - Barritel Ltd
> Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - > if you remove it do things work. > Is app_fax.so explicitly being loaded in modules.conf? Thanks. I was already waiting for it to finish recompiling after Doug's suggestion but yes, app_fax.so was still in there and removing

Re: [asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread Joshua C. Colp
On Wed, Nov 3, 2021 at 9:09 AM Kingsley Tart wrote: > Hi, > > I'm using Asterisk 18.7.1. > > I can't get res_fax to load. I built it accidentally with app_fax > enabled, and was getting this in the log on startup: > > [Nov 3 11:52:31] ERROR[10886] loader.c: Error loading module > 'res_fax_spands

Re: [asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread Doug Lytle
>>> so I re-did make and make install and then a full asterisk restart, but >>> I still got the same "missing dependency: res_fax" error in the log. You should probably do a make distclean And then run configure again before re-compiling. Doug --

[asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax

2021-11-03 Thread Kingsley Tart
Hi, I'm using Asterisk 18.7.1. I can't get res_fax to load. I built it accidentally with app_fax enabled, and was getting this in the log on startup: [Nov 3 11:52:31] ERROR[10886] loader.c: Error loading module 'res_fax_spandsp.so', missing dependency: res_fax Discovering that app_fax and res