similar to: manipulating with numbers - StripMSD, Prefix

Displaying 20 results from an estimated 300 matches similar to: "manipulating with numbers - StripMSD, Prefix"

2005 Sep 26
1
StripMSD or extension parser bug?
For years we've had the following simple context for outgoing calls: [outtrunk] ; match any NANP, and strip leading 1 off exten => _1XXXXXXXXXX,1,StripMSD,1 ; dial outbound on trunk group 1 exten => _XXXXXXXXXX,2,Dial,Zap/g1/${EXTEN} But when I upgraded on Friday to the latest CVSHEAD, this no longer works. If I send 13115552368 to this context, I get a message like pbx.c: Channel
2003 May 10
1
Call forwarding questions
Is there any way to have users be able to turn on or off call forwarding at the asterisk server, so they can configure their own forwarding number and enable/disable it? Hopefully, with the added benefit that it will remain on between server reloads and restarts? I have written a hack -- a AGI script to do various checking, and if the destination is "ok" set a database variable
2016 Apr 04
2
Is it possible to have two trunks between two Asterisk boxes ?
Hello, For lab testing, I'm trying to build two differents PJSIP trunks between two Asterisk 13.8.0enabled boxes. I thought I could set up both trunks like this: Box A/port 5060 <------ Trunk1 -----> Box B/port 5060 Box A/port 5062 <------ Trunk2 -----> Box B/port 5062 and declare trunks like this: [foobar1] type=endpoint transport=simpletrans context=from-customer
2009 Apr 18
2
dialling multiple extensions in an internal context
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there. I've done some googling around to try and find an example of what I'm trying to do, but it's one of those things that just seems hard to find the right terms to search for. If there's some documentation out there on this, I'd appreciate being pointed in the right direction. If not, then if someone has some
2007 Sep 10
2
Failover SIP logic
I need some extensions logic assistance, I'm trying to dial out one of multiple SIP trunks, in sequence. I need to detect a busy SIP trunk(I only allow 1 call per trunk) and roll over to a second or third depending on that busy status Here's what I've got for a macro thusfar, but it's not working(fails if the 1st trunk is busy) extensions.conf: [globals] trunk_1 => SIP/trunk1
2007 Apr 08
1
Adding Noise or background noise
Hi, In my dial plan I've configured two trunks to make outbound calls (trunk1 and trunk2) to same service provider but I want when any of my exten starts with _2. should goto trunk2 and there should be some kind of disturbance (like some noise or some background noise) when my calls goes to trunk2 to make the call quality bad. Mainly I want to achieve bad call quality on trunk2 by adding
2014 Sep 02
3
PJSIP issues with handling incoming calls
Hello guys. Have 2 external numbers that required registration on provider server, trunk1: 73432260005 at 80.75.132.66 trunk2: 73432260050 at 80.75.132.66 Thing is I can?t figure out how to route them to different IVRs by default Asterisk can?t match endpoint Request from '<sip:+ 73432260005 at 80.75.132.66>' failed for '80.75.132.66:5060' (callid:
2004 Apr 17
2
SIP device rings once on busy before giving busy tone with dialplan
Hi! I am having difficultly in having users of various SIP devices obtain the correct behaviour when they call a busy number ie. only hearing the Congestion/Busy tone. I assume this might be because the SIP device itself generates the 'ring' tone? With my current setup in the dialplan extract (below) the user of the SIP device hears one 'ring' and then the busy tone if a number
2011 Mar 01
2
two questions regarding incoming call
Hello, I want to make an agi script to match incoming DIDs with usernames. I tried to do such entry in incoming trunk. [DID_diddw] include = from-didww [from-didww] exten = 3130XXXXXXX,1,AGI("did.php") exten = 3130XXXXXXX,n,DIAL(SIP/${yup_no},20) but when i run the rule it says chan_sip.c:20152 handle_request_invite: Call from '81.85.224.41' to extension
2017 Dec 14
4
SIP trunks going to the wrong context
Hi all, I'm trying to resolve a weird issue with SIP routing. I have a number of SIP trunks, from a selection of providers, all of which are registered in sip.conf: [general] context=default allowguest=no allowoverlap=no udpbindaddr=0.0.0.0 tcpenable=yes tcpbindaddr=0.0.0.0 transport=udp bindport=15060 srvlookup=yes allowsubscribe=yes
2003 Dec 17
3
Trunk Groups and Multiple Asterisk Machines
Hello all, I have no problems setting up trunk groups in general, but is there a way to set up a trunk group for outbound calls that includes channels on multiple servers? I might have missed something somewhere, but I couldn't find any reading about this topic. Thanks! Sean
2006 Oct 28
1
How to make different ext using different trunks?
Hi, I want to do so that extension 501 will always use trunk1 for outbound calls and 502 will use trunk2 for outboud calls. How do I do this. Right now all extensions use the same trunk for outbound calls. -- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Mar 29
1
Asterisk, IAX, & Sub interfaces
Is there anyway to get the following scenario to work... I have 3 IAX trunks that I want to setup to peer with other * boxes. I have 1 physical interface, eth0. I also have 2 sub interfaces, eth0:1 & eth0:2. I want to setup a single IAX trunk on each of the interfaces. All 3 interfaces are going to have separate publicly routable IPs, and for this purpose, let's say that because of
2010 Apr 06
1
SIP Dialplan Failover Solution
Hello list, I need a hand to find the best dialplan failover solution when using two SIP Trunks. My reasons to do failover are: a) one of the two providers could be unreachable b) both providers may be UP but one of them could return a SIP error message (maybe caused by DOWN E1s) Googling I found a few possible solutions: 1.
2003 Nov 06
2
Dialing an outside number -- QUESTION --
Hello-- I'd like to do a little processing on external phone numbers from within the asterisk pbx. Fairly simple stuff, but... devilishly hard to make it work so far! 1. I'd like to dial 9 to get an outside line. 2. If the number dialed after the 9 is 754XXXX, I'd like it to go thru unmodified. It's the only local number available here. 3. I'd like all 1 XXX XXX XXXX numbers
2005 Jan 22
1
ASTCC: potential billing issue and "fix"
Before I start, I just want to say this is not necessarily a problem with ASTCC, but may be a problem the way I have set up ASTCC (and possibly the way others have set it up as well). The issue is that ASTCC tries to match the pattern *anywhere* in the called number, not necessarily only at the beginning. I have set up ASTCC Routes like this: 1800 Tollfree Trunk1 0 0 100 1416 Canada Trunk2 0 0
2006 Apr 05
15
How to restrict simultaneous phone registrations
Hello all, I am looking for a way to restrict users from logging in two separate phones with the same authorization name/password at the same time. Meaning, I only want users to be able to place a call from one phone in one location, but have the ability to move from computer to computer. Has anyone found any sort of solution for this type scenario? Thanks, Bryan Mahin Please visit us @
2003 Mar 21
8
Help with linejack as a trunk?
I have a linejack and a phone jack in my asterisk server working well between the SIP phones and the phonejack. what I cannot get to work is the outbound linejack Phone/phone0 trunk line? how can I get a SIP or Phone/phone1 phonejack phone to dial 9 then outside number and pickup Phone/phone0 and dial it? right now it accepts a 95551212 but busy's on the last digit 2. no outside dial.
2003 Jul 08
5
Using multiple iconnecthere accounts
Has anybody out there tried to use two different iconnecthere accounts with Asterisk? What I want to do is use a second account if the first is busy. I have tried the following: exten=>_91NXXNXXXXXX,1,StripMSD,1 exten=>_1NXXNXXXXXX,2,Dial,SIP/BYEXTENSION@iconnect ;iconnect is the first account exten=>_1NXXNXXXXXX,3,Dial,SIP/BYEXTENSION@iconnect2 ;iconnect2 is the second account But that
2010 Aug 03
1
outboundproxy timeout or qualify
Hi All, I'm connecting to my carrier which requires setting of outboundproxy. There has been few cases where the proxy server failed due to network issues and required us to use a secondary one. Is there a timeout or qualify setting for outboundproxy setting in sip.conf? I do appreciate if anyone can help please. Thank you -Abeed -------------- next part -------------- An HTML attachment