Amigo,<br><br>para a <span style="font-weight: bold;">Vono </span>eu faço da seguinte forma.... (inclusive essa forma de fazer eu peguei aqui na lista)<br><br><span style="font-family: courier new,monospace;">exten =&gt; did,1,Set(NUMENTRADA=${SIP_HEADER(X-Vono-DDR)})
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">
,n,GotoIf($[${NUMENTRADA} = 2140639999]?6)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exten =&gt; </span><span style="font-family: courier new,monospace;">did</span>
<span style="font-family: courier new,monospace;">,n,GotoIf($[${NUMENTRADA} = 2140638888]?8)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exten =&gt; </span><span style="font-family: courier new,monospace;">
did</span><span style="font-family: courier new,monospace;">,n,GotoIf($[${NUMENTRADA} = 2135279999]?10)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exten =&gt; </span>
<span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,GotoIf($[${NUMENTRADA} = 2140637777]?12)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Dial(SIP/554437,60)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Hangup</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Dial(SIP/554438,60)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Hangup</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Dial(SIP/554439,60)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Hangup</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Dial(SIP/554440,60)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten =&gt; </span><span style="font-family: courier new,monospace;">did</span><span style="font-family: courier new,monospace;">,n,Hangup</span><br><br>a vono envia no cabeçalho SIP o campo <span style="font-weight: bold;">
X-Vono-DDR</span>... tente fazer o debug e verifique se a tellfree tem um campo semelhante...<br><br>Att,<br>Ricardo Landim<br><br><br><div><span class="gmail_quote">Em 10/07/07, <b class="gmail_sendername">Fabiano (BiGu)
</b> &lt;<a href="mailto:bigu@grupoheringer.com.br">bigu@grupoheringer.com.br</a>&gt; escreveu:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ae galera, seguinte<br><br>tenho 3 numeros remotos na tellfree, todos sendo direcionados para a<br>mesma conta SIP<br><br>estou precisando tratar esses numero de maneira diferente...<br><br>ou seja, se o cara ligar no numero remoto do Rio de Janeiro por exemplo,
<br>eu quero ele execute um contexto, se ele ligar para o de Sao Paulo,<br>executar outro contexto...<br><br>minha duvida é: existe uma maneira de pegar o numero que o usuario da<br>outra ponta digitou? o CallerID dele eu ja consigo pegar normal..mas eu
<br>quero descobrir em qual numero remoto que ele ligou<br><br><br>Abracos<br>_______________________________________________<br>LIsta de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">
AsteriskBrasil@listas.asteriskbrasil.org</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br><br>_______________________________________________
<br>Acesse o&nbsp;&nbsp;wiki AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br></blockquote></div><br>