Skip to content

wazo-platform/chan-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chan-test

Asterisk channel driver for testing purposes.

Installing

apt-get install build-essential libssl-dev asterisk-dev
make
make install

Usage

To create a new test channel from the asterisk CLI:

test new <exten> <context> [cid_num] [cid_name]

To answer an (outbound) channel:

test answer <channel_id_or_name>

The commands are also available via ARI (preferred way):

curl -i -u 'xivo:Nasheow8Eag' -d '' 'http://127.0.0.1:5039/ari/chan_test/new?context=default&exten=1001'
curl -i -u 'xivo:Nasheow8Eag' -d '' 'http://127.0.0.1:5039/ari/chan_test/answer?id=1469040639.7'

Test channels can also be dialed:

Dial(Test/foo)
Dial(Test/foo/autoanswer)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •