Displaying 20 results from an estimated 5000 matches similar to: "Is there a way to specify the fromdomain from the dialplan?"
2007 Aug 19
4
GotoIf not working with ${EXTEN} for me in 1.4.8
I am using GotoIf all over the place in 1.4.8 but for some reason, the
following in my dial plan:
#############################################################
exten => _1NXXNXXXXXX,1,GotoIf([${EXTEN} = "15554441212"]?100)
exten => _1NXXNXXXXXX,n,Dial(SIP/provider1/${EXTEN},60)
exten => _1NXXNXXXXXX,n,Dial(SIP/provider2/${EXTEN},60)
exten => _1NXXNXXXXXX,n,Hangup
exten =>
2008 Dec 16
2
1.6 upgrade issues
Greetings list,
Over the last few days I've been gearing up to replace a couple of our servers with 1.6 as something of a testbed, but I'm encountering a few problems, and wondering if anyone can help...
In extensions.conf, there are a number of contexts defined for each group of users, along the lines of:
[groupa] [groupb] etc.
In each of those, there's a command include =>
2017 Dec 14
3
Rewrite Outgoing Number
Hello,
I am new on asterisk and do some tests on freepbx.
I have 2 SIP provider:
Provider1: In-/Out- Flatrate, only 1 Number
Provider2: Incoming Flatrate, Outgoing Cost depend on destination, 3 numbers
On Asterisk site i have 3 phones
(branch ??, don't know how its called in asterisk)
Is it possible to do something like:
Phone 1: Incoming Call: Number1/Provider1 Outgoing Call:
2017 Dec 14
2
Rewrite Outgoing Number
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
asterisk-users-bounces at lists.digium.com wrote on 12/14/2017 09:36:06 AM:
> From: "basti" <mailinglist at unix-solution.de>
> To: asterisk-users at lists.digium.com
> Date: 12/14/2017 09:36 AM
> Subject: Re: [asterisk-users] Rewrite Outgoing Number
> Sent by: asterisk-users-bounces at
2005 Sep 22
1
Early Media with Asterisk
Hi :)
I hope someone has a hint concerning Early Media.
The situation:
My Asterisk is connected to small local carrier who works with several SIP
servers.
I traced some SIP headers and find something like this:
Via: SIP/2.0 UDP sip1.provider1.de
In the SDP part I found something like this:
o=- 2268929 0 IN IP4 sip2.provider1.de
c=IN IP4 sip2.provider1.de
If I send
2006 Aug 14
14
Routing packets over multiple links (NICS) all on the same ISP all with same gateway.
Ok ive been trying to get this to work for about half a year now. Ive
searched all over the internet for a solution for
my problem. Ive found some solutions, but they only led me to yet more
problems.
What we want to do is the following:
I live in a student complex with 7 other people. Every room has its own
internet connection from the same ISP.
Ip, gateway, subnet are asigned through dhcp on
2008 Nov 12
1
What are the minimum realtime fields for sipusers?
I'm trying to get sipusers working with a realtime odbc database on
Asterisk 1.6. We have sippeers working from the database, but need
sipusers to be in a separate table for other implementation reasons.
sip show user test load returns results from the database.
CLI> sip show user test load
* Name : test
Secret : <Set>
MD5Secret : <Not set>
2006 Feb 07
0
Modifying dialplan for DUNDi compatibility
Greetings all,
I'd like to start implementing a private DUNDi peering group between one of
our asterisk servers hosted at a datacentre and the various asterisk boxes
sitting at clients' premises.
On most of the clients' boxes the dialplan will have an [in-pstn] section
containing the various numbers that should be recognised by that box. Where
they're from a VoIP provider they
2009 Mar 05
1
use more then one sip-provider to dial out
Hi
I want to be able to use one provider if I dial 0 before the number and another if I dial 1 before, how can I do that in asterisk 1.6?
/ralf
Ralf Tr?skman, IT
AdLibris AB, Box 3667, 103 59 Stockholm.
Bes?ksadress: Sveav?gen 56C, 111 34, Stockholm - Obs ny address!
Dir: +46-(0)8-5460 60 91, mob: +46-(0)70-7548074, vxl: +46-(0)8-5460 60 00, fax: +46-(0)8-5460 60 99
ralf at
2005 Jan 10
3
Multiple gateways for same dial pattern
Hi,
How can I setup Asterisk to place calls if the same dial pattern can be
routed through several PRI gateways. I have one way that I tried:
exten => _9737XXXX,1,Dial(SIP/${EXTEN:1}@172.17.99.5)
exten => _9737XXXX,2,Dial(SIP/${EXTEN:1}@172.17.99.6)
exten => _9737XXXX,3,Dial(SIP/${EXTEN:1}@172.17.99.7)
exten => _9737XXXX,4,Congestion
exten => _9737XXXX,102,Busy
2008 Aug 23
1
Anything to convert from JSON into Asterisk dialplan variables?
Is there anything already out there that can efficiently convert a
JSON string into Asterisk dialplan variables?
Our current backend speaks JSON and we need to parse the response to
construct the dialstring.
--
Eric Chamberlain
2004 Dec 01
1
IAX long distance... Re: Asterisk for home office
On Wed, 1 Dec 2004 12:37:13 -0800 (PST), Ben Kirkpatrick wrote:
> Do you find it difficult to manage four LD providers?
> Can you show me part of your LD Macro and how it's used?
>
> I'm toying with two LD providers now, but don't have failover setup.
>Just using each one for what they are best at (least cost).
>
>Thanks,
>--Ben Kirkpatrick
>
>
Not
2009 Nov 24
1
asterisk trunk CURL hangs in the dialplan
We've encountered a strange issue with the trunk version of asterisk.
Our dialplan makes CURL calls and occasionally CURL stops working.
The dialplan looks something like this:
[macro-curl]
; ${ARG1} CURL URL
; ${ARG2} CURL POST
exten => s,1,NoOp(CURL)
...
exten => s,n(post),Set(RF_CURL_POST=userID=${RF_DIALER_USERID}&password=${RF_PASSWORD}&${ARG2})
exten =>
2006 May 30
11
Problems with Routing and Masquerading
Hi,
I have a linux box which balances load between two interfaces ( say WAN1
and WAN2). I have masquerading on for any request coming from LAN to the
outside world.
The setup is in such a way that WAN1 drops packets with source ip
belonging to WAN2''s network and viceversa.
For some strange reason, I find that packet coming out from the WAN
interface has source address of WAN2 and
2014 Mar 20
1
fromdomain not honored on outbound INVITE request
https://issues.asterisk.org/jira/browse/ASTERISK-20841
The patch was already posted by someone but then was deleted because of
guide lines. Is it really that hard to fix? Since 1.8 there is this
problem but nobody seems to care about. Asterisk isnt only used with
itsp who dont care about fromdomain. Or are the developers saying, we
dont care about people who are using Asterisk in smaller
2009 Mar 05
1
Snom Aler-info Ringtone
Have someone running fine Alert-Info with a Snom 370
( System Information:
Phone Type: snom370-SIP
MAC-Address: 0004132661BD
IP-Address: 192.168.10.170
Firmware-Version: snom370-SIP 7.3.14 14961)
i've tried
exten => 200,1,SIPAddHeader(Alert-Info:<http://www.notused.com>\;info=alert-external)
exten => 200,n,Dial(SIP/${EXTEN},30)
Can see into the phone SIP trace is
2009 Jan 14
8
evaluate SIP response codes in dialplan
Hi!
Is it somehow possible to evaluate the SIP response code inside the
dialplan?
I have an Asterisk server which forwards requests to various PSTN
gateways with SIP. If the Dial() attempt is not successful I want to
differ at least these 3 options:
- called destination is busy (486): e.g. activate auto-redial
- called destination does not exist, unassigned number (404)
- gateway is broken,
2007 Feb 27
2
Saving Dialplan in CLI
Is there anyway to unset the extensions.conf definition of
writeprotect=yes while in the CLI interface (or by other mechanism) to
enable the dialplan save command? I accidentally overwrote my
extensions.conf but still have a running copy of asterisk with the old
dial plan running in memory. while it would not be difficult for me to
rebuild what I lost - it would be easier if I could just save
2007 Nov 02
1
Get value from linux terminal to dialplan in Asterisk ?
Hello Asterisk Users,
I wanted to know a simple way in which I could read some file from a console
(say by using system command) and based on that either return true or false
back to dialplan. Is there any built in command in Asterisk for that ?
What are the options do I have ? Are there any sample code to do so ?
Thanks a lot
Regards
--
Arpit Mehta
Graduate Student
Department of Computer
2009 Dec 04
1
Get Queue values from dialplan (Was: queue_variables() function)
2009/12/4 Olivier <oza-4h07 at myamail.com>
> Hello,
>
> Has someone successfully used this QUEUE_VARIABLES() function (in
> 1.6.2-rc7) ?
> I tried to use it as I'm using SIPPEER() but without success.
>
> A previous question about it remainded unanswered (
> http://thread.gmane.org/gmane.comp.telephony.pbx.asterisk.user/224466).
>
> Regards
>
How can