Displaying 20 results from an estimated 4000 matches similar to: "how to strip +1 out of incoming number"
2015 Jul 07
2
Asterisk pin code for out-going international calls (safeguard against fraud)
Hello,
I used this guide, it worked for me:
http://www.binaryheartbeat.net/2014/03/asterisk-pin-based-dialing.html
Thanks,
On 07/06/2015 04:54 PM, John Kiniston wrote:
> The Authenticate application will do this for you.
>
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate
>
> You can either give it a single PIN to use for all calls, Authenticate
2015 Jul 06
3
Asterisk pin code for out-going international calls (safeguard against fraud)
Hello All,
I will like to configure Asterisk to use PIN Code for all outgoing
international calls.
Also, any suggestions as to when should I prompt users for code prior to
dialing the number or after dialing the number?
can someone provide with a example on how to accomplish this goal? I am
a bit confuse by this :
2016 Aug 22
3
Dial and start music on hold after timeout
Sorry, I forgot to write that the SIP peer must keep ringing while the
announcement is being played.
Le 22/08/2016 ? 17:42, John Kiniston a ?crit :
> This seems like the obvious answer but maybe I'm misunderstanding the
> question.
>
> exten => s,1,Dial(SIP/alice,20)
> same => n,Playback(myannouncement)
> same => n,NoOP(Whatever else you want to do goes
2016 Nov 04
2
Any way of creating a file to write to from the dialplan, or must I use AGI?
That's just what I'm using, John.
But I'm getting (eg)
[Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:449 file2format:
Cannot open '/home/logs/anonymous.txt': No such file or directory
[Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:949 file_write:
File '/home/logs/anonymous.txt' not in line format
Asterisk is running as root (yeah, I know!), and has
2016 Aug 22
2
Dial and start music on hold after timeout
Thank you for the idea. The problem with RetryDial, is that it will
cancel the first call, play the announce and then dial the SIP peer once
again, so the telephone will display a missed call. I would prefer to do
everything in a single call.
Le 22/08/2016 ? 17:57, John Kiniston a ?crit :
> You could try using RetryDial() instead of Dial, It supports playing
> an announcement.
>
2017 Nov 23
2
How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
Hi,
1. How do you then, synced then unread message presence with custom device
status ? From an external program ? When a user leaves VoiceMailMan
application ? Using externnotify ?
2. What is MWI:101 at default expression for (see [2] ?
Cheers
[2]
https://wiki.freepbx.org/display/FPG/Subscribe+a+BLF+button+to+Monitor+a+Voicemail+Box
2017-11-21 17:58 GMT+01:00 John Kiniston <johnkiniston at
2020 Jul 16
3
Problem with OPTIONS requests.
I'm implementing a SBC with my Asterisk PBX but the keeps disabling the
trunk group I've configured and I think it may be because Asterisk is
returning a 4r04 to the OPTIONS.
I've created a test context and have put in a wildcard pattern match to try
and catch those options but it doesn't seem to work.
Is there a way to have asterisk respond with an 200 OK instead of a 404?
--
2018 Jan 10
2
how do i enable call features??
That is the general idea. But how do i make it work? is there somewhere
ready?
On Wed, Jan 10, 2018 at 6:39 PM, John Kiniston <johnkiniston at gmail.com>
wrote:
> Define your *72 and *73 extensions in your internal context, Have them set
> a value in the ASTDB that you then check when dialing your handsets.
>
> The same can be done for call forwarding, store a number in the
2017 Apr 21
2
asterisk name in mysql
hi. currently i am running the phonebook in astdb with
*database put cidname 0123456789 "name_surname"*
and i retrive it with
*exten =>9876543210,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})*
Now, my system has mysql and i got all my contacts in there in a database
is called *asterisk *and a table called *addressbook**. *password of the
mysql is
*whateverpasswd*
how do i
2018 May 23
3
More testing
More testing. Test test test. :-)
--
Matthew Fredrickson
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
2020 Feb 13
2
Help with FUNC_MATH
John,
>From looking at the wiki won't STRFIME just give me what I need based on
the unix time that I put in? What I am actually looking to do is convert
over from 12 hour format to 24 (unless strftime does just that and I don't
kow what am I am doing?).
On Thu, Feb 13, 2020 at 12:03 PM John Kiniston <johnkiniston at gmail.com>
wrote:
> Try using the STRFIME function
2016 Jun 30
2
how to join 2 channels using AGI/AMI
thanks John
yeah, your approach is much siple, i've tried it but i'm not able do detect
DTMF tones.
it seems that on calls that i receive DTMF tones are handled correctly, but
on calls generated from Asterisk to the world when the called side sends
some DTMF digits they are not detected:
-- Executing [s at macro-myconnector:1] NoOp("SIP/pbx2-000004b2", "") in
new
2016 Feb 22
5
Voice recognition IVR Is it possible?
Thanks for the link.
Are there no free alternatives for speech recognition?
2018 Jan 11
2
how do i enable call features??
No idea on how to write it in my system.
On Thu, Jan 11, 2018 at 12:17 AM, John Kiniston <johnkiniston at gmail.com>
wrote:
> There's some example code in the Dial-Users context of the basic-pbx
> samples that might be of use in implementing it.
>
> They are checking a DEVICE_STATE to see if a phone is BUSY, You could
> change it to be a database call or implement custom
2016 Aug 22
2
Dial and start music on hold after timeout
Hello,
I am searching a way to dial a SIP peer, and if it does not answer
within 20 seconds, play an announcement to the caller. This means that
the caller would hear a ring tone for 20 seconds, and only then hear the
announcement if the callee did not answer.
I know it is possible to do this with ARI, but in this particular case I
do not want to use ARI. I would like to do this purely with
2016 Aug 15
2
How to remove unused custom hints?
Hello list members,
after programing of dialplan I have some messy Custom:hints which I can see in 'devstate list'. I didn't find any possibility how to remove this hints from Asterisk and I want remove them.?
Can you help me with that, please? I tried search about that something in documentation or on Google, but I didn't find anything.?
asterisk*CLI> devstate list ?
2020 Feb 13
2
Help with FUNC_MATH
John,
That is correct. I am trying to figure out why Asterisk is executing the
set part of the execif, if it's coming back as false.
On Thu, Feb 13, 2020 at 2:10 PM John Kiniston <johnkiniston at gmail.com>
wrote:
> My Apologies Dovid, I think I misunderstood your request.
>
> You don't have the time you need to convert in the format of date string,
> Instead you
2016 Aug 23
2
Dial and start music on hold after timeout
How about:
exten => s,1,Dial(SIP/alice&LOCAL/555 at delayed-announce,40)
[delayed-announce]
exten => 555,1,Wait(20)
same => n,Playback(myannouncement,noanswer)
same => n,NoOP(Whatever else you want to do goes here)
The 'noanswer' option on the Playback means that SIP/alice should continue
to ring for the remaining 20 of the 40 seconds, as the Playback will not
answer
2018 Aug 14
2
Is there a way to remove launching shell command from Asterisk CLI
Hello,
Is there a way to let someone access to Asterisk CLI and type whatever
command (s)he likes but the shell command (the ones started by !) ?
Ideally, it could be an argument to rasterisk:
rasterisk --no-shell
When done, a session could be like this:
> pjsip show endpoints
...
> core reload
...
> !rm /etc/foobar
Forbidden
Suggestions ?
Best regards
-------------- next part
2015 Jun 09
2
Manipulate extension state in 1.8.x
Hi
Is there any way to set the presence state of a peer to in-use in asterisk
1.8?
The idea is to integrate DND buttons on phones to BLF.
Regards
--
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)161 660 2350
f: +44 (0)161 660 9825
e: ish at pack-net.co.uk
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street