<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Galera, estou mudando o context= toda hora, quando quero ligar entre os ramais eu mudo para context=datacenter e quando quero fazer ligação externa mudo novamente para context=rotadesaida, já procurei na net... mas não imagino oque posso fazer para usar ao mesmo tempo, não simultaneo, mas que eu possa usar sem ir no servidor e mudar a configuração!<BR>
&nbsp;<BR>
Aguardo a ajuda de vocês, obrigado!<BR>
&nbsp;<BR>
&nbsp;<BR>
Segue minhas configurações&nbsp;configurações:<BR>
&nbsp;<BR>
sip.conf<BR>
&nbsp;<BR>
[general] ; configurações básicas do protocolo<BR>context=default ; Context padrão para recebimento de chamadas<BR>bindport=5060 ; Porta UDP (A padrão é 5060)<BR>bindaddr=0.0.0.0 ; Endereço IP para escutar (0.0.0.0 Escuta todos)<BR>srvlookup=yes<BR>
&nbsp;<BR>
# liga com servidores sip<BR>register=gregorye:senha@vono.net.br:5060/gregorye<BR><BR>
[gregorye]<BR>type=peer<BR>username=gregorye<BR>secret=senha<BR>
domain=vono.net.br<BR>fromuser=gregorye<BR>fromdomain=vono.net.br<BR>host=vono.net.br<BR>insecure=very<BR>qualify=no<BR>port=5060<BR>nat=no<BR>allow=all<BR>dtmfmode=rfc2833<BR>context=rotadesaida<BR>reinvite=no<BR>canreinvite=no<BR><BR>
[gregorym]<BR>type=friend<BR>callerid = "Gregory MOBILE" &lt;22&gt;<BR>username=gregorym<BR>secret=senha<BR>host= dynamic<BR>nat=yes<BR>canreinvite=no<BR>;context=datacenter<BR>context=rotadesaida<BR>
&nbsp;<BR>
[toninho]<BR>type=friend<BR>callerid = "Toninho CASA" &lt;23&gt;<BR>username=toninho<BR>secret=senha<BR>host= dynamic<BR>nat=yes<BR>canreinvite=no<BR>context=datacenter<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
minha configuração extensions.conf<BR><BR>
[datacenter]<BR>exten =&gt; 25,1,Dial(SIP/gregorym,25)<BR>exten =&gt; 25,2,Hangup<BR>exten =&gt; 23,1,Dial(SIP/toninho,25)<BR>exten =&gt; 23,2,Hangup<BR><BR>[rotadesaida]<BR>exten =&gt; smsdata,1,Goto(rotadeentrada,s,1)<BR>[rotadeentrada]<BR>exten =&gt; s,1,Dial(SIP/gregorym,50)<BR>
&nbsp;<BR>
[rotadesaida]<BR>exten =&gt; _XXXXXXXXXXX,1,Dial(<A href="mailto:SIP/${EXTEN}@gregorye,50">SIP/${EXTEN}@gregorye,50</A>)<BR><BR><BR>
<DIV></DIV><br /><hr />Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça  o MSN Mobile! <a href='http://mobile.live.com/signup/signup2.aspx?lc=pt-br' target='_new'>Crie já o seu!</a></body>
</html>