search for: mynumber

Displaying 20 results from an estimated 51 matches for "mynumber".

2015 Jul 15
2
bquote/evalq behavior changed in R-3.2.1
...hing to using eval with an expression-object rather than a call-object seemed to solve the problem when this was posed as a question on StackOverflow, but Dayne was not happy with that solution for other reasons that he is not describing. -- David. > In R-3.1.3 we got > rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17))) > #[1] 18 > rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17))) > #Error in (function (expr, envir = parent.frame(), enclos = if > (is.list(envir) || : > object 'myNumber' not found > lapply(list(quote(1+m...
2008 Dec 09
4
extract the digits of a number
Hello, Anyone knows how can I do this in a cleaner way? mynumber = 1001 as.numeric(unlist(strsplit(as.character(mynumber),""))) [1] 1 0 0 1 Thanks in advance, Gustavo
2015 Jul 15
2
bquote/evalq behavior changed in R-3.2.1
...t seemed to solve the >> problem when this was posed as a question on StackOverflow, but Dayne was >> not happy with that solution for other reasons that he is not describing. >> >> -- >> David. >> >> > In R-3.1.3 we got >> > rapply(list(quote(1+myNumber)), evalq, >> envir=list2env(list(myNumber=17))) >> > #[1] 18 >> > rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17))) >> > #Error in (function (expr, envir = parent.frame(), enclos = if >> > (is.list(envir) || : >> > object &...
2015 Jul 15
3
bquote/evalq behavior changed in R-3.2.1
In 3.1.2 eval does not store the result of the bquote-generated call in the given environment. Interestingly, in 3.2.1 eval does store the result of the bquote-generated call in the given environment. In other words if I run the given example with eval rather than evalq, on 3.1.2 "x" is never stored in "fenv," but it is when I run the same code on 3.2.1. However, the given
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
I think rapply() was changed to act like lapply() in this respect. In R-3.1.3 we got rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17))) #[1] 18 rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17))) #Error in (function (expr, envir = parent.frame(), enclos = if (is.list(envir) || : object 'myNumber' not found lapply(list(quote(1+myNumber)), evalq, envir=list2...
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
...-object rather than a call-object seemed to solve the problem > when this was posed as a question on StackOverflow, but Dayne was not happy > with that solution for other reasons that he is not describing. > > -- > David. > > > In R-3.1.3 we got > > rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17))) > > #[1] 18 > > rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17))) > > #Error in (function (expr, envir = parent.frame(), enclos = if > > (is.list(envir) || : > > object 'myNumber' not found &...
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
...t; problem when this was posed as a question on StackOverflow, but Dayne was >>> not happy with that solution for other reasons that he is not describing. >>> >>> -- >>> David. >>> >>> > In R-3.1.3 we got >>> > rapply(list(quote(1+myNumber)), evalq, >>> envir=list2env(list(myNumber=17))) >>> > #[1] 18 >>> > rapply(list(quote(1+myNumber)), eval, >>> envir=list2env(list(myNumber=17))) >>> > #Error in (function (expr, envir = parent.frame(), enclos = if >>> > (is.list(env...
2005 Mar 03
0
FW: (still problems) Dialing phone number and extension together to avoid listening to voice menu (incoming call)
...error message is "ast_realaudio_callback Failed to write frame" after "paying the beep". Then it says "User disconnected". Also, it doesn't react to any extension entered and doesn't do any forwarding (as it should in "exten => _XXX.,6,Macro(fhostaff,${mynumber},SIP/${mynumber})" Here's my complete context: [fhostaffmenu] ;include => fhostaff exten => s,1,Ringing ; Ring exten => s,2,Wait(2) ; Give them 2 seconds of ringing exten => s,3,Answer ; Answer the line exten => s,4,DigitTimeout(3) ; Set Digit Timeout to 3 seconds...
2005 Sep 23
3
Removing "-" (Dash) from Dialed Numbers
I am trying to enable dial-by-email by using LDAPget to query an Active Directory server. I've got it retrieving the phone number fine. Unforunately, the numbers stored in active directory are either in the format: (xxx) xxx-xxxx or xxx-xxx-xxxx. Is there any way to parse characters out of the dialed phone number so that I only end up with digits (remove spaces, parenthesis and dashes)?
2005 Feb 25
2
407 Proxy Authentication Required
...y: I configured my Asterisk to register to my VoIP provider, and I can make outgoing calls, but I can't receive any calls with it. I used Ethereal to sniff the activity of it, and I found something that might be causing the problem: When my provider's gateway does the "Request: INVITE mynumber@my-voip-provider.tld ..." my Asterisk asks for "Status: 407 Proxy Authentication Required", (log line 10) but my provider's gateway never sends this info back, so my Asterisk keeps on asking for the Authentication, and it never comes back... so it gives a "time-out" (I...
2004 Aug 10
1
Firefly and *... Argh!
...h * and firefly... I can get outgoing to other freshtel working, but not incoming (I get the "not available" voicemail), or outgoing to landline. I'm using the debian asterisk package (0.9.1-RC1-4) My iax.conf has in general (under my FWD register, which works...) register => (MYNUMBER):(MYPASSWORD)@cts-au.freshtel.net [firefly] type=friend host=cts-au.freshtel.net context=from-firefly I never see a "registered" message when starting up * (I do for FWD) When sniffing the interface I can see the following IAX2 data on startup. REGREQ (From me -> freshtel) REGAUTH...
2004 Nov 27
0
Failed to WWW-authenticate on INVITE
...078' I'm currently running Asterisk CVS-HEAD-11/27/04-15:07:27 and chan_sip2.c downloaded today. I had the problem using chan_sip as well, but the error message was slightly different. Below is a packet dump from the SIP session. My current sip.conf configuration is: --- register => mynumber:mypass@mysipprovider/mynumber [authentication] auth=mynumber:mypass@mysipprovider [mynumber] type=peer username=mynumber fromuser=mynumber secret=mypass fromdomain=mysipprovider host=mysipprovider insecure=very --- Any help would be deeply appreciated! Best regards, Atle Soma - soma@netpower.no...
2005 Mar 01
0
Dialing phone number and extension together to avoid listening to voice menu (incoming call)
...: [fhostaffmenu] exten => s,1,Ringing ; Make them comfortable with some seconds of ringback exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout(1) ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout(3) ; Set Response Timeout to 10 seconds exten => s,5,Read(mynumber,beep,3) ; Read DTMF input and save it into "mynumber" variable exten => s,6,Macro(fhostaff,${mynumber},SIP/${mynumber}) ; dial the extension that is saved in "mynumber" *************** When I execute this, it says that "User entered ''". Why wouldn't i...
2004 Aug 28
10
Broadvoice problem
Since Thursday evening my asterisk box has been failing to register with broadvoice. I haven't changed any of my config files in the last week. Can anyone suggest anything? Asterisk is reporting: *CLI> Aug 28 16:15:17 NOTICE[6150]: chan_sip.c:3914 sip_reg_timeout: Registration for '703XXXXXXX@147.135.8.129' timed out, trying again -- Got SIP response 404 "Not found"
2003 Jul 23
1
S3 and S4 classes
...39;s S3-like in the following sample and why it is not fully S4-compatible ? (any other comment welcome). Thanks in advance. Laurent ------------------------------------------------------------------------------------------------- # I define a class setClass("MyClass", representation(mynumber="numeric")); # the initilization method setMethod("initialize","MyClass", function(.Object) { .Object at mynumber <- 10; return(.Object); } ); # a function that objects of this class have perform <- function...
2011 Nov 11
8
Help
Dear Contributors I would like to perform this operation using a loop, instead of repeating the same operation many times. The numbers from 1 to 4 related to different groups that are in the database and for which I have the same data. x<-c(1,3,7) datiP1 <- datiP[datiP$city ==1,x]; datiP2 <- datiP[datiP$city ==2,x]; datiP3 <- datiP[datiP$city ==3,x] datiP4 <-
2006 Feb 20
1
problem with outgoingcallsUnabletocreatechannelof type 'ZAP' (cause 34 -Circuit/channelcongestion)
...erisk-Users] problem with outgoingcallsUnabletocreatechannelof type 'ZAP' (cause 34 -Circuit/channelcongestion) On 2/17/06, Michael Collins <mcollins@fcnetwork.biz> wrote: > Nik, > > This definitely helps! Please check your dial command. You've got > "Dial(Zap/0/mynumber)" and I think you might possibly want it to be > something like this: > Dial(Zap/1/mynumber) or > Dial(Zap/g0/mynumber) > > I don't recall there being a zap channel zero, but it is common to have > a group zero. I would recommend trying Zap channel 1 - > Dial(Zap/1/...
2006 Feb 17
2
problem with outgoing callsUnabletocreatechannelof type 'ZAP' (cause 34 - Circuit/channelcongestion)
Nik, This definitely helps! Please check your dial command. You've got "Dial(Zap/0/mynumber)" and I think you might possibly want it to be something like this: Dial(Zap/1/mynumber) or Dial(Zap/g0/mynumber) I don't recall there being a zap channel zero, but it is common to have a group zero. I would recommend trying Zap channel 1 - Dial(Zap/1/mynumber) - before trying the grou...
2004 Aug 07
2
Asterisk : No Sound No Dial
...G[1116941120]: chan_sip.c:457 __sip_xmit: sip_xmit of 0x80ed894 (len 363) to 192.246.69.223 returned -1: Bad file descriptor ### Asterisk can register with fwd on its own but if the sjphone has been started it reports ### NOTICE[1116941120]: chan_sip.c:3159 sip_reg_timeout: Registration for 'mynumber@192.246.69.223' timed out, trying again ### My local ipbox address being 10.12.X.X the settings in my sjphone for proxydomain userdomain and registrar are all 10.12.X.X port being 5060...the sjphone shows in sip peers... the relevant sections of sip.conf are: ######### [general] port = 5060...
2013 Apr 18
5
Dynamic realtime + queues
...rt)}) same => n,Queue(${QueueParameters}) ? [LocalSets] ? include => Queues ? [sip-phone] ;This is the context setup for outgoing calls ? exten => _3XXXX.,1,Dial(SIP/myprovider/${EXTEN:1},60) ;working config ? ? [from-myprovider] ;This is the context setup for incoming calls ? exten => *mynumber*,1,Answer exten => *mynumber*,2,Queue(support) exten => *mynumber*,4,Hangup ? queues.conf ? [general] autofill=yes??????????? ; distribute all waiting callers to available members shared_lastcall=yes???? ; respect the wrapup time for members logged into more ? ??????????????????????; than one...