similar to: Problem with options to "Dial" application

Displaying 20 results from an estimated 800 matches similar to: "Problem with options to "Dial" application"

2006 Mar 15
2
Speeding up the dial of DTMF's in SIP channel
I'm dialing DTMF's in a SIP channel using the options: [sip.conf] dmtfmode=info [extensions.conf] exten => _XXXXXXX,1,Dial(SIP/gateway,,D(${EXTEN})) (this is a custom SIP gateway, which receives the DTMF's sent from softphones through Asterisk, and based on them, build the destination PSTN number). My problem is that Dial send the DTMF's to the SIP/gateway user at a rate
2006 May 23
3
Transfer extensions processing control to Manager
I'm developing an application that monitors the state of the incoming calls using Manager events. So, as a part of it, I need to "override" the control of the extensions by the dialplan itself. The problem is that, if I don't declare the incoming extension, Asterisk hangs up the call by default. So I want to know if there's some kind of "ManagerControl() application
2006 May 11
2
Problem setting locale for voicemail
I've set voicemail almost successfully, only a minor detail remains :-) I can't get the dates in my local language (spanish). In sip.conf, zapata.conf and voicemail.conf, I've set: language=es and my locale is "es" also. However, the days and months names still appear in english in the emails!!! Thursday 11 de May de 2006, 18:49:34. instead of Martes 11 de mayo de
2006 Mar 09
2
Extracting info from the $EXTEN variable
Is there a way to access only certain positions in the $EXTEN variable? I'd like to filter my international calls based on the destination country: My dialplan looks like this (1XX0. is the international calling convention for Chile) exten => _1XX0.,1,Dial(SIP/${EXTEN:4}@external_provider) But, I'd like to, depending on the destination country (digits 5 and eventually 6 of EXTEN),
2006 Apr 04
2
Can't get Pickup app working
I'm trying to set the Pickup feature. I'm setting my extensions.conf as: exten => _*.,1,Pickup(SIP/${EXTEN:1}) but if, for example, extension 03 is ringing by a call made from extension 01, and I try to pick it up from extension 02 (by dialing *03 from extension 02), I can see in the Asterisk console (Verbosity set to 10): -- Executing Dial("SIP/01-512c",
2010 May 26
2
Getting 'username' of sip peer
Hello, I have a few entries for sip peers in sip.conf with different name and username, like [TestSIPUser] type=peer host=dynamic username=testuser secret=1234 context=test_context [TestNewUser] type=peer host=dynamic username=newsipuser secret=3456 context=test_context When a call is made from any of these peers I want to get the username of the peer. for eg:- If a call is being made from
2006 May 10
2
Is there a way to not propagate a context included inside other context?
I've defined my dialplan as showed below. My internal lines are numbered as 12345XX, and internal users can call another by the entire 7-digits extension, or by just last 2 digits. [invalid] exten => _X.,1,Playback(pbx-invalid) exten => _X.,2,Hangup() [internal] include => invalid exten => _XX,1,Dial(SIP/12345${EXTEN}) ; Short alias for internal lines exten =>
2006 Feb 23
3
Codec order sent wrong from Asterisk
I'm communicating a softphone (SJPhone) to a Grandstream phone GXP-2000. The codec order on each one is the next: SJPhone: GSM - iLBC - PCMA - PCMU GXP2000: G729 - GSM - PCMA - PCMU (I have a G729 license, so there's no problem with transcoding G729) In my sip.conf, I've defined the following codec order: disallow=all allow=g729 allow=gsm allow=g726 allow=alaw allow=ulaw And my
2006 Jun 23
6
Caller ID Matching in extensions.conf
I'm running 1.2.9.1, and I can't get caller id dialplan matching to work. When calling from 9220370 to 1234, the following does not match. exten => 9220370/1234,1,NoOp(${CALLERIDNUM}) exten => 9220370/1234,2,Answer exten => 9220370/1234,3,Playback(tt-weasels) However, when calling from 9220370 to 1234, this DOES match. exten => 1234,1,NoOp(${CALLERIDNUM}) exten =>
2005 May 18
2
Call forwarding...
Sorry for posting this again, but it seems to have become attached to another thread. Guess I replied to another message instead of starting a new one... Hi, I'm trying to setup a call forwarding rule so that when an extention doesn't answer the call is forwarded to my mobile. I'm using voiptalk.org for incoming and outgoing calls and SIP phones for extentions (so all IP based -
2006 May 30
20
AEL #include
Anyone know if #include works in ael yet? extensions.ael: #include "inc/pbx/global.conf" context test_context { }; *CLI> ael reload May 30 13:56:45 NOTICE[8516]: pbx_ael.c:1120 handle_root_token: Unknown root token '#include' May 30 13:56:45 WARNING[8516]: pbx.c:3758 ast_merge_contexts_and_delete: Requested contexts didn't get merged
2006 Feb 23
1
Streaming Music On Hold - Reality Check
Thanks to this thread, we got it working too... but have a question... Once this is setup... does it stream forever, or does the stream only start when someone goes on hold/into a queue/etc? If it streams forever, at 24k... it looks like over 7GB/month in bandwidth... so we're not going to want to do that if a) it streams constantly and b) my math is correct. Thanks, Doug >
2006 Feb 22
3
Streaming Music On Hold
Ok, I'm tearing my hair out trying to get Asterisk moh streaming to work. After several hours jerking around with icecast and muse, I tried to point my asterisk system directly at two streams I know work. This is what extensions.conf has: [default] mode=quietmp3 directory=/var/lib/asterisk/mohmp3 [stream2] mode=custom directory=/var/lib/asterisk/mohmp3-empty
2005 Sep 06
1
Queue AgentCallBackLogin
Hi All, I'm having trouble setting up a queue: I'm using AgentCallBackLogin to login in the queue, but: 1 - When an agent answer the call and another call arrive his phone rings again. 2 - When no there are no one answer the queue the system goes to voicemail of agent 1234 I'm using asterisk-1.2.0-beta1. My configuration is below, Any ideas? Many thanks, Joao Antunes
2005 Jun 20
1
Looking for PRI Outbound Caller ID Configuration
I'm having trouble setting the outbound caller ID on calls I make from my PRI trunk group. The PRIs are served out of a 5ESS. Telco has set the PRIs up for user provided caller id information, so I believe I just don't have it set up right in my dialplan or something. I can't seem to find an example of setting the outbound caller ID specifically for a 5ESS. Does anyone have an
2007 May 11
4
Dealing with 2 SIP providers
Hi, I have a question of using 2 SIP providers. Let's say I have provider A and provider B, and I would like my calls to go to A, and then B if A wasn`t available Something like this would work: exten => 1234,1,Dial(SIP/providerA) exten => 1234,2,Dial(providerB) exten => 1234,3,Hangup But what if I want to put in a delay? If I put 30 seconds on each of them, I'll wait a
2006 May 12
3
VoiceMail application: "j" option not working as I supposed
I've the following dialplan. exten => _XX,hint,SIP/${EXTEN} exten => _XX,1,Dial(SIP/${EXTEN},10,j) exten => _XX,2,VoiceMail(${EXTEN}@default,u|j) exten => _XX,3,Hangup() exten => _XX,102,Goto(110) exten => _XX,103,Playback(pbx-invalid) exten => _XX,104,Hangup() exten => _XX,110,VoiceMail(${EXTEN}@default,b|j) exten => _XX,111,Hangup() exten =>
2003 May 18
0
Problems with "r" modifier in Dial - does not work in SIP channels?
I can't seem to get the "r" modifier to work on inbound SIP calls. The way I understood this to work is that the channel would be answered, and a ring "tone" would be played to the channel. This is not very friendly in that it doesn't honor connection supervision rules, but... who cares? There are some instances where it may be in my interests to get a
2006 May 31
0
extra parameter for DB read function
There are often times that I want to read a DB value from the dialplan, and if this family/key pair does not exist, set it to some default value. for example: 1234,1 => Set(EMAILADDR=${DB(x/y)} 1234,2 => GotoIf($["${EMAILADDR}" = ""]?3:4) 1234,3 => Set(EMAILADDR=Someone@test.com) 1234,4 => NoOp(${EMAILADDR}) 1234,5 => Hangup() I have modified the db function
2006 May 24
1
Generate two calls from Asterisk and bridge them
Is there a way in Asterisk (I guess there's, it's only I can't figure out how :-)) to: 1.- Generate a call to channel 1 (example, to PSTN v?a an E1 card, using Zap/g1) 2.- Generate a call to channel 2 (example, an internal SIP extension). 3.- Once both channel have answered, connect the call between them. This way, I can, for example, play audios in both channels before they are