Is there a guide on how to use PJSIP and never have the media travel inside
Asterisk? No matter what I do, I cannot make this work.
Philip Orleans
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check
I did a quick and dirty blog entry called "Protecting your Asterisk
PBX…" as I wanted some checklist for going through and locking down
exposed services, etc. for FreePBX rollouts. Folks can see it here:
https://blog.lns.com/?p=177
Feedback encouraged.
Thanks...
Tim
--
I found my mistake. I was running execif on the result. I needed to change:
ExecIf(${MATH(${HOUR_SELECTED}<11)}?Set(HOUR_SELECTED=${MATH(${HOUR_SELECTED}+12,int)}))
TO:
ExecIf($["${MATH(${HOUR_SELECTED}<11)}" ==
"TRUE"]?Set(HOUR_SELECTED=${MATH(${HOUR_SELECTED}+12,int)}))
On Thu, Feb 13, 2020
Do you know that it is coming back as FALSE, or are you assuming that from
examining the expression?
--Don
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf
Of Dovid Bender
Sent: Thursday, February 13, 2020 1:13 PM
To: Asterisk Users Mailing List -
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
wrote:
> My Apologies Dovid, I think I misunderstood your request.
>
> You don't have the time you need to
Is it stored as a floating-point number or an integer? Floating-point decimal
numbers are often not stored precisely. As in my example, below, “12” may be
stored as 11.999 (simplified) and, although it will be treated as “12”
in most cases, it will appear to be less than 12 in a
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 have your users entering via DTMF when they want something to
happen?
On Thu, Feb 13, 2020 at 11:08 AM Dovid Bender wrote:
> John,
>
> From looking at
HOUR_SELECTED is going to be 1-12
On Thu, Feb 13, 2020 at 2:05 PM Don Kelly wrote:
> Is HOUR_SELECTED a floating-point number (e.g. 11.999)? If so, you
> need to account for that in your comparison.
>
>
>
> --Don
>
>
>
>
>
> *From:* asterisk-users
Is HOUR_SELECTED a floating-point number (e.g. 11.999)? If so, you need
to account for that in your comparison.
--Don
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf
Of Dovid Bender
Sent: Thursday, February 13, 2020 4:47 AM
To: Asterisk Users
Hi, do you have NAT between Asterisk and agent phones?
S pozdravem
Tomáš Holý
> 13. 2. 2020 v 19:06, Stefan Viljoen :
>
>
> Hi all
>
> Asterisk 13 instance - I’ve got a situation in an agent queue that an agent
> will be talking to one person, then suddenly the same agent will be talking
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
Hi all
Asterisk 13 instance - I've got a situation in an agent queue that an agent
will be talking to one person, then suddenly the same agent will be talking
to another person who was talking to another agent.
The calls do not switch around between the two agents, the "losing" agent
will
Try using the STRFIME function instead of doing this by hand.
https://wiki.asterisk.org/wiki/display/AST/Function_STRFTIME
*%H*
The hour as a decimal number using a 24-hour clock (range 00 to 23).
*%I*
The hour as a decimal number using a 12-hour clock (range 01 to 12).
On Thu, Feb 13, 2020
Hi,
I have some dialplan code that is trying to convert 12 hour time with AM/PM
to 24 hour format. The code has something like this:
Exten =>
2,1,ExecIf(${MATH(${HOUR_SELECTED}<12)}?Set(HOUR_SELECTED=${MATH(${HOUR_SELECTED}+12,int)}))
Earlier on in the dialplan HOUR_SELECTED is set to 12. When
14 matches
Mail list logo