Displaying 20 results from an estimated 5000 matches similar to: "Modem as a FXO"
2003 Nov 11
4
Registering an application
Hello..
Maybe I'm asking something silly but..... How can I register my own app with * ?
I've made a simple .so , but I cannot find it in asterisk when i type "show applications"
Here is the code:
#include <asterisk/lock.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
#include <asterisk/pbx.h>
#include
2003 Apr 03
6
tc problem
Hello..
I have a linux box and I want to make priority on traffic generated by my
LAN''s computers..
I don''t have a guaranted bandwidth, so I wanna use sfq...
I want to make traffic to port 80 , 443 , 25 & 110 PRIORITY 1
Traffic src or dest 192.168.0.2 to make priority 2
And the rest to put it in proiority 3..
I did the following :
tc qdisc add dev eth0 root handle 1:
2003 Oct 28
2
Another Segmentation Fault (Recording sound)
== Parsing '/etc/asterisk/adsi.conf': Found
-- Accepting call from '890003' to '185' on channel 27, span 1
-- Executing Answer("Zap/27-1", "") in new stack
-- Executing Record("Zap/27-1", "soundexampless:mp3") in new stack
-- Playing 'beep'
WARNING[360468]: File translate.c, Line 128
2004 Jan 17
3
SS7 over Asterisk ?
Hello..
I have a customer who wants to connect 2 PBX's over IP..
The setup should look like this:
[PBX] <-- SS7 --> [Asterisk] <-- IAX --> [Asterisk] <-- SS7 --> [PBX]
Since there are no SS7 cards , I was thinking at a way of carrying the E1 data as bulk...Can I do that ? How ?
Is possible a scenario like this ? I'm thinking of IAX because I don't
2003 Oct 26
1
SIP auth
Hello..
There is another way of doing SIP auth other then manually add the user & passwords to sip.conf ?
I'm talking about radius or postgres..
Regards
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031026/3140157a/attachment.htm
2003 Oct 27
1
SIP -> H323 Seg fault.
A very strange problem..
* dies with seg fault when calling from SIP to h323
WARNING[589848]: File chan_oh323.c, Line 2429 (alerted_h323_connection): Call with reference 183 in unexpected state (4).
-- Called 113506
-- H323:183 answered SIP/alex-1e48
Segmentation fault
I'm using Mandrake 9.1 , lastest * ( 3 day old from cvs) , and oh323 last version..
here are my configs:
2003 Dec 17
1
PRI Error messages
Hello...
Does anybody knows what is the meaning of thoose messages ?
What i'm doing wrong here ?
The * works fine , both incoming and outgoing services..
WARNING[163851]: File chan_zap.c, Line 5683 (zt_pri_error): PRI: Read on 47 failed: Unknown error 500
PRI got event: 8
WARNING[163851]: File chan_zap.c, Line 5683 (zt_pri_error): PRI: Read on 47 failed: Unknown error 500
PRI got event: 6
2003 Jun 30
4
asterisk with modem
hi,
i need to do a demo of asterisk in a office that doesn't have an ISDN
line, can someone tell me if asterisk works also if i use a modem card
mapped on /dev/ttyl0 insted of use a isdn card?
did someone try to do something similar before?
thanks for your help!!
Angelo
2013 Dec 09
0
Gluster - replica - Unable to self-heal contents of '/' (possible split-brain)
Hello,
I''m trying to build a replica volume, on two servers.
The servers are: blade6 and blade7. (another blade1 in the peer, but with
no volumes)
The volume seems ok, but I cannot mount it from NFS.
Here are some logs:
[root@blade6 stor1]# df -h
/dev/mapper/gluster_stor1 882G 200M 837G 1% /gluster/stor1
[root@blade7 stor1]# df -h
/dev/mapper/gluster_fast
2003 Jul 23
3
fxs without fxo
Is there any way to run asterisk without a fxo card? I am looking only
run SIP and a single fxs card.
2013 Jun 25
4
[LLVMdev] get value
Hi Cristianno,
Thank you, it works :)
with an extra cast:
Value *v ......
ConstantInt* RR = (ConstantInt *)v;
uint64_t VV = (RR->getValue()).getLimitedValue();
errs()<<"\nRR "<<VV<<"\n";
2013 Feb 27
3
[LLVMdev] llvm get annotations
Hello everyone !
I followed
http://stackoverflow.com/questions/4976298/modern-equivalent-of-llvm-annotationmanagerin
order to get annotations from my target bytecode. All the examples
that
I give in the following is related to the code from that link. I have
`__attribute__((annotate("DS"))) int f=0;` into the target C++ program and
the related IR code:
@.str = private unnamed_addr
2013 May 02
2
[LLVMdev] int to StringRed conversion
I think the better solution should be:
LLVMContext& C = is->getContext();
Value *values[] = {
ConstantInt::getSigned(Type::getInt64Ty(C), *scsr*),
MDString::get(C, *"path"*)
};
lnstr.setMetadata(*"your_analysis_name"*, MDNode::get(C, values));
So that you can take advantage of the type system of LLVM bitcode, and
don't have to cast the integers from/to strings
2012 Dec 20
2
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
Hello,
Thank you for your answer. If I want to use
then I have
error: ‘NodeTy* llvm::ilist_half_node<NodeTy>::getPrev() [with NodeTy =
llvm::Instruction]’ is protected
error: ‘llvm::ilist_half_node<llvm::Instruction>’ is not an accessible base
of ‘llvm::Instruction’
Do you know any other method to access the previous instruction of a
terminator instruction? PS: back() is not an
2013 Jun 06
3
[LLVMdev] CFG of a function
I think I understood that, but what I mean is what is the function
responsible to do mapping is it MapValue() in ValueMapper.h?
Thanks for your help
On 6 June 2013 09:54, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> Map every basic block from the CFG to a set of integers. The successors
> from the CFG can be used to make the edges in your simplified
2012 Dec 20
1
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
I solved by checking
if(BB->size()>1)
Thank you all for the help !
Now debugging the next segfault.
On Thu, Dec 20, 2012 at 12:59 PM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> getPrevNode<http://llvm.org/docs/doxygen/html/classllvm_1_1ilist__node.html#a77b897207ef0a1ae95c404695aed9a4b>()
> Get the previous node, or 0 for the list
2013 Mar 01
1
[LLVMdev] llvm get annotations
Hi, I solved it. From the ConstantStruct you can call getOperand() multiple
times, so "mine" as deep as you can.
On Fri, Mar 1, 2013 at 1:41 PM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
>
> Hi Sebastian,
>
> Thanks for the response.
>
> I already did this :
>
> I cast the entire annotated expression to Value*. Then, in
2013 Mar 01
0
[LLVMdev] llvm get annotations
Hi Sebastian,
Thanks for the response.
I already did this :
I cast the entire annotated expression to Value*. Then, in order to avoid
ugly things like getAsString(), I check if V->getValueID() ==
Value::ConstantArrayVal in order to cast it to ConstantArray. Because it
contains only array[0], I cast array0>getOperand(0) to ConstantStruct.
Therefore, from ConstantStruct you can get all the
2013 May 02
0
[LLVMdev] int to StringRed conversion
Yes, it sounds good. I can try tomorrow.
Thank you for your advice !
On Thu, May 2, 2013 at 5:43 PM, Logan Chien <tzuhsiang.chien at gmail.com>wrote:
> I think the better solution should be:
>
>
> LLVMContext& C = is->getContext();
> Value *values[] = {
> ConstantInt::getSigned(Type::getInt64Ty(C), *scsr*),
> MDString::get(C, *"path"*)
> };
2013 Jun 05
2
[LLVMdev] CFG of a function
What do you mean by mapping to integers?
On 5 June 2013 22:32, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> Why you don't map the basic blocks to integers and apply algorithms on the
> integer graph? And construct your new CFG.
>
>
> On Wed, Jun 5, 2013 at 10:27 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> How