[AsteriskBrasil] Identificar ligações pelo Ring. (externas X internas)

Rodrigo Graeff delphusbsd em gmail.com
Quarta Setembro 30 11:51:21 BRT 2009




On Wed, 2009-09-30 at 11:29 -0300, Luciano Antonio Borguetti Faustino
wrote:
> Em 30/09/09, Pablo Câmara<pscamara em gmail.com> escreveu:
> > Olá pessoal.
> > Asterisk 1.6
> >
> > Uma dúvida, existe algum modo de diferenciar o toque do telefone dependendo
> > do tipo de ligação?
> > Queria diferenciar as ligações internas das externas pelo Ring (toque) do
> > telefone!
> >
> >
> >    - Ligações Externas: Canal E1 (Tronco Embratel)
> >    - Ligações Internas: Asterisk (IAX2 E SIP)
> >
> >
> > Utilizamos os seguintes recursos:
> >
> >
> >    - TELEFONES POLYCOM 330IP
> >    - GATEWAY D-LINK  DVG 2032S
> >
> >
> > Nos telefones Polycom, não existe a necessidade de alterar o toque, já que
> > conseguimos visualizar o numero de quem está chamado. Porem nos
> > telefones analógicos conectados no gateway não conseguimos identificar
> > a procedência da ligação.
> >
> > Qualquer ajuda, apreciada.
> >
> > Obrigado!
> >
> 
> Pablo,
> 
> Procure por Alert-Info.
> 
> http://www.voip-info.org/wiki/view/Asterisk+SIP+channels
> 
> Distinctive Ring Styles
> There doesn't yet seem to be a standard for how to tell a SIP phone
> that you want it to ring with a distinctive ring. On SIP handsets that
> support distinctive ring at all, the exact method of specifying
> distinctive ring varies from one model to another. Often (or always?)
> it is by sending a SIP "Alert-info" header, but what the value of this
> header should be is not consistent. If you can figure out what
> Alert-info header Asterisk should send, then you can get Asterisk 1.0
> and 1.2 to send such a header by setting the ALERT_INFO channel
> variable before you Dial:
> 
>    exten => s,1,SetVar(ALERT_INFO=something)
>    exten => s,2,Dial(SIP/myphone)
> 
> 
> Obs: Teu equipamento precisa ter suporte.
> 
> Att,
> 
> 

É verdade, o aparelho ou dispositivo deve ter suporte, senão na maioria
dos casos, será ignorado, porém resalto que tive problemas com alguns
equipamentos que não gostaram do alert info e retornavam "BAD OPTION"
resultando em ligações perdidas, portanto: use com cautela.

Att,

--

Rodrigo Graeff
ICQ: 9636816
http://www.delphus.org



Mais detalhes sobre a lista de discussão AsteriskBrasil