bar top left
bar top right
left curve
right curve
Welcome, Guest

How to check if a specific FXO port is available.
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: How to check if a specific FXO port is available.
#85583
How to check if a specific FXO port is available. 8 Months, 1 Week ago Karma: 0
Hi I have a TDM card with 8 FXO port and I wanted to check a specific port if it is available so that I can transfer the call to that port.

Scenario:

An incoming calls goes to FXO port no. 1, I want to check first all ports from 2-8 if there is an available port and route the call to the available port it sees and if no available port the port no. 1 will take the call.

Can someone tell me what is the command in asterisk to check the available FXO port.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
derflanoj
Fresh Boarder
Posts: 37
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#85769
Re:How to check if a specific FXO port is available. 8 Months, 1 Week ago Karma: 112
lsdahdi
Use it when there is no call, and then use it when you have any call.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jgutierrez
Moderator
Posts: 3566
graphgraph
User Offline Click here to see the profile of this user
Gender: Male jgutierr_007@hotmail.com Location: Santiago de Guayaquil - Ecuador Birthday: 08/07
Last Edit: 2011/09/16 00:11 By jgutierrez.
Do you want a fast response service?
Do you want more help?
Try our Official Elastix Paid Support Service(English/Español):
support.palosanto.com/elastixChatServer.php

Get your support tickets from:
store.palosanto.com


Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
Reply Quote
 
#85774
Re:How to check if a specific FXO port is available. 8 Months, 1 Week ago Karma: 0
Can I use that in the dialplan? I want to check it inside the dialplan
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
derflanoj
Fresh Boarder
Posts: 37
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#85775
Re:How to check if a specific FXO port is available. 8 Months, 1 Week ago Karma: 112
In that case investigate on DEVICE_STATE and ChanIsAvail
asterisk -rx "core show function DEVICE_STATE"
asterisk -rx "core show application ChanIsAvail"
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jgutierrez
Moderator
Posts: 3566
graphgraph
User Offline Click here to see the profile of this user
Gender: Male jgutierr_007@hotmail.com Location: Santiago de Guayaquil - Ecuador Birthday: 08/07
Do you want a fast response service?
Do you want more help?
Try our Official Elastix Paid Support Service(English/Español):
support.palosanto.com/elastixChatServer.php

Get your support tickets from:
store.palosanto.com


Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez
Protected by Spam Fighter