similar to: Can ChanIsAvail return status from sip uri using router ip

Displaying 20 results from an estimated 1000 matches similar to: "Can ChanIsAvail return status from sip uri using router ip"

2010 Jul 30
0
asterisk-users Digest, Vol 72, Issue 81
thanks for your reply but i did not meant that. ${CALLERID(DNID)} will return then number which i don't want. what i want is channel-id like if we have a user named "nasir", then we dial it as follows Dial(SIP/nasir) but actual channel-id that asterisk uses is something like " nasir-2b487e9". and on the asterisk cli we can check this when call is answered or hangup,
2010 May 11
1
asterisk-users Digest, Vol 70, Issue 24
Yes this scenario works on my 2 systems which are at LAN. I made one system as server (192.168.0.20) and registered from other system... it is fine but now there is a different scene. actually there is a registered user named abc at system1 (192.168.0.20) having context [payasyougo] which is used to do outbound calls. we want to use this user's context and account so that when we register
2004 Aug 23
1
using ChanIsAvail
Hi I am trying to use ChanIsAvail to decide if a particular extension is available in the sip channel I am using MySQL to hold my SIP friends. and wy cvs version shows Asterisk CVS-08/02/04 my intention is, that if the extension is not available in Sip channel, I will send the call somewhere else my extensions file contains the following: exten => _[123]XX,1,ChanIsAvail(sip/${EXTEN}) exten
2009 Nov 03
3
Problem with ChanIsAvail
Hi all, I am having a problem with ChanIsAvail. It always returns the same result, regardless of whether an extension is available or not. It always returns 0 Unknown Status. This is my dialplan. exten => _2XX,1,ChanIsAvail(SIP/winsor_${EXTEN}|s) exten => _2XX,2,Verbose(0, ${AVAILSTATUS}) exten => _2XX,3,GoToIf($[${AVAILSTATUS} = "1"]?4:5) exten =>
2005 Mar 23
4
Chanisavail and IAX2
Guys. Anybody doing ChanisAvail on IAX2 channels? Im trying to do this: exten => s,7,ChanIsAvail(IAX2/anton:intrudercom@armando-gw) But I get that the chan is unavailable eventhough I can make calls to that channel. Is there any chatch? The channels is defined as peer and Ialso tried doing a register on iax.conf for that channel. Everything is registering ok and I CAN make the call. Any
2004 Apr 08
1
Two operators, 10 rollover lines, Cisco 7960G chanisavail problem
Here's my situation. I have two receptionists that answer incoming lines. Each has a 7960G with 5 incoming lines each. I'm trying to set this up so each line on each phone doesn't utilize call waiting. My problem seems to be that ChanisAvail(Sip/cisco1&Sip/cisco2&Sip/cisco3&Sip/cisco4&Sip/cisco5) always returns cisco1. Here are the sip.conf entries: (mind you,
2007 Jun 25
1
Problems with ChanIsAvail always return status 0
Hi list: I'm having the next problem, it appear that the application ChanIsAvail is not working on Asterisk 1.4.5 always return me 0 in AVAILSTATUS. I add my dialplan and the output to the cli. THanks. In the example i'm dialing from extension SIP/112 My DialPlan Secction: [macro-callonlyiffree] exten => s,1,ChanIsAvail(${ARG1}|s) exten => s,n,NoOp(${AVAILCHAN}) exten
2010 Jul 20
0
asterisk-users Digest, Vol 72, Issue 49
sorry for typo mistake in my last post. as from my orignal post two registration of the same user are as follows SIP/XYZ at 119.68.0.90:5060 SIP/XYZ at 202.16.34.10:5678 so dial command with unique-id i want to use will be Dial(SIP/XYZ at 192.168.0.20:5062-096afee8,30,rtT) Dial(SIP/XYZ at 192.168.0.12:64290-0966ab80,30,rtT) and not Dial(SIP/192.168.0.20:5062-096afee8,30,rtT)
2006 Feb 14
4
ChanIsAvail
Hi, So I've done my research on Chanisavail, read the wiki, checked the archive but can't seem to find anything to suit my scenario. I've played around with it a lot, but I'm still scratching my head on what I need to do. What I need is to be able to accept a call by SIP and ring all telephones that are not in use (which just so happen to be on Zap interfaces, but might be SIP
2010 Jul 29
4
How to extract channel-id of a user or peer
Hi, my question is how can i get channel-id of a user or peer. I tried using ChanIsAvail(username). this works correctly when user and asterisk are on Local LAN. But my asterisk server is on public ip and users are behind nat, and so this method says unknow host when used on public asterisk server. I also tried built-in variable ${CHANNEL}, but this returns the channel-id of the calling channel.
2005 Sep 12
1
Is "ChanIsAvail" thread safe?
Curious whether the ChanIsAvail command is thread safe. By that I mean, if I use ChanIsAvail to determine which channel to use, can I be sure that it will still be available when I go to Dial it on the next line? It occurs to me that there's a possibility the channel could get used by a competing thread AFTER my thread has determined it is available and BEFORE my thread gets a chance to
2005 Jan 27
1
ChanIsAvail not working
I'm testing ChanIsAvail context and it is not working for me. exten => 55,1,ChanIsAvail(SIP/11&SIP/21) exten => 55,2,Cut(theChannel=AVAILCHAN,,1) exten => 55,3,Dial(${theChannel},r) exten => 55,4,Hangup exten => 55,102,Goto(s,4) It is not dialing SIP/21 when I'm talking on SIP/11, it execute Hangup instruction instruction. According to notes: The channels are checked
2004 Jan 09
3
ChanIsAvail and SIP
Hello all. Has anyone had any success using ChanIsAvail with only SIP channels? Is there another, better way to check if an extension is busy without dialing it? Thanks, B. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040109/48ac2c3e/attachment.htm
2007 Jan 24
1
ChanIsAvail kills dialplan processing when no Zap available on 1.2.14.
Hi, I'm trying to use ChanIsAvail to build a resilient 'dialout' macro. The logic is simple; try Zap/g1 (a group of two E1s), and if that fails, try locating a channel via DUNDi. Here's a massively cut down version to illustrate the problem I'm having. macro dialout ( dest ) { ChanIsAvail(Zap/g1); noop(Value of AVAILCHAN is ${AVAILCHAN});
2010 Aug 03
0
asterisk-users Digest, Vol 73, Issue 5
Hi C F no asterisk and sip device are not behind same router. actually both are in different countries. how ever when caller and callee are behind same routers voice is just fine (both ways) and i can see re-INVITEs too. but when someone calls from another router then this issue arises. caller can hear the called party but called party can not hear caller. and there are no re-invites issued
2003 Oct 05
1
ChanIsAvail app setting ${AVAILCHAN} to an unusable value.
I sent this earlier under "Editting variable contents" but no-one has responded. So, the subject is now more to the problem, instead of the solution I was trying to implement. ChanIsAvail returns the channel ID plus "-<session>". How can I edit ${AVAILCHAN} to remove this session ID, so I can use its contents in a subsequent Dial statement? Dialing on Zap just gives a
2010 Aug 03
2
RTP stream not passing through router with port forwarding
Hi, I am trying to dial a registered user via his IP:Port mechanism, but problem is that the audio data is not reaching to dialed user. here is the scenario. caller and callee both are registered at asterisk server. asterisk server is on public ip so no port forwarding and natting necessary there. however caller and callee both are behind router and there is port forwarding enabled and nat=yes,
2010 Jul 22
0
SIP URI Dial has one way audio
Hi, I am trying to dial a sip user via his IP:PORT Combination. i am using XYZ as target user which is registered. Asterisk server IP: 70.118.x.x calling user IP: 117.58.x.x called user IP: 117.58.x.x:5062 First I dialed my registered user in normal way like this, Dial(SIP/XYZ,30,rtT) and during conversation audio was OK in both ways. Then I dialed the registered user via
2013 May 27
0
ChanIsAvail function is breaking the round robin strategy
Hello everybody, i have two gsm line (extra channels) and i'd like to schedule the outgoing calls with a round-robin strategy. If all the gsm lines are busy, the call must be sent to the pri lines with a linear strategy. here is the dialplan: exten => gsm,ChanIsAvail(EXTRA/r2&DAHDI/g1) same => n,GotoIf($["${AVAILORIGCHAN}" = ""]?unavail,1) same =>
2004 Jul 18
0
ChanIsAvail issue
Hello I am trying to setup ChanIsAvail function in the extensions.conf file so that user should use the available channel to call out, but immediately after the function like, zap channel hangup. Here is the copy of my extensions.conf file and messages display on consol while making the call. Please help me to fingure out this issue. Thanks Deepak Extension.conf : exten =>