Displaying 5 results from an estimated 5 matches for "myoperator".
Did you mean:
bgoperator
2011 Mar 23
2
Problems Extension with a Call In on Asterisk 1.6
...call on the 081169xxxx, he don't use
the extension. He use the 003318364xxxx extension.
SIP Debug:
<--- SIP read from UDP://91.121.xxx.xxx:5060 --->
INVITE sip:003318364xxxx at 78.41.xxx.xxx:5060;transport=udp SIP/2.0
Allow: UPDATE,REFER,INFO
Call-ID: 04459-NK-5fa6f8a0-18641fd41 at sip.myoperator.net
Contact: <sip:91.121.xxx.xxx:5060>
Content-Type: application/sdp
CSeq: 1602837515 INVITE
From: "033426aaaaaa"
<sip:033426aaaaaa at sip.myoperator.net;user=phone>;tag=04459-CI-5fa6f8a1-6f03b5b60
Max-Forwards: 30
P-Preferred-Identity: <sip:033426aaaaaa at sip.myoperator.n...
2011 Apr 03
1
Asterisk 1.6 => No sound/voice when i redirect the call
...xx,4,Set(toexten=${CUT(CLI,@,1)})
exten => _00339xxxxxxxx,5,Noop(ORIGINAL NUMBER : [ ${toexten} ])
exten => _00339xxxxxxxx,6,AGI(Ddi-Network.agi,${toexten})
exten => _00339xxxxxxxx,7,Set(CALLERPRES()=prohib_not_screened)
exten => _00339xxxxxxxx,8,Dial(SIP/MyOperator/${NUMAPPEL},180,rt)
exten => _00339xxxxxxxx,9,Hangup
and i have in sip.conf:
[MyOperator]
type=peer
host=host-of-my-operator
qualify=yes
dtmf=rfc2833
nat=no
canreinvite=no
canredirect=yes
insecure=port,invite
dtmfmode=rfc2833
disallow=all
allow=g729
allow=alaw
allow=g723
defaultuser=...
2019 May 26
2
"if" function in pure R?
Hi all,
Could anyone refer to me to a good source to learn how to program a simple
control-flow construct* in R, or provide me with a simple example?
Control-flow constructs are programmed as primitives, but I would like to
be able to do that (if possible) in pure R.
The general context is that those functions are a mystery to me. The
motivating example is that I would like to create a function
2019 May 27
1
"if" function in pure R?
...special since it has
> two arguments, left operand and right operand respectively. You then
> can call the `substitute` function to get its function arguments in an
> expression format and proceed to do what you want. Here is an example to
> show the idea.
>
> *Code:*
>
> `%myOperator%` <- function(x, y) {
> x = substitute(x)
> y = substitute(y)
> return(list(x, y))
> }
>
>
> myIf(i == 1, arg1) %myOperator% {
> doSomeThing
> }
>
>
> *Results:*
>
> [[1]]
> myIf(i == 1, arg1)
>
> [[2]]
> {
> doSomeThing
> }...
2019 May 27
0
"if" function in pure R?
...ion name you want. The function %*% is special since it has
two arguments, left operand and right operand respectively. You then
can call the `substitute` function to get its function arguments in an
expression format and proceed to do what you want. Here is an example to
show the idea.
*Code:*
`%myOperator%` <- function(x, y) {
x = substitute(x)
y = substitute(y)
return(list(x, y))
}
myIf(i == 1, arg1) %myOperator% {
doSomeThing
}
*Results:*
[[1]]
myIf(i == 1, arg1)
[[2]]
{
doSomeThing
}
I hope that helps.
Best,
Jiefei
On Sun, May 26, 2019 at 4:45 AM Alexandre Courtiol <
al...