Displaying 20 results from an estimated 24 matches for "startelement".
Did you mean:
start_element
2009 Dec 01
2
Asterisk registers with private IP
Hello
I'm trying to register an Asterisk working behind Nat.
Here is the trunk:
register=username:password at sip.startel.pt
[startel]
type=peer
host=sip.startel.pt
username=username
fromuser=username
secret=password
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
insecure=very
port=5060
nat=yes
canreinvite=yes
The problem is: Asterisk is registering with its
2007 Sep 01
2
Importing huge XML-Files
...,33</value>
<depth />
</Soilrespirationrate>
<MRType2>
...
+ <personData>
+ <siteData>
I only need the measurement/MRType1 nodes - how can I do this?
Currently I am trying the following code:
xmlEventParse("/input.xml", list(startElement=xtract.startElement,
text=xtract.text), useTagName=TRUE, addContext = FALSE)
xtract.startElement <- function(name,attr){
startElement.name <<- c(startElement.name,name)
}
xtract.text <- function(text) {
startElement.value <<- c(startElement.value,text)
}
this only gives m...
2009 Jul 28
2
AGI with queues status
Hello
I'm trying to use an AGI that returns the queues status (numbers of
available agents, etc ), but I'm having some problems with it (it's
still very buggy).
Is there any AGI repository with source code samples?
Had anyone used an AGI to check queues and agents status?
Thanks
regards
Joao Pereira
--
StarTel - A Rede Livre
Joao Gomes Pereira
www.startel.pt
+351 304500650
sip:
2009 Oct 22
2
ChanSpy in Asterisk 1.2.24
Hello
I have an old Asterisk where I need to listen to Agent calls. So I
created this code:
exten => _555,1,ChanSpy(Agent)
exten => _555,n,Hangup()
But I always get:
2009-10-22 16:00:38 WARNING[5695]: pbx.c:1720 pbx_extension_helper: No
application 'ChanSpy' for extension (default, 555, 1)
It seems that Asterisk doesn't have ChanSpy enabled... is this possible?
Which
2009 Jul 27
2
Asterisk and Kamailio NAT problem
Hello
Im using Asterisk as a SIP client of Kamailio with RTPproxy. Asterisk is
behind NAT.
X-Lite and SNOM phones behind NAT work fine.
But when I try to connect with an Asterisk behind NAT, the Asterisk
client doesn't receive sound.
I already tried in 2 different NATs, with no firewalls.
This is my Asterisk config:
[kamailio]
type=peer
host=xxx.xxx.xxx.xxx
disallow=all
allow=ulaw
2009 Jul 23
1
x-lite settings to reach asterisk
Hello: I have the linux version 2.0 of x-lite downloaded. Does anyone
know exactly what settings needed to reach the asterisk server on my
home network?
Internet ->DSL transparent bridge ->router ->asterisk
->softphone
x-lite attempts to login and register, but times out. There must be
some setting I'm
2009 Aug 26
1
TE4XXP: Version Synchronization Error!
Hello to all
I'm using asterisk 1.4 and dahdi.
I had everything working fine, and I could place calls through my R2
channel.
But now the channel is always "RED" and Im getting this error message:
TE4XXP: Version Synchronization Error!
Here is my chan_dahdi.conf------------------------------
[channels]
language=en
context=incomingr2
signalling=mfcr2
mfcr2_variant=ar
2010 Mar 17
2
Asterisk as a skinny/sccp "client"?
I wonder if Asterisk's skinny/sccp channel driver could be used as a
"client" to register with a Cisco PBX. That is, along with a SIP
client, say, have Asterisk and said SIP client stand in for a Cisco
phone, or an IP Communicator.
Anyone done this?
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type:
2012 Oct 26
1
Parsing very large xml datafiles with SAX: How to profile <anonymous> functions?
Hello everyone,
I'm trying to parse a very large XML file using SAX with the XML package
(i.e., mainly the xmlEventParsing function). This function takes as an
argument a list of other functions (handlers) that will be called to handle
particular xml nodes.
If when I use Rprof(), all the handler functions are lumped together under
the <anonymous> label, and I get something like this:
2009 Jun 07
2
Call recording in - out
Hello to all
I'm trying to record the calls going to my queues, but asterisk creates
2 files, one with the inbound and another with the outbound sound.
I know Sox should mix the 2 files automatically in the end, but this
isn't happening.
I have sox installed in my server.
How can I force Sox to mix the files?
Here is my config:
queues.conf-----------------------------
[general]
2009 Jul 21
2
Channel Variables in a Call file?
Hey gang,
I'm trying to find a) If you can put channel variables into a Call file and
b) what the appropriate syntax is.
Any ideas?
Thanks,
PB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090721/cb8c2656/attachment.htm
2010 Jan 11
0
ChanSpy doesn't hangs up
Hello
I have a simple configuration to allow the admins to listen the agents
calls:
exten => _654,1,ChanSpy(Agent)
exten => _654,2,Hangup()
The problem is... even when the agents hung up... it seems the channels
remain active:
asterisk*CLI> show channels
SIP/211-b3042018 654 at default:1 Up
ChanSpy(Agent)
SIP/211-b3fbf768 654 at default:1 Up
ChanSpy(Agent)
2009 Mar 30
0
Problem with Tomcat
...apache.tomcat.util.IntrospectionUtils.findMethods(IntrospectionUtils.java:812)
at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUtils.java:268)
at org.apache.catalina.startup.SetAllPropertiesRule.begin(SetAllPropertiesRule.java:59)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl...
2009 Jul 02
1
need help, service unavailable, registered but call does not get through
hi, i have a new install, 1.6 2, 2 extension, but the call doesnt get
thorugh: here is my sip debug outout: thx for ur help!!
<asterisk-users at lists.digium.com>
--- (13 headers 16 lines) ---
Sending to AA.BBB.CCC.DD : 28127 (NAT)
Using INVITE request as basis request -
Y2QxNTg4NjE3MTZjNGMzZGM5NzE3YWY4NjAyOTYzMjk.
Found user '701' for '701'
Found RTP audio format 107
Found
2008 Jun 10
1
Parse XML
Could someone provide a link or examples of parsing XML document in R? Few
specific questions below:
For instance I can retrieve specific nodes using this:
node <- xpathApply(xml, "//" %+% xtag, xmlValue)
1) I want to be able to retrieve parent node for this node, how can I do
this? getParentNode() does not seem to cut it.
2) How can I retrieve children nodes for a particular
2005 May 10
0
Fwd: Extract just some fields from XML]
...d me. Thanks for the code
as well as detailed explanation at the end.
>Hi Gregor.
>
>Here is a function that will collect all of the nodes in the
>XML document whose names are in the vector elementNames
>
>getElements =
>function(elementNames)
>{
> els = list()
>
> startElement = function(node, ...) {
>
> if(xmlName(node) %in% elementNames)
> els[[length(els) + 1]] <<- node
>
> node
> }
>
> list(startElement = startElement, els = function() els)
>}
>
>So you can use it as
>
> myHandlers = getElements("PubDate"...
2009 Sep 01
7
Dahdi configuraion / error
Hello
I just updated the kernel, dahdi-linux and dahdi-tools
Im also using now asterisk 1.4.26.1
And im still with a red light (not RED/YELLOW anymore):
[root at catumbela ~]# /etc/rc.d/init.d/dahdi status
### Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ RED
1 PRI CAS RED
2 PRI CAS RED
3 PRI CAS RED
4 PRI
2005 May 27
1
xmlAttrs and problems with reading node attributes of XML file (b ug?)
...t;\n",
"</mzXML>\n")
cat(xmlFile)
a = function(x,...){
cat("Attributes of ", xmlName(x), ": ");
print(xmlAttrs(x));
cat("\n");
NULL
}
xmlTreeParse(file=xmlFile, asText=TRUE,
handlers=list("startElement"=a) )
And its output:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mzXML xmlns="a" xmlns:xsi="b" xsi:schemaLocation="c">
<parentFile a="a" b="b" />
</mzXML>
Attributes of parentFile : a...
2010 Mar 19
4
Call Drops while doing assisted transfer from remote location
Hi all,
We have our system hosted publicly and 4 phones are connected remotely at
employee's home, and when they try to do a assisted transfer to one of the
employee at the main office, the call is lost. For ex: person A calls person
B, person B calls person C for assisted transfer, and as soon as person B
hits transfer button again to transfer person A to C, the call is lost.
But in the
2005 Sep 21
5
SAX Parser best practise
Dear All,
I have a question regarding best practise in setting up a XML parser
within R.
Because I have files with more than 100 MB and I'm only interested in
some values I think a SAX-like parser using xmlEventParse() will be the
best solution.
Unfortunately the values I'm looking for, to construct some higher "mass
spectrum", are distributed over different lines: as