Programming :: Make Multiple Calls Using PJISP?
Apr 12, 2011
I have a problem in making multiple calls using PJSIP. I registered different accounts that implements IAccount and added that in the CallManager. When i try to make the calls from the same CallManager, I could able to make the first call. When second call is made the first call got cut and it is alerting and the same for the thrid call..Could anyone help me in this regard.
Note: Calls has to be made from different numbers to different destinations. Is it possible to make multiple outbound calls simultaneously from the same instance of CallManager?
View 1 Replies
ADVERTISEMENT
Oct 26, 2010
What is the real difference between system calls and normal function calls. Ultimately function calls too would be passed to kernel for some or the other work.
View 7 Replies
View Related
Apr 21, 2010
(i) I usually make multiple dir using -p optionex: mkdir -p dicttest/audrep/tdriver/testNow after creating this dir's i stay in current dir instead i want to go directly to test dir how can i acheive this.(ii) When i execute which command as followswhich testerm i will get the location of testterm now i want to open this filewhen i did in this wayhich testterm | vi The file dosent get opened how can i acheive this ?ex:
linuxx86:110$ which testterm
/view/rdl110_linuxx86/vobs_usrrdl/sc/testterm
linuxx86:110$ which testterm| vi
[code]....
View 3 Replies
View Related
Oct 22, 2010
I have been working on a project for a while now that involves a rather complex daemon that has to be simultaneously running different tasks. For example one of these tasks is to receive IP packets from the Netfilter queue and place those packets into one of several internal queues. While other tasks involve taking IP packets from those internal queues and processing/manipulating them and finally returning them back to the Linux network stack.
As I as I have no previous C experience before starting this project I just spawned a new thread each time I needed the daemon to be doing something else while those other tasks continued to run. Is there any other way of doing this or is this pretty much the only way of doing this? Because C is procedural I could not figure out any other way of doing accomplishing what I wanted. Should I have done it some other way or is this the correct and only way I could have gotten my C app to be running multiple tasks at the same time?
View 6 Replies
View Related
Mar 11, 2010
Is it possible to make an AWK script that goes over the file multiple times, every time doing something different to it?
View 19 Replies
View Related
Jun 8, 2010
I get the following messages while starting up. This also delays my desktop initialisation.
Code:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_GB.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
/usr/bin/startxfce4: X server already running on display :0
xrdb: "Xft.hinting" on line 9 overrides entry on line 6
[Code]...
If I run in terminal tail -f .xsession-errors while my system initialises, I see these messages appearing every 5 sec.
View 2 Replies
View Related
Sep 21, 2010
Okay so I have an alias that looks like this:
Code:
ALIAS sorigin {
MSG sorigin Test1
[code]...
View 1 Replies
View Related
Nov 19, 2010
I am building an android, from the source using make command. I want to achieve simple logging while this make is happening.
Aim:
I want to look/log for internal system calls that are being made after i do 'make' command in bash terminal. So that after the make is done, i can look and study the internal method/file calls made while make was happening. In this way i will come to know how the actual building process works.
View 1 Replies
View Related
Mar 12, 2010
I have a dial-up modem in my Laptop.
Also I have a Dial-up line[Base Phone].
Can I make calls from Dialup modem [Making & Answering calls]?
View 5 Replies
View Related
Mar 17, 2010
I have been trying to figure out how to make audio calls in Pidgin. I have enabled the "Video/Voice Settings" plug-in, but do not get any options any where to initiate a voice call. I am trying to do voice over SIPE to Office Communication Server and I am not 100% sure if pidgin-sipe supports audio (I have looked around but can't find any information on features).
View 1 Replies
View Related
Jun 13, 2010
I heard it possible to make a call from a pstn phone through the internet to a pstn phone elsewhere in the world. The caller pstn phone connects to something called a pbx[dunno what it is] and a linux box running some software[dunno what it is either] connects to the internet.How do I make that work?
View 5 Replies
View Related
Apr 9, 2010
I am looking for an external (usb?) sound card that might work with Linux. I would like to plug in there my headsets as well as my microphone to make voice calls. Do you have anything to suggest that will work fine with my latest opensuse?
View 2 Replies
View Related
Apr 7, 2011
I've bought the new AT&T's Velocity/GI461 USB modem. This is a nice toy because into one only stick there are integrated all the features that I need,like the GSM/3G/GPS modules. Googling I've found a good tutorial about how to connect it under Debian and about how to control the GPS data. You can read it going here :
[URL]
but what about to make and receive phone calls through the SIM card integrated and the AT commands ? Can someone give some help ? I've attached some documentation. Maybe this can be done using Wammu and/or Gnokii.
[URL]
View 1 Replies
View Related
May 1, 2011
Is there a way to make phone calls and send SMS via mobile broadband 3G modem, i mean an application for the 3G modem which is similar to the one provided for windows by the manufacturer?
View 2 Replies
View Related
Mar 12, 2010
I need to include variables in a system() call. This is that I have:
[code]#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
[Code]....
P.S.: I know this is a pointless redundant program, but it's part of a larger project learning process.
View 10 Replies
View Related
Sep 27, 2010
We recently ported an application over from IRIX to Linux, specifically SUSE Enterprise 11 and gcc (glibc 2.9). On IRIX there was a library trace utility call 'par' that allowed me to execute a C program and trace all the library calls it made, tracking how much time was spent in each call. I have been trying to find something similar for SUSE. I have found the ?trace programs (strace, ltrace, and ktrace) none of which is default installed on SUSE 11.Does any one have a suggestion on which ?trace to install and use or is there something else out there better?
View 1 Replies
View Related
Sep 23, 2010
I know there is a way to call winapi in runtime in windows. I want to ask how can I call a system call in gcc in runtime (when I don't know what it can be)? I don't mean syscall that I think is for calling only system calls and not library functions.
View 4 Replies
View Related
Jan 11, 2010
Is there a way to hook calls to new/malloc, delete/free in C++? I tried the following methods: LD_PRELOAD -> fails for malloc, because dlsym seems to depend on malloc -Wl,--wrap,malloc -> doesn't work for 'new' gcc hooks -> doesn't work always, e.g. for uclibc there are no hooks Are there any other methods I could try?
View 2 Replies
View Related
May 12, 2009
how can I trace the method calls in Java during runtime?
View 1 Replies
View Related
Feb 17, 2010
I'm trying to write a C program that extends an array to any user inputed size.
Code:
if (arraysize == 0) {
arraysize = (int) pos + 1;
a = (int *) calloc (arraysize,sizeof(int));
for (i = 0 ; i < arraysize ; i++ )
a[i] = -1;
code....
The program dumps with that sequence of inputs everytime, but might dump an input before or after if different positions are requested. Interestingly, when I tested pos = 2000..2008, I got no dumps. So is realloc somehow trying to extend the array into bad space?
View 2 Replies
View Related
Sep 20, 2010
I am trying to port some "C" code from Solaris to Linux. I have a Dell PowerEdge R610 with an Intel Xeon E5504 quad core processor running Red Hat Linux Enterprise 5.3. I am compiling in 64 bit mode. I have managed to get the code compiled and linked, but when I attempt to execute it, I get a core dump in one of the C library calls (like strcpy or printf.)
I have a static library that contains our own code that makes the call to the C library. If I move the library method into the source file with the main method and rename it to be certain that I am executing my method instead of the method in our library, the call succeeds. Eventually another static library call is made that results in a core dump in the shared object. I compile my library code into a static library with gcc as:
[Code]....
View 3 Replies
View Related
Mar 13, 2011
I'm trying to produce a alphabetic, non-repetitive list of all System service calls in all c files located in a folder. Here's what I got so far.
grep -ow '[A-Za-z]*SYS[$][A-Za-z]*' *.c | sort
Which produces all system service calls in alphabetic order I just need to find out how to make it non-repetitive.
View 3 Replies
View Related
Mar 1, 2011
How does a C program start in linux? Is main() the first function called in the a c application by kernel. I understand it is the first called function written by the application programmer, but the question is to understand the what all kernel does and what all functions it calls before calling main()
View 9 Replies
View Related
May 14, 2011
I need to write script to look for the presence of memory allocation calls without corresponding calls to free the memory
View 5 Replies
View Related
Apr 5, 2010
I am working with fedora 6 , i386 architecture.I am trying to write on keyboard port via program.On inspation i come to know that 0x0060 to 0xz006f are used for keyboard in linux 2.6 kernel in the i/o space from kernel.
#include<sys/io.h>
#include<stdio.h>
#include</usr/lib/syslinux/com32/include/sys/io.h>
#include<unistd.h>
//#define
[Code]...
View 2 Replies
View Related
Jun 25, 2010
I have a startup script for jboss (start.sh) that sets some JAVA_OPTS and then calls bash run.sh.If I run it (start.sh) from the command line it runs in the terminal fine. If I make a shortcut launcher for it in gnome and set it for 'application in terminal' it pops up then immediately dies after launch.Not sure what the problem is. Is this not working because one script is calling a second script? But then why does it work when I call ./start.sh?
View 4 Replies
View Related
Mar 15, 2010
I need to write a script. In which, the 2nd part commands need to run under another bash shell environment.The enter_antoher_bash_env.sh will setup a new shell environment, call "bash". The rest commands need to run under the new env. (I cannot change this script too. )If I run these command one by one manually, it works of course. If I put them into a script, enter_another_bash_env.sh won't return because it calls "bash" command inside.
View 10 Replies
View Related
Mar 23, 2010
For system calls, is blocking or non-blocking default in C? Simple question, just am not seeing the answer super quickly.
View 4 Replies
View Related
Sep 15, 2010
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
View 1 Replies
View Related
Jun 24, 2009
I've browsed the internet, but haven't found a satisfying answer. Hope this forum can help me in the right direction.I'm exploring the possibilities of creating a program that manipulates (writes to) two different video cards.I program in C and hope to avoid high level libraries like Xlib to keep the mem footprint as low and the performance as high as possible. Windowing is not important no desktop environment will be used. Be able to write two pixels (one to each screen) to would do.
How would I go about?To give an idea of the solution I'm looking for:One screen will show thumbnails of images on the hard drive. Clicking an thumbnail on display A will show the selection full screen on display B. On a laptop; preferably thumbnails on the laptop screen and the selected image on the external monitor.Is this possible with just low-level libs or do I need X or some third-party software to make life easy?
View 14 Replies
View Related