<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#999999">
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>
</body>
</html>