Displaying 20 results from an estimated 7000 matches similar to: "Problem with OPTIONS requests."
2020 Jul 17
1
Problem with OPTIONS requests.
I've got this setup in a test context.
[test]
exten => s,hint,SIP/7124
exten => s,1,NoOP(Options to $EXTEN)
same => n,Hangup()
exten => _x.,hint,SIP/7124
exten => _X.,1,NoOP(Options to $EXTEN)
same => n,Hangup()
exten => Anonymous,hint,SIP/7124
exten => Anonymous,1,NoOP(Options to $EXTEN)
same => n,Hangup()
I added hints to see if that would make a difference
2018 Nov 16
2
Queue not dialing out to cell phone for some reason
My settings for the queue.log are in the [general] section of logger.conf
I'm running 13, I didn't see what version you said you were running.
If I wanted to add a LOCAL channel to my queue I'd do it as
member => LOCAL/7124 at kiniston-intern,0,John,hint:7124 at kiniston-intern
On Thu, Nov 15, 2018 at 2:38 PM Ivan Demkovitch <idemkovitch at yahoo.com>
wrote:
> John,
2020 Jul 17
0
Problem with OPTIONS requests.
Hey John,
In one installation I have, we use several monitoring tools (nagios based
and custom scripts based) and we have the following:
; Reply OK to SIP:OPTIONS
[public]
exten => s,1,Wait(1)
same => n,Hangup
: For Nagios
exten => nagios,1,Wait(1)
same => n,Hangup
NOTES:
1- We have context=public in sip.conf, if you have anything else, you must
update the dialplan above
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
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
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
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
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
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
2014 Nov 13
1
pjsip phoneprov realtime?
Howdy,
Is there a way to use realtime with phoneprov.com and pjsip?
I've got a working pjsip realtime config currently but I have to add a
phoneprov section to my pjsip.conf for each phone I want to provision.
I was hoping the Sorcery page in the wiki would help possibly but it's
blank :(
https://wiki.asterisk.org/wiki/display/AST/Sorcery
--
A human being should be able to change a
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
2013 Apr 10
1
AMI Reload action, returning generated errors?
Howdy,
I'm building a webapp to allow my techs to do minor dialplan edits and
trigger a reload on my PBX's running 1.8
I have no problem triggering a 'reload pbx_config.so' via manager, The
problem is how can I see the results of my reload?
For example a missing close parenthesis which would show in
/var/log/asterisk/messages
[Apr 10 13:46:16] WARNING[23911] pbx_config.c: No
2018 Nov 29
2
Queues and penalties
Hi John
This works fine providing extensions 1001,1002 and 1003 are "Incall" or
"Paused" - the problem appears to be that is a handset say 1002 is "ringing"
then the 2xxx then the penalty is not honoured.
This is well described in the History section of the following link
https://wiki.freepbx.org/display/PPS/lazymembers+patch+to+app_queue
As I say this seems to
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
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
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
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.
>
2014 Oct 27
1
sip.conf to pjsip.conf conversion script
Howdy,
I'm trying to get my feet wet with pjsip using the conversion script
mentioned on the Wiki on this page:
https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip
I'm using the copy of the script that's included with Asterisk 13
/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip
I assume I run it from /etc/asterisk with the input and output file as