exten => s,10,disa(no-password,from-internal)
it works for me.
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:[EMAIL PROTECTED]: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
Rua Augusta 2.212 SL 26 Jardins 01412001
S�o Paulo - Brasil
_______________________________________________
--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
_______________________________________________ --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
