UKVoIPTalk.com

UKVoIPTalk.com

The UK's Number One VoIP Resource

 

Tutorial source for Asterisk, Freepbx - Custom Apps ?

This is a discussion on Tutorial source for Asterisk, Freepbx - Custom Apps ? within the uk.telecom.voip forums, part of the Newsgroup Forums category; I have installed v2.0 of Trixbox. I want to be able to program 'Custom Apps'. I have Googled and ...


Go Back   UKVoIPTalk.com > Newsgroup Forums > uk.telecom.voip

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-01-2007, 14:34
Brian A
Guest
 
Posts: n/a
Default Tutorial source for Asterisk, Freepbx - Custom Apps ?

I have installed v2.0 of Trixbox.
I want to be able to program 'Custom Apps'.
I have Googled and all I can find is ready written custom apps and
that is not what I am looking for. I know nothing about the
programming/implementation of 'custom apps' so, what I want to do is
learn how to do it so I can set up the Trixbox to do what I want it to
do.
Can anyone point me to a source that will explain this, together with
a list of commands etc.? I am hoping that I will find something
suitable on the Net but I don't mind buying a book too if that would
help.

Remove 'no_spam_' from email address.
Reply With Quote
  #2 (permalink)  
Old 27-01-2007, 21:18
Brian
Guest
 
Posts: n/a
Default Re: Tutorial source for Asterisk, Freepbx - Custom Apps ?

On 2007-01-27, Brian A <no_spam_bca1000@hotmail.com> wrote:
[color=blue]
> I have installed v2.0 of Trixbox.
> I want to be able to program 'Custom Apps'.
> I have Googled and all I can find is ready written custom apps and
> that is not what I am looking for.[/color]

With zero knowledge of Trixbox I'd be guessing at what the term 'Custom
Apps' means. Pointers to two or three of them would give an idea of what
they are and how they are written.

I know nothing about the[color=blue]
> programming/implementation of 'custom apps' so, what I want to do is
> learn how to do it so I can set up the Trixbox to do what I want it to
> do.
> Can anyone point me to a source that will explain this, together with
> a list of commands etc.? I am hoping that I will find something
> suitable on the Net but I don't mind buying a book too if that would
> help.[/color]

Asterisk's app_* files are C files. The PHP, perl and python languages
are also used to produce application modules. Maybe

[url]http://asterisk.gnuinter.net/[/url]

and

[url]http://www.voip-info.org/wiki-Asterisk+AGI[/url]

are useful. There is also the Developers section at

[url]http://www.asterisk.org[/url]

Brian.
Reply With Quote
  #3 (permalink)  
Old 27-01-2007, 21:37
Brian A
Guest
 
Posts: n/a
Default Re: Tutorial source for Asterisk, Freepbx - Custom Apps ?

On Sat, 27 Jan 2007 20:18:08 +0000 (UTC), Brian <bandj@o2.co.uk>
wrote:
[color=blue]
>On 2007-01-27, Brian A <no_spam_bca1000@hotmail.com> wrote:
>[color=green]
>> I have installed v2.0 of Trixbox.
>> I want to be able to program 'Custom Apps'.
>> I have Googled and all I can find is ready written custom apps and
>> that is not what I am looking for.[/color]
>
>With zero knowledge of Trixbox I'd be guessing at what the term 'Custom
>Apps' means. Pointers to two or three of them would give an idea of what
>they are and how they are written.
>
> I know nothing about the[color=green]
>> programming/implementation of 'custom apps' so, what I want to do is
>> learn how to do it so I can set up the Trixbox to do what I want it to
>> do.
>> Can anyone point me to a source that will explain this, together with
>> a list of commands etc.? I am hoping that I will find something
>> suitable on the Net but I don't mind buying a book too if that would
>> help.[/color]
>
>Asterisk's app_* files are C files. The PHP, perl and python languages
>are also used to produce application modules. Maybe
>
>[url]http://asterisk.gnuinter.net/[/url]
>
>and
>
>[url]http://www.voip-info.org/wiki-Asterisk+AGI[/url]
>
>are useful. There is also the Developers section at
>
>[url]http://www.asterisk.org[/url]
>
>Brian.[/color]
Thanks, I'll check them out. I am quite proficient at PHP so that
might help. I ditched PERL for PHP a few years ago., I much prefer
PHP - I haven't done any 'C' for a about 10 years.
The 'custom apps' I was particularly referring to is, on Freepbx,
where you have the option, for example, in IVR, of choosing 'Core',
'IVR' or 'Custom App'. So, if custom apps can be in PHP that will help
but it will be a steep learning curve for me to get to know how to
interface with Asterisk, files to modify etc. That is why I need the
information.


Remove 'no_spam_' from email address.
Reply With Quote
  #4 (permalink)  
Old 02-02-2007, 14:17
Desk Rabbit
Guest
 
Posts: n/a
Default Re: Tutorial source for Asterisk, Freepbx - Custom Apps ?

Brian A wrote:[color=blue]
> I have installed v2.0 of Trixbox.
> I want to be able to program 'Custom Apps'.
> I have Googled and all I can find is ready written custom apps and
> that is not what I am looking for. I know nothing about the
> programming/implementation of 'custom apps' so, what I want to do is
> learn how to do it so I can set up the Trixbox to do what I want it to
> do.
> Can anyone point me to a source that will explain this, together with
> a list of commands etc.? I am hoping that I will find something
> suitable on the Net but I don't mind buying a book too if that would
> help.
>
> Remove 'no_spam_' from email address.[/color]

[url]http://www.aussievoip.com/wiki/index.php?page=freePBX-Destinations[/url]

Extract:

Custom App
You can create your own application using the standard Asterisk Dialplan
language in the file /etc/asterisk/extensions_custom.conf, and reference
it with this. An example would be:

custom-count2four
exten => s,1,SayDigits(1234)
exten => s,2,Hangup

After placing this in /etc/asterisk/extensions_custom.conf, you can send
callers to this by using 'custom-count2four,s,1'


Dialplans:-
[url]http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current/docs-html/c465.html[/url]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 16:57.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0