<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#999999 bgColor=#ffffff>
<DIV><FONT face=Arial color=#000000 size=2>utilize o sip_header, com ele vc
sabe pra onde direcionar a chamada.</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rastreadorbr@gmail.com
href="mailto:rastreadorbr@gmail.com">Rastreador</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asteriskbrasil@listas.asteriskbrasil.org
href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 27, 2009 2:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [AsteriskBrasil] problema
DID</DIV>
<DIV><BR></DIV>Amigos da lista,<BR><BR><BR>utilizo a CTBC para receber
ligações em meu asterisk. Ela está enviando o cabeçalho numérico de apenas 4
últimos números finais. Como faço o asterisk interpretar isto automaticamente,
sem a necessidade de enviar os 8 dígitos completos?<BR><BR><BR><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=2>-- Executing
Macro("SIP/admin-b7209c60", "outside-to-internal|9200|did") in new stack
<BR>-- Executing Set("SIP/admin-b7209c60", "__OUTSIDETOINTERNAL=1") in new
stack <BR>-- Executing Set("SIP/admin-b7209c60", "TIMEOUT(absolute)=7200") in
new stack <BR>-- Channel will hangup at 2009-01-27 17:14:16 UTC. <BR>--
Executing Set("SIP/admin-b7209c60", "__OLDCALLERID=6181219244") in new stack
<BR>-- Executing Macro("SIP/admin-b7209c60",
"dest-checks-from-outside|9200|did") in new stack <BR>-- Executing
VMYSQL("SIP/admin-b7209c60", "Connect connid") in new stack <BR>-- Executing
GotoIf("SIP/admin-b7209c60", "0?3:5") in new stack <BR>-- Goto
(macro-dest-checks-from-outside,s,5) <BR>-- Executing
GotoIf("SIP/admin-b7209c60", "1?6:25") in new stack <BR>-- Goto
(macro-dest-checks-from-outside,s,6) <BR>-- Executing
VMYSQL("SIP/admin-b7209c60", "Query resultid 1 CALL
get_channel_did_mapping("9200")") in new stack <BR>-- Executing
Goto("SIP/admin-b7209c60", "10") in new stack <BR>-- Goto
(macro-dest-checks-from-outside,s,10) <BR>-- Executing
Set("SIP/admin-b7209c60", "ext_no=") in new stack <BR>-- Executing
VMYSQL("SIP/admin-b7209c60", "Fetch foundRow ext_no public_phone channel_didno
channel_id") in new stack <BR>2009-01-27 13:14:16 WARNING[12401]:
app_vmysql.c:926 aMYSQL_fetch: aMYSQL_fetch: Invalid result identifier 0
passed <BR>-- Executing VMYSQL("SIP/admin-b7209c60", "Clear ") in new stack
<BR>-- Executing VMYSQL("SIP/admin-b7209c60", "Disconnect 1") in new stack
<BR>-- Executing GotoIf("SIP/admin-b7209c60", "0?15:150") in new stack <BR>--
Goto (macro-dest-checks-from-outside,s,150) <BR>-- Executing
Macro("SIP/admin-b7209c60", "hangupcall") in new stack <BR>-- Executing
ResetCDR("SIP/admin-b7209c60", "w") in new stack <BR>-- Executing
NoCDR("SIP/admin-b7209c60", "") in new stack <BR>2009-01-27 13:14:16
NOTICE[12401]: cdr.c:443 ast_cdr_free: CDR on channel 'SIP/admin-b7209c60' not
posted <BR>2009-01-27 13:14:16 NOTICE[12401]: cdr.c:445 ast_cdr_free: CDR on
channel 'SIP/admin-b7209c60' lacks end <BR>-- Executing
VMYSQL("SIP/admin-b7209c60", "Clear ") in new stack <BR>-- Executing
VMYSQL("SIP/admin-b7209c60", "Disconnect 1") in new stack <BR>-- Executing
Wait("SIP/admin-b7209c60", "1") in new stack <BR>-- Executing
Hangup("SIP/admin-b7209c60", "") in new stack <BR>== Spawn extension
(macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60' in macro
'hangupcall' <BR>== Spawn extension (macro-hangupcall, s, 6) exited non-zero
on 'SIP/admin-b7209c60' in macro 'dest-checks-from-outside' <BR>== Spawn
extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60' in
macro 'outside-to-internal' <BR>== Spawn extension (macro-hangupcall, s, 6)
exited non-zero on 'SIP/admin-b7209c60' </FONT><BR><BR><BR><BR>Rodrigo<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Openmoko Freerunner,
primeiro telefone open source, disponível no Brasil rodando o Android da
Google.<BR>http://www.neodroid.com<BR><BR>Compre uma camiseta da
AsteriskBrasil.org!<BR>http://www.voipmania.com.br<BR><BR>Acesse o canal IRC
de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net:
#asterisk-br<BR>_______________________________________________<BR>Lista de
discussões
AsteriskBrasil.org<BR>AsteriskBrasil@listas.asteriskbrasil.org<BR>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</BLOCKQUOTE></BODY></HTML>