search for: freenumdomain

Displaying 5 results from an estimated 5 matches for "freenumdomain".

2015 Jun 26
2
Asterisk dialplan best practices syntax
Hi, I've two yocto questions about the syntax of dialplan: 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 ? 2. To write info in logs/console, you have two commands: NoOp and Verbose. Verbose seems to be
2010 Apr 29
1
Issue with (pattern) matching extension
...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)}" == ""]?dial:) same => n,Set(SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) same => n(dial),Dial(SIP/${isnresult},40) same => n,Goto(fn-${DIALSTATUS},1) exten => fn-BUSY,1,Busy() exten => _fn-.,1,NoOp(ISN: ${DIALSTATUS}) same => n,Congestion() and the logging: =...
2015 Jun 26
0
Asterisk dialplan best practices syntax
...t; n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) same => n,GotoIf($["${isnresult}" != ""]?from) same => n,Set(DIALSTATUS=CONGESTION) same => n,Goto(fn-CONGESTION,1) same => n(from),Set(__SIPFROMUSER=${CALLERID(num)}) same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" = ""]?dial) same => n,Set(__SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) same => n(dial),Dial(SIP/${isnresult},40) same => n,Goto(fn-${DIALSTATUS},1) exten => fn-BUSY,1,Busy() exten => _f[n]-.,1,NoOp(ISN: ${DIALSTATUS}) same => n,Congestion() With a little whitespa...
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
2015 Jun 28
2
Asterisk dialplan best practices syntax
...LOOKUP(${EXTEN},sip,,1,freenum.org)}) > same => n,GotoIf($["${isnresult}" != ""]?from) > same => n,Set(DIALSTATUS=CONGESTION) > same => n,Goto(fn-CONGESTION,1) > same => n(from),Set(__SIPFROMUSER=${CALLERID(num)}) > same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" = ""]?dial) > same => n,Set(__SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) > same => n(dial),Dial(SIP/${isnresult},40) > same => n,Goto(fn-${DIALSTATUS},1) > > exten => fn-BUSY,1,Busy() > > exten => _f[n]-.,1,NoOp(ISN: ${DIALSTATUS}) > same =>...