similar to: Get sip response code

Displaying 20 results from an estimated 4000 matches similar to: "Get sip response code"

2005 Sep 15
3
${DIALSTATUS} problems
Hi. I'm dialling two numbers - one that's unobtainable, one that's busy. ${DIALSTATUS} is coming back ANSWER each time right before the channels hang up. Am using the following dialplan macro to dial out. [macro-advdial] exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
2005 Mar 03
3
Why ${EXTEN} variable changes after Goto ?
Hi, I'm trying to implement dynamic routing of incoming calls to local extension if previous outgoing call was unanswered. But after I do Goto to s-NOANSWER, variable ${EXTEN} changes to 's-NOANSWER'. I guess this is normal, but I don't understand why ? How to workaround on this one ? Thanks in advance, regards, Rob. [outbound-capi-ISDN] exten => _0.,1,NoOp(Calling ISDN
2008 Mar 19
3
How to configure Voice mail for multi users.
Hi All, i want to configure voice mail on Asterisk 1.4 for multiple users. let me explain you the scenario. i have 10 users with the name of 1000,2000,3000,4000,5000,6000,.......and these user can call to each other. Now i want to configure separate voice mail box for separate user. my extensions.conf ..... settings below.. [voicemail] exten => _X.,1,Dial(SIP/${EXTEN}) exten =>
2009 Sep 23
3
Simple dialplan issue
I have an issue where a particular dialplan works but another doesn't. I'm not sure why. To me they look identical and it has me stumped. This works: [to-test] exten => _X., 1, SetCallerPres(allowed) exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb) exten => _X., 3, Ringing exten => _X., 4, Dial(SIP/9330 at a-test,20,ro) exten => _X., 5,
2010 Apr 29
2
Code in extensions.conf to leave a voice mail in another PBX ?!
Hi Guys, i spent some time to figure this out (since i love how dialplan is written) but i decided to ask for your help guys. i have two asterisk servers one is 1.2 the other is 1.4, from 1.4 (pbx1) to 1.2 (pbx2) i can leave a voice mail without any pb, but from pbx2 to pbx1 it just hang up. in pbx2 extensions.conf: i am using: exten => 8029,1,Dial(IAX2/pbx1/${EXTEN},20,tTWwr) in pbx1, i
2007 Jun 16
2
MixMonitor Problem
Hi, I am facing some issues while using MixMonitor and StopMonitor. My extensions logic is attached below: exten => s,1,MixMonitor(${CALLERID(num)}_${TIMESTAMP}.gsm,b) exten => s,2,Dial(SIP/101,13) exten => s,3,StopMonitor() exten => s,4,NoOp(Dial Status: ${DIALSTATUS}) exten => s,5,Goto(sss-${DIALSTATUS},1) exten => sss-NOANSWER,1,VoiceMail(777 at salesvoice) exten =>
2010 Nov 30
2
Correct operation of timout parameter for dial application
Hi All, I'd just like to verify what the correct operation of the timeout parameter is for the dial application. I'm not sure if I've encountered a bug or a configuration issue. When a sip phone is not responding to invites on an outbound call, the dial application still waits the duration of timeout before continuing with dialplan execution. I was under the impression that app_dial
2005 Sep 14
0
Dial Application Return Codes - Help needed
Hi. I'm dialling two numbers - one that's unobtainable, one that's busy. ${DIALSTATUS} is coming back ANSWER each time right before the channels hang up. Am using the following dialplan macro to dial out. [macro-advdial] exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
2009 Jul 17
2
How do I create an IVR/Dial Group that works properly?
Hi all, I am trying to understand how I can get a simple IVR scenario to work properly (having already removed most of my hair...). The basic requirement is as follows: * Caller arrives at our main number * Caller is greeted and then told they can enter an extension number, if known, or wait and their call will be connected to an available rep. * The IVR then dials a group of extensions (if
2007 Sep 03
1
Dificult macro, please advise
Hi, BRIEF RESUME: Is there any other way to obtain the same result but being easier to configure?? Thanks! EXTENDED RESUME: i've configured a, rather difficult, macro that even for me without being documented is difficult. I ask for the help of the experts to know if the functionality it apports can be achieved better in another way. What i'm trying is to enable call a channel (e.g.
2011 Apr 21
3
missed call notification
Hi, I am looking at http://www.theschmandts.org/blog/?p=28 to setup missed call notification but i am having issue. following is my dialplan [macro-stdexten] exten => s,1,Dial(${ARG2}) exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) exten => s-NOANSWER,1,Voicemail(${ARG1},u) ; If
2007 Nov 29
2
Using existing extensions.conf macros, and co-habitation
I'm trying to set up my extensions.conf file using some of the existing macros like stdexten, etc. while at the same time having two logically separate virtual PBX's (with no "default" context) and two trunks coming into separate contexts, i.e. one for residence and one for my at-home business. I noticed, however, that macro-stdexten depends on the "default" context:
2005 Mar 10
1
Re: Polycom phones do not talk to each other
>> Also, I'm sure you've probably checked on this one, >> but are the phones registered with asterisk? >> You can make outbound calls on them without them >> actually being registered. I'm assuming you can >> still get in and see the CLI. What does "sip show peers" >> look like? What does "sip show peer xxx" show? >> What
2007 Jul 13
3
Macro: s-NOANSWER, _s-.
Hi List; I have this example for Macro and I am not able to understand some line, if any one can help me plz :)- [macro-voicemail] exten => s,1,Dial(${ARG1},20) exten => s,2,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN}) exten => s-NOANSWER,2,Goto(incoming,s,1) exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN}) exten => s-BUSY,2,Goto(incoming,s,1) exten
2007 Jan 23
4
weird undocumented extensions such as s-BUSY
I've seen several examples that use extensions such as; s-BUSY s-NOANSWER etc... It's more or less evident what they do, but I've searched for some FORMAL documentation everywhere and have found nothing. Do they work for anything else than "s-"? (I think I've seen other examples, but can't find them now) Are they standard in any way? What are the allowed values
2007 May 24
1
vmoutcall]
--> Perhaps someone can share how? First you need to give them the option of turning the feature on and off. I do it with the following: [callback-activate] ; *********************************************** ; Callback activate/deactivate. If this function ; is enabled and there is a call file in the form ; of ${EXTEN}.call, then Asterisk will call the ; phone number contained within the
2005 Aug 28
1
DIALSTATUS for Originate
Hi all, I am from India and has been recently using asterisk for testing and enahncing my telephony knowledge. I am trying to use the originate Command from the Asterisk manager on both SIP and ZAP. The command works successfully but does not return any DIALSTATUS such as BUSY,ANSWER,NOANSWER as in case of command DIAL when used from the dial plan. Can some one guide me how to get the vaue of
2007 Jul 04
1
Dialout Macro and transfer call in progress
Dear All, I can not transfer call in progress. What's wrong with my macro? I think tT flags is enough right? [macro-stdexten] exten => s,1,Set(temp=${DB(CFU/${ARG1})}) ; Get CFU key exten => s,2,Set(DNDStatus=${DB(DND/${ARG1})}) ; Get DND key exten => s,3,GotoIf($["${temp}" = ""]?5) ; If not existing, goto priority 5 exten =>
2010 Dec 20
5
DIALSTATUS on CANCEL
Hello, We have a strange situation (asterisk 1.6.2.14), where we get a result for DIALSTATUS for BUSY and No-ANSWER, but nothing for CANCEL. This is the (relevant) test dialplan: -------------------------------- [incoming-private] exten => _X., n, Dial(SIP/1001,30) exten => _X., n, NoOp(${DIALSTATUS}) exten => _X., n, Gosub(incoming-status,s-${DIALSTATUS},1) [incoming-status] exten
2009 Feb 26
2
Problems with Outbound Calls
Hi everyone! I'm quite a newbie at this Asterisk stuff so please bear with me. We've recently decided to start training in Asterisk via AsteriskNow! Asterisk version is 1.4.18.1 through AsteriskNow! 1.02 The box we have is paired with a Digium TE110P and we've managed to get it to the point where incoming calls via a single DID (from NTT Japan) can be received and answered