similar to: How to invoke a binary file from the dial plan?

Displaying 20 results from an estimated 10000 matches similar to: "How to invoke a binary file from the dial plan?"

2015 Jun 02
2
RES: How to invoke a binary file from the dial plan?
Ok. Thanks for the hint. But, what exactly is a "System() dialplan application"? Is it a kind of command that i can call in dial plan? I will look for System() related to dial plans. Thanks. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 ________________________________________ De: asterisk-users-bounces at lists.digium.com
2015 Jun 03
2
RES: RES: RES: How to invoke a binary file from the dial plan?
Hi Kevin. Thank you again for help me! In my case, in the final application for smartphones or in a softphone for PCs, there will be a button on the GUI and the user will have just to touch it, and the door or gate will open. I mean, during an ongoing call, the callee will see a button in the interface of its SIP application. For example, we can use the lib of Linphone and implement a GUI over
2015 Jun 03
4
RES: RES: How to invoke a binary file from the dial plan?
Hi Kevin. Thank you very much for the hint! It worked very well! Your example ' exten => 1234,1,System(echo "This is a test" >> /var/log/asterisk/test.txt) ' executes when the SIP client (my softphone Jitsi) sends a SIP INVITE to asterisk. So, the softphone tries to establish a session with target 1234. Now, lets suppose my softphone rings and I answer a
2015 Jun 03
1
RES: RES: How to invoke a binary file from the dial plan?
> I love this question, simply because it allows me to talk about one > of the neatest features I programmed into my system that barely > anyone knows exists. Plus it lines up pretty much exactly with what > you are trying to do. > > We have our gate control system tied into our Asterisk phone system > so it is possible to dial a code on the phone and open the entrance
2015 Jun 02
0
How to invoke a binary file from the dial plan?
> Hi everyone. > > I'm new with Asterisk and I have to create a dial plan that will > invoke a binary code. That is, asterisk will execute a program in > the same machine. How to do it? > > Let me explain what I have to do: > > In the project that I am currently working, there is smartphones, > SIP servers and doors/gates to be unlocked remotely. When the
2015 Jul 13
2
RES: RES: How to dial extensions asynchronous-sequentially ?
Hi Sammy. After answering your last message (please, see my last message), I was thinking about conferences and my main objective. Conferences will not work well for my case, because I it will allows more than one called party answering the call. But, after one answers the call, I need cancel the others ringing callees. In this case, maybe the best thing to do is to let the called party sends
2015 Jul 13
3
RES: How to dial extensions asynchronous-sequentially ?
Hi SamyGo. Thank you for the replay. So, let me explain it better: I knew that I could use something like " same = n,Dial(PJSIP/6001&PJSIP/6002) ". While every extension (called phones) rings and before anyone answers, SIP 183 messages will be sent to Asterisk from callees. If a called phone answer, the others will be hanged up. It is ok for me. I want to connect the caller just
2015 Jul 13
3
How to dial extensions asynchronous-sequentially ?
Hi. I my dialplan I have : same = n,Dial(PJSIP/6001,10) same = n,Dial(PJSIP/6002,30) same = n,Hangup() The extension 6002 will not be invited until the called party 6001 hangs up or until 10 seconds if nobody answers the call in 6001. How to call 6001 and immediately call 6002, having 2 phones ringing at same time, but without doing something like this : same =
2015 Jun 03
0
RES: RES: RES: How to invoke a binary file from the dial plan?
> Hi Kevin. > > Thank you again for help me! > > In my case, in the final application for smartphones or in a > softphone for PCs, there will be a button on the GUI and the user > will have just to touch it, and the door or gate will open. I mean, > during an ongoing call, the callee will see a button in the > interface of its SIP application. For example, we can
2015 Jul 07
4
What database should I use, for simple data storing? SQLite or the buitin one?
Hi. I was studying about how to use databases in Asterisk, accessing it from the dial plan. In my project, my dial plan will have to store simple data (ex: IP number, port number, device name, etc) in a persistent way, so that it will be possible to retrieve such information in future moments, still via dial plan. For this case, I would like to know? 1. What is the best choice for storing and
2015 Jul 10
2
RES: Can I use PJSIP_HEADER to read the SIP 183 message header?
Ok Mark Michelson. Thank you very much! You answer tells me that I was in the wrong path trying to access information from SIP 183 message. I need to find a way to let the callee pass information/data to the caller, even before accepting the call. That is, send data during the ringing time. And in my case, there will be more than one callee ringing at same time. As ASTERISK will not forward each
2015 Jun 12
0
Can dial plan handle new proprietary SIP HEADER fields? How?
Dear asterisk-users, I have listened that a diaplan on Asterisk can extract information from proprietary SIP messages header fields. That is, if Asterisk receives a SIP message with a modified HEADER (containing proprietary fields) , is it possible to program the dial plan to make Asterisk extract the values of such fields, being possible to handle such values in diaplan, isn't it? If it is
2015 Jul 10
2
Can I use PJSIP_HEADER to read the SIP 183 message header?
Hi. The ASTERISK wiki has a page showing the function PJSIP_HEADER(). However, it doesn't explain if such function works only over SIP INVITE messages or if it can be use, for example, to read headers from others types of SIP messages too. So, can I use PJSIP_HEADER to read the SIP 183 message header? Any hint will be very helpful! Best regards. RODRIGO PIMENTA CARVALHO Inatel
2015 Jul 15
2
How to dial extensions asynchronous-sequentially ?
Heya Rodrigo Not sure, but this expansion on Sammy's concept may help you achieve the delayed ring on the secondary extensions you were looking for. exten => _600.,1,Dial(PJSIP/${EXTEN}) exten => _600.,n,Hangup exten => _600.wait5,1,Wait(5) exten => _600.wait5,n,Dial(PJSIP/${EXTEN:0:4}) exten => _600.wait5,n,Hangup exten => 555,1,Dial(LOCAL/6001&LOCAL/6002.wait5)
2015 Jul 10
2
Messages out of calls. Is it really possible?
Hi. I have read in some web sites that ASTERISK can support messages out of calls. What does it exactly means? 1 - Can a dialplan script accept and handle a message from a callee party, even before the call be connected? 2 - Can a ringing callee send SIP MESSAGE to the ASTERISK even before answer the call? 3- Could I use dialplan function MESSAGE() to receive SIP messages from callees, even
2015 Jul 16
2
How to create direct media with PJSIP.conf configurations in Asterisk 13?
Dear Asterisk-Users, By means of Asterisk 11 and sip.conf, I got success implementing early media. That is, all information that come from callee (SIP 183 message/ SDP) is passed to the caller without any modification in the SDP body. However, in Asterisk 13 and using pjsip.conf I'm still failing to do the same thing. See: Softphojne1
2015 Jun 03
0
RES: RES: How to invoke a binary file from the dial plan?
> Hi Kevin. > > Thank you very much for the hint! It worked very well! > > Your example ' exten => 1234,1,System(echo "This is a test" >> / > var/log/asterisk/test.txt) ' executes when the SIP client (my > softphone Jitsi) sends a SIP INVITE to asterisk. So, the softphone > tries to establish a session with target 1234. > >
2015 Jul 06
2
How may SIP 183 messages a caller receives when many callee rings?
Hi. I have a beginner conceptual question about Asterisk: Let's suppose that there are 4 softphones registered in my Asterisk and all of them are currently online. In addiction , there is no call. Suddenly, one of these softphones sends a SIP message to the Asterisk. In this case the dialplan will execute the instruction ' exten => 2005,1,Dial(SIP/2000&SIP/2001&SIP/2002,
2015 Jul 07
0
What database should I use, for simple data storing? SQLite or the buitin one?
I believe that Asterisk 1.8 and older uses the BerkeleyDB for Asterisk's internal database (AKA the Astdb) and in newer versions use SQLite. However, the basic functionality is the same. Whether you use the Astdb or MySQL really depends on what you want to do with it. The AstDB is not a relational database like MySQL, it simply a key/value store. If you can get away with that, and you need
2015 Jun 08
0
Can Asterisk help me with some requeriments of my current project?
Hi Asterisk-user. I'm starting in a soft-phone project with lots of requirements and some of then caused me some doubts about Asterisk. Could someone tell me if Asterisk can help me with some requirements? See below: 1 - My SIP server (Asterisk) will have some SIP clients registered in its SIP registrar. Let's say 6 SIP clients. In my project I have to implement a way of a SIP client