Displaying 20 results from an estimated 2000 matches similar to: "Asterisk dialplan best practices syntax"
2010 Apr 29
1
Issue with (pattern) matching extension
Here's a segment of my dialplan, I'm working on the freenum/ISN
functionality:
same => n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)})
same => n,GotoIf($["${isnresult}" != ""]?:fn-CONGESTION,1)
; set up our outgoing call state
same => n,Set(SIPFROMUSER=${CALLERID(num)})
same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" ==
2015 Jun 26
0
Asterisk dialplan best practices syntax
On Fri, 26 Jun 2015, Ludovic Gasc wrote:
> 1. What's the "official" notation of each line: "=>" or "=" ? In the
> wiki of Asterisk, I see very often "=>", however, what's the reason for
> both syntaxes authorized ? Historical ?
I'm not 'official,' but I have a strong preference for just '=.' Using
2015 Jun 28
2
Asterisk dialplan best practices syntax
2015-06-26 17:11 GMT+02:00 Steve Edwards <asterisk.org at sedwards.com>:
> On Fri, 26 Jun 2015, Ludovic Gasc wrote:
>
> 1. What's the "official" notation of each line: "=>" or "=" ? In the wiki
>> of Asterisk, I see very often "=>", however, what's the reason for both
>> syntaxes authorized ? Historical ?
>>
2014 Feb 18
1
Dynamically setting from domain when calling friends
Hello
I have a problem where I would like to be able to send an arbitrary SIP
domain when sending a call to a registered friend. By default the from
domain is set to the IP of the Asterisk server, but I would like to set it
to something else.
The case is that when a call from a foreign domain comes in to the Asterisk,
it will connect it to the callee (but with the domain changed). When
2004 Jan 15
1
WANTED: Toll-Free gateways in Europe/Asia/Africa/South America
The freenum.org project wants to use your trunks! The freenum.org project is an ENUM parallel tree, which has as an eventual goal the distribution of ENUM numbering in nations or areas which due to political or other issues are not able to get secure, inexpensive, or functional ENUM capabilities.
As a preliminary round, we're putting toll-free gateways into the system for various nations.
2013 Feb 15
6
Cisco 7942 Connected line ID
Hi,
Is it working for anyone?
I have tried with
trustrpid=yes
sendrpid=yes/pai
but can not get it working, Asterisk cli shows prevented message like this.
Connected line update to SIP/1231-00000200 prevented
Regards,
Zohair Raza
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jan 10
3
sendrpid does not work!
Hello,
I have Asterisk 1.6.2.9-2, the directive "sendrpid" does not work!
I placed this in my peer: (sip.conf)
sendrpid=yes
trustrpid=yes
or
sendrpid=yes
trustrpid=no
(and restarted Asterisk)
and the line "Remote-Party-ID" does not appear in my sip debug!
Please help me,
Mickael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Aug 17
2
Pass CallerId/Privacy info from A Leg to B Leg
Hi,
I'm using Asterisk to bridge the incoming call to another destination using the Dial command.
However, when an anonymous call comes in then privacy information is not passed into the B Leg.
For instance, the Privacy header and P-Asserted-Identity aren't copied to the B Leg.
Is there an option to give to the Dial command, or another variable to set, to make Asterisk copy such
2013 Feb 04
1
CallerID external call after Attended Transfer
Hello,
using Asterisk 1.8.12.2
case :
I call with my cellphone to our public telephone number
Our receptionist answers the incoming call and does an attended transfer
to my colleague ( A )
Colleague answers and the receptionist tells him that I am on the other
side.
Receptionist transfers the call and I am connected to my colleague ( B )
My question is about the CallerID that the
2014 Feb 16
1
Retaining P-Asserted Info
Hello Everyone,
Our switch is sending P-Asserted info to asterisk however the information
is getting removed when asterisk forks the call. Is it possible to have asterisk
retain the P-Asserted on the leg. This is quite important for valid
functionality of our
network.
Tried setting `sendrpid = yes` and still same problem. We really don't want to
have to `SipAddHeader` as it is already being
2010 Feb 20
1
Fax, T38 and NAT
Gentlemen,
I have 3 faxes attached to an Asterisk. Fax - SPA2102 - Asterisk.
0851711201 and 0851711290 is on our WAN, no NAT.
0197673581 is outside our WAN and needs to be NAT'ed.
Sending a fax from 0851711201 to 0851711290, no problem, switches to T38
and fax goes through.
Sending a from 0197673581 to 0851711201, no problem as long as i dont
enable T38 on 0197673581.
But, if i enable T38
2010 May 06
2
problem with trustrpid
Hi everyone,
I am trying to figure out the behavior of trustrpid
Basically its not behaving the way I expected it to or maybe I am
missing a configuration option or something else.
When a call from a phone is sent to the * box it has the following sip
headers:
From: "From Phone" <sip:1001 at 10.0.0.29>;tag=4bf4bb4e11e92476.
Remote-Party-ID: "Cloutier"
2009 Jul 26
3
Not getting inbound CallerID name on Asterisk
We have an inbound PRI connected to our Cisco 3825 router which is then
passing the calls to Asterisk as SIP calls. We're getting the CallerID
number but not the CallerID name. We are seeing the name in the RPID field
with a SIP trace on the Asterisk box but don't understand why it's not
registering as the CallerID name.
Here is a link to pastebin with the Sip trace. In it you
2008 Oct 06
7
Matching *, + and # in the dialplan
In several places online, and in the Asterisk F.O.T. book, there is a
warning against using '_.' saying:
"[it] should probably never be used".
However, the need often arises act on numeric extensions that begin with
*'s and #'s, and '+', and of course _X. does not match
I have tried exten => _[0-9*#+]. but that seems to be the functional
equivalent to _X.
2011 Oct 20
1
10.0 CallerID question
Hi List,
Another dumb conversion question (I hope). I installed 10.0
and copied my 1.4 configuration files over. With a few tweaks everything
works great except for 1 feature that I specifically went to 10.0 for. When
I do an attended transfer, I still get the receptionists caller ID on the
transferred phone instead of the incoming callerID. My assumption is that
there is some
2008 Aug 13
1
ENUM lookup
Hi All,
For a 1.4 version asterisk, whats the recommended mechanism for dialling
with ENUM lookup? At the moment I user SIPbroker, but am getting tired
of it hanging on certain numbers, so I was thinking about implementing
it myself.
I've seen various vo-ip.info pages
(http://www.voip-info.org/wiki/view/Asterisk+cmd+EnumLookup) talking
about the func ENUMLOOKUP instead of EnumLookup
2004 Jan 20
1
Toll-Free Gateway Beta Test: freenum.org
The freenum.org beta continues to roll forward. If you have an Asterisk or SER SIP gateway/proxy, please see if you can make some sense of the examples below and install them in your system. Your users will hopefully be able to dial toll free numbers in various nations just like they dial regular numbers in those same country codes.
I'd like to get some additional people trying to make
2014 Jan 21
3
Asterisk Fax detection *11.7
Hello everybody
I'm trying to enable the Digium res_fax app at my *11.7 Server.
a fax show stats comes up with
FAX Statistics:
---------------
Current Sessions : 0
Reserved Sessions : 0
Transmit Attempts : 0
Receive Attempts : 1
Completed FAXes : 1
Failed FAXes : 1
Digium G.711
Licensed Channels : 1
Max Concurrent : 0
Success : 0
Switched to
2016 Apr 23
2
Incoming calls from Andrews & Arnold failing to authenticate
I have service with both VoIPtalk.org and Andrews & Arnold (aa.net.uk).
VoIPtalk calls are unauthenticated and reach me fine, but Andrews &
Arnold calls are authenticated. The last call I successfully received
was on Tuesday afternoon. Initially, A&A were for some odd reason not
sending calls to my server, but that has been resolved. The problem now
is that the calls fail to
2017 Jun 14
3
CallerId presence issue
Hi,
I've run into a minor snag trying to pass on CALLERID presence from one
Asterisk to another via SIP (both running 13.16.0)
I have a PRI coming in PBX_A and PBX_A is connected to PBX_B via SIP.
PBX_A gets PRI calls on a 4 port Digium card, and each call naturally has
its own callerid values and presence. I pass on those calls to PBX_B via
SI, and I'm trying to pass on this