ITN Info - 11-3898-0112
2006-May-05 16:06 UTC
[Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
Hi, I am trying to create a situation where I call the DID number which is 1140636249 and I receive a dial tone to dial. I d like also to autenticate the number 1130851536. I can see that asterisk decode this number but I dont know how to authenticate this number only. This is what I am doing Sip.conf [globo] type=friend username=itn111 fromuser=itn111 secret=123456 insecure=very host= globo.net.br context=fromttt fromdomain= globo.net.br dtmfmode=rfc2833 disallow=all allow=g729 register => itn111:123456@globo.net.br:5060/itn111 where itn111 is the LOGIN for DID and the virtual extension for Extensions.conf file Extensions.conf [fromttt] exten => itn111,1,Dial(SIP/29650,60,Ttr) exten => itn111,2,Hangup() This settings above can can garantee that every call to 1140636249 goes to extension 29650. Do DID part is working ok. Now I would like to get a second dial tone when I call 1140636249 for asterisk DISA. I d like also to autenticate the number 1130851536 (caller number) and only this number can receive the call This is what I am trying to do exten => itn111,1,Dial(SIP/29650,60,Ttr) exten => 29650,2,DISA(no-password|brasil) ; I use no-password for this for now and Brasil context exten => 29650,3,Hangup() or exten => itn111,1,DISA(no-password|brasil) In sip show channels I see SIP/itn123456-cdfe (fromgvt itn123456 1 ) Up DISA no-password|brasil But there s no dial tone. And I don t know how to authenticate this number 1130851536. I see that asterisk collect this number Can you pls help me to do this settings ? Atenciosamente Diretoria Comercial - Newton Medina PABX 11.3085.1536 MSN itn@itn.com.br Rua Augusta 2.212 SL 26 Jardins 01412001 S?o Paulo - Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060505/bcd0fd28/attachment.htm
Tele Cost Price Reducer
2006-May-06 12:43 UTC
[Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
hi,
you can try the following:
exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10)
exten => s,2,Goto(from-pstn,s,1)
exten => s,10,disa(no-password,from-internal)
* *
it works for me.
if you need further help, let me know.
BTW, i am very interested in the Brazilian Market so i would like to get as
much as possible info about Brazil.
good luck,
Mickey
On 5/6/06, ITN Info - 11-3898-0112 <itn@itn.com.br>
wrote:>
> Hi,
>
>
>
> I am trying to create a situation where I call the DID number which is
> 1140636249 and I receive a dial tone to dial. I d like also to autenticate
> the number 1130851536.
>
> I can see that asterisk decode this number but I dont know how to
> authenticate this number only. This is what I am doing
>
>
>
> *Sip.conf*
>
>
>
> [globo]
>
>
>
> type=friend
>
> username=itn111
>
> fromuser=itn111
>
> secret=123456
>
> insecure=very
>
> host= globo.net.br
>
> context=fromttt
>
> fromdomain= globo.net.br
>
> dtmfmode=rfc2833
>
> disallow=all
>
> allow=g729
>
>
>
> register => itn111:123456@globo.net.br:5060/itn111
>
>
>
> where itn111 is the LOGIN for DID and the virtual extension for *
> Extensions.conf *file
>
>
>
> *Extensions.conf *
>
>
>
> [fromttt]
>
>
>
> exten => itn111,1,Dial(SIP/29650,60,Ttr)
>
> exten => itn111,2,Hangup()
>
>
>
> This settings above can can garantee that every call to 1140636249 goes to
> extension 29650. Do DID part is working ok.
>
> Now I would like to get a second dial tone when I call 1140636249 for
> asterisk DISA.
>
> I d like also to autenticate the number 1130851536 (caller number) and
> only this number can receive the call
>
>
>
> This is what I am trying to do
>
>
>
> exten => itn111,1,Dial(SIP/29650,60,Ttr)
>
> exten => 29650,2,DISA(no-password|brasil) ; I use no-password for this
for
> now and Brasil context
>
> exten => 29650,3,Hangup()
>
>
>
> or
>
>
>
> exten => itn111,1,DISA(no-password|brasil)
>
>
>
> In sip show channels I see
>
>
>
> *SIP/itn123456-cdfe? (fromgvt??? itn123456??? 1?? )????? Up DISA?????????
> no-password|brasil*
>
> * *
>
> But there s no dial tone. And I don t know how to authenticate this number
> 1130851536. I see that asterisk collect this number
>
>
>
> Can you pls help me to do this settings ?
>
>
>
>
>
>
>
> Atenciosamente
>
>
>
>
>
>
>
> *Diretoria Comercial - Newton Medina*
>
> *PABX 11.3085.1536*
>
> *MSN *itn@itn.com.br
>
>
>
> Rua Augusta 2.212 SL 26 Jardins 01412001
>
> S?o Paulo - Brasil
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com
<http://easynews.com/>--
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060506/9962fb18/attachment.htm
There is a mailing list (in portuguese, but most persons there will answer your questions in english without problems) in Brazil. IF your question is biz related, of course, there is a proper place for these (a biz list). http://listas.asteriskbrasil.org/mailman/listinfo would give you both lists (the tech.list and the biz list). Tele Cost Price Reducer wrote:> hi, > you can try the following: > > exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10) > exten => s,2,Goto(from-pstn,s,1) > exten => s,10,disa(no-password,from-internal) > * * > it works for me. > if you need further help, let me know. > BTW, i am very interested in the Brazilian Market so i would like to get as > much as possible info about Brazil. > > good luck, > > Mickey > > On 5/6/06, ITN Info - 11-3898-0112 <itn@itn.com.br> wrote: > >> >> Hi, >> >> >> >> I am trying to create a situation where I call the DID number which is >> 1140636249 and I receive a dial tone to dial. I d like also to >> autenticate >> the number 1130851536. >> >> I can see that asterisk decode this number but I dont know how to >> authenticate this number only. This is what I am doing >> >> >> >> *Sip.conf* >> >> >> >> [globo] >> >> >> >> type=friend >> >> username=itn111 >> >> fromuser=itn111 >> >> secret=123456 >> >> insecure=very >> >> host= globo.net.br >> >> context=fromttt >> >> fromdomain= globo.net.br >> >> dtmfmode=rfc2833 >> >> disallow=all >> >> allow=g729 >> >> >> >> register => itn111:123456@globo.net.br:5060/itn111 >> >> >> >> where itn111 is the LOGIN for DID and the virtual extension for * >> Extensions.conf *file >> >> >> >> *Extensions.conf * >> >> >> >> [fromttt] >> >> >> >> exten => itn111,1,Dial(SIP/29650,60,Ttr) >> >> exten => itn111,2,Hangup() >> >> >> >> This settings above can can garantee that every call to 1140636249 >> goes to >> extension 29650. Do DID part is working ok. >> >> Now I would like to get a second dial tone when I call 1140636249 for >> asterisk DISA. >> >> I d like also to autenticate the number 1130851536 (caller number) and >> only this number can receive the call >> >> >> >> This is what I am trying to do >> >> >> >> exten => itn111,1,Dial(SIP/29650,60,Ttr) >> >> exten => 29650,2,DISA(no-password|brasil) ; I use no-password for this >> for >> now and Brasil context >> >> exten => 29650,3,Hangup() >> >> >> >> or >> >> >> >> exten => itn111,1,DISA(no-password|brasil) >> >> >> >> In sip show channels I see >> >> >> >> *SIP/itn123456-cdfe? (fromgvt??? itn123456??? 1?? )????? Up DISA????????? >> no-password|brasil* >> >> * * >> >> But there s no dial tone. And I don t know how to authenticate this >> number >> 1130851536. I see that asterisk collect this number >> >> >> >> Can you pls help me to do this settings ? >> >> >> >> >> >> >> >> Atenciosamente >> >> >> >> >> >> >> >> *Diretoria Comercial - Newton Medina* >> >> *PABX 11.3085.1536* >> >> *MSN *itn@itn.com.br >> >> >> >> Rua Augusta 2.212 SL 26 Jardins 01412001 >> >> S?o Paulo - Brasil >> >> >> >> >> >> _______________________________________________ >> --Bandwidth and Colocation provided by Easynews.com >> <http://easynews.com/>-- >> >> Asterisk-Users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
> you can try the following: > > exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10) > exten => s,2,Goto(from-pstn,s,1) > exten => s,10,disa(no-password,from-internal)This would do the same without an IF exten => s/1130851536,1,disa(no-password,from-internal) hth
ITN Info - 11-3898-0112
2006-May-06 15:32 UTC
RES: [Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
Hi
Tks for your info.
I can t set that
exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10)
exten => s,2,Goto(from-pstn,s,1)
exten => s,10,disa(no-password,from-internal)
to work ok yet. I don t know what are those contexts to (from-pstn)
and(from-internal).
I cant complete disa calls
I am using
exten => itn123456,1,Answer
exten => itn123456,2,DigitTimeout(5)
exten => itn123456,3,ResponseTimeout(10)
exten => itn123456,4,Authenticate(3)
exten => itn123456,5,DISA(no-password|hanna)
exten => XXXX.,6,Hangup
and this is working well but I need to dial 3# as pass and I cant authenticate
from 1130851536 only
Brazil Market is very booming. I am searching good quality cellular calls to
Brazil (any suggestion ).
What else you need to know about brazil market ? Pls tell me itn@itn.com.br ok
I am using also this settings bellow but other CID numbers can also complete
calls.
Do I need to use these REDS too ?
exten => itn123456,1,Gotoif($["${CALLERIDNUM}" =
"1130851536"]?10)
exten => itn123456,2,Answer
exten => itn123456,3,DigitTimeout(5)
exten => itn123456,4,ResponseTimeout(10)
exten => itn123456,5,Authenticate(3)
exten => itn123456,6,DISA(no-password|hanna)
exten => XXXX.,7,Hangup
Atenciosamente,
ITN Info
Newton Medina
PABX 11-3085-1536
-----Mensagem original-----
De: Tele Cost Price Reducer [mailto:telecpr@gmail.com]
Enviada em: s?bado, 6 de maio de 2006 16:44
Para: itn@itn.com.br
Cc: Asterisk Users Mailing List - Non-Commercial Discussion
Assunto: Re: [Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
hi,
you can try the following:
exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10)
exten => s,2,Goto(from-pstn,s,1)
exten => s,10,disa(no-password,from-internal)
it works for me.
if you need further help, let me know.
BTW, i am very interested in the Brazilian Market so i would like to get as much
as possible info about Brazil.
good luck,
Mickey
On 5/6/06, ITN Info - 11-3898-0112 <itn@itn.com.br> wrote:
Hi,
I am trying to create a situation where I call the DID number which is
1140636249 and I receive a dial tone to dial. I d like also to autenticate the
number 1130851536.
I can see that asterisk decode this number but I dont know how to authenticate
this number only. This is what I am doing
Sip.conf
[globo]
type=friend
username=itn111
fromuser=itn111
secret=123456
insecure=very
host= globo.net.br <http://globo.net.br/>
context=fromttt
fromdomain= globo.net.br <http://globo.net.br/>
dtmfmode=rfc2833
disallow=all
allow=g729
register => itn111:123456@globo.net.br:5060/itn111
where itn111 is the LOGIN for DID and the virtual extension for Extensions.conf
file
Extensions.conf
[fromttt]
exten => itn111,1,Dial(SIP/29650,60,Ttr)
exten => itn111,2,Hangup()
This settings above can can garantee that every call to 1140636249 goes to
extension 29650. Do DID part is working ok.
Now I would like to get a second dial tone when I call 1140636249 for asterisk
DISA.
I d like also to autenticate the number 1130851536 (caller number) and only this
number can receive the call
This is what I am trying to do
exten => itn111,1,Dial(SIP/29650,60,Ttr)
exten => 29650,2,DISA(no-password|brasil) ; I use no-password for this for
now and Brasil context
exten => 29650,3,Hangup()
or
exten => itn111 ,1,DISA(no-password|brasil)
In sip show channels I see
SIP/itn123456-cdfe? (fromgvt??? itn123456??? 1?? ) ????? Up DISA?????????
no-password|brasil
But there s no dial tone. And I don t know how to authenticate this number
1130851536. I see that asterisk collect this number
Can you pls help me to do this settings ?
Atenciosamente
Diretoria Comercial - Newton Medina
PABX 11.3085.1536
MSN itn@itn.com.br <mailto:itn@itn.com.br>
Rua Augusta 2.212 SL 26 Jardins 01412001
S?o Paulo - Brasil
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>
--
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060506/754ebdbc/attachment.htm
Steve Totaro
2006-May-06 16:41 UTC
RES: [Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
provided you are getting callerID information...
[disa]
exten => itn123456,1,Gotoif($["${CALLERIDNUM}" =
*"*1130851536"]?10)
exten => itn123456,2,Goto(someothercontext,s,1)
exten => itn123456,10,Answer
exten => itn123456,11,DigitTimeout(5)
exten => itn123456,12,ResponseTimeout(10)
exten => itn123456,13,Authenticate(3)
exten => itn123456,14,DISA(no-password|hanna)
exten => XXXX.,15,Hangup
ITN Info - 11-3898-0112 wrote:>
> Hi
>
>
>
> Tks for your info.
>
>
>
> I can t set that
>
>
>
> exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10)
>
> exten => s,2,Goto(from-pstn,s,1)
> exten => s,10,disa(no-password,from-internal)
>
>
>
>
>
> to work ok yet. I don t know what are those contexts to (from-pstn)
> and(from-internal).
>
> I cant complete disa calls
>
> I am using
>
>
>
> exten => itn123456,1,Answer
>
> exten => itn123456,2,DigitTimeout(5)
>
> exten => itn123456,3,ResponseTimeout(10)
>
> exten => itn123456,4,Authenticate(3)
>
> exten => itn123456,5,DISA(no-password|hanna)
>
> exten => XXXX.,6,Hangup
>
>
>
> and this is working well but I need to dial 3# as pass and I cant
> authenticate from 1130851536 only
>
>
>
> Brazil Market is very booming. I am searching good quality cellular
> calls to Brazil (any suggestion ).
>
>
>
> What else you need to know about brazil market ? Pls tell me
> itn@itn.com.br <mailto:itn@itn.com.br> ok
>
>
>
> I am using also this settings bellow but other CID numbers can also
> complete calls.
>
> Do I need to use these REDS too ?
>
>
>
> exten => itn123456,1,Gotoif($["${CALLERIDNUM}" =
*"*1130851536"]?10)
>
> exten => itn123456,2,Answer
>
> exten => itn123456,3,DigitTimeout(5)
>
> exten => itn123456,4,ResponseTimeout(10)
>
> exten => itn123456,5,Authenticate(3)
>
> exten => itn123456,6,DISA(no-password|hanna)
>
> exten => XXXX.,7,Hangup
>
>
>
> *Atenciosamente,*
>
>
>
>
>
> *ITN Info*
>
> *Newton Medina *
>
> *PABX 11-3085-1536 *
>
> -----Mensagem original-----
> *De:* Tele Cost Price Reducer [mailto:telecpr@gmail.com]
> *Enviada em:* s?bado, 6 de maio de 2006 16:44
> *Para:* itn@itn.com.br
> *Cc:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Assunto:* Re: [Asterisk-Users] ASTERISK DISA FOR INCOMING DID CALL
>
>
>
> hi,
>
> you can try the following:
>
>
>
> exten => s,1,Gotoif($[${CALLERIDNUM} = 1130851536 ]?10)
>
> exten => s,2,Goto(from-pstn,s,1)
> exten => s,10,disa(no-password,from-internal)
>
> ** **
> it works for me.
>
> if you need further help, let me know.
>
> BTW, i am very interested in the Brazilian Market so i would like to
> get as much as possible info about Brazil.
>
>
>
> good luck,
>
>
>
> Mickey
>
>
> On 5/6/06, *ITN Info - 11-3898-0112* <itn@itn.com.br
> <mailto:itn@itn.com.br>> wrote:
>
> Hi,
>
>
>
> I am trying to create a situation where I call the DID number which is
> 1140636249 and I receive a dial tone to dial. I d like also to
> autenticate the number 1130851536.
>
> I can see that asterisk decode this number but I dont know how to
> authenticate this number only. This is what I am doing
>
>
>
> *Sip.conf*
>
>
>
> [globo]
>
>
>
> type=friend
>
> username=itn111
>
> fromuser=itn111
>
> secret=123456
>
> insecure=very
>
> host= globo.net.br <http://globo.net.br/>
>
> context=fromttt
>
> fromdomain= globo.net.br <http://globo.net.br/>
>
> dtmfmode=rfc2833
>
> disallow=all
>
> allow=g729
>
>
>
> register => itn111:123456@globo.net.br:5060/itn111
> <http://itn111:123456@globo.net.br:5060/itn111>
>
>
>
> where itn111 is the LOGIN for DID and the virtual extension for
> *Extensions.conf *file
>
>
>
> *Extensions.conf *
>
>
>
> [fromttt]
>
>
>
> exten => itn111,1,Dial(SIP/29650,60,Ttr)
>
> exten => itn111,2,Hangup()
>
>
>
> This settings above can can garantee that every call to 1140636249
> goes to extension 29650. Do DID part is working ok.
>
> Now I would like to get a second dial tone when I call 1140636249 for
> asterisk DISA.
>
> I d like also to autenticate the number 1130851536 (caller number) and
> only this number can receive the call
>
>
>
> This is what I am trying to do
>
>
>
> exten => itn111,1,Dial(SIP/29650,60,Ttr)
>
> exten => 29650,2,DISA(no-password|brasil) ; I use no-password for this
> for now and Brasil context
>
> exten => 29650,3,Hangup()
>
>
>
> or
>
>
>
> exten => itn111 ,1,DISA(no-password|brasil)
>
>
>
> In sip show channels I see
>
>
>
> *SIP/itn123456-cdfe? (fromgvt??? itn123456??? 1?? ) ????? Up
> DISA????????? no-password|brasil*
>
> * *
>
> But there s no dial tone. And I don t know how to authenticate this
> number 1130851536. I see that asterisk collect this number
>
>
>
> Can you pls help me to do this settings ?
>
>
>