[AsteriskBrasil] problema DID
Sebastiao Rocha
lixo em interlinksistemas.com.br
Quinta Janeiro 29 18:40:36 BRST 2009
utilize o sip_header, com ele vc sabe pra onde direcionar a chamada.
----- Original Message -----
From: Rastreador
To: asteriskbrasil em listas.asteriskbrasil.org
Sent: Tuesday, January 27, 2009 2:28 PM
Subject: [AsteriskBrasil] problema DID
Amigos da lista,
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?
-- Executing Macro("SIP/admin-b7209c60", "outside-to-internal|9200|did") in new stack
-- Executing Set("SIP/admin-b7209c60", "__OUTSIDETOINTERNAL=1") in new stack
-- Executing Set("SIP/admin-b7209c60", "TIMEOUT(absolute)=7200") in new stack
-- Channel will hangup at 2009-01-27 17:14:16 UTC.
-- Executing Set("SIP/admin-b7209c60", "__OLDCALLERID=6181219244") in new stack
-- Executing Macro("SIP/admin-b7209c60", "dest-checks-from-outside|9200|did") in new stack
-- Executing VMYSQL("SIP/admin-b7209c60", "Connect connid") in new stack
-- Executing GotoIf("SIP/admin-b7209c60", "0?3:5") in new stack
-- Goto (macro-dest-checks-from-outside,s,5)
-- Executing GotoIf("SIP/admin-b7209c60", "1?6:25") in new stack
-- Goto (macro-dest-checks-from-outside,s,6)
-- Executing VMYSQL("SIP/admin-b7209c60", "Query resultid 1 CALL get_channel_did_mapping("9200")") in new stack
-- Executing Goto("SIP/admin-b7209c60", "10") in new stack
-- Goto (macro-dest-checks-from-outside,s,10)
-- Executing Set("SIP/admin-b7209c60", "ext_no=") in new stack
-- Executing VMYSQL("SIP/admin-b7209c60", "Fetch foundRow ext_no public_phone channel_didno channel_id") in new stack
2009-01-27 13:14:16 WARNING[12401]: app_vmysql.c:926 aMYSQL_fetch: aMYSQL_fetch: Invalid result identifier 0 passed
-- Executing VMYSQL("SIP/admin-b7209c60", "Clear ") in new stack
-- Executing VMYSQL("SIP/admin-b7209c60", "Disconnect 1") in new stack
-- Executing GotoIf("SIP/admin-b7209c60", "0?15:150") in new stack
-- Goto (macro-dest-checks-from-outside,s,150)
-- Executing Macro("SIP/admin-b7209c60", "hangupcall") in new stack
-- Executing ResetCDR("SIP/admin-b7209c60", "w") in new stack
-- Executing NoCDR("SIP/admin-b7209c60", "") in new stack
2009-01-27 13:14:16 NOTICE[12401]: cdr.c:443 ast_cdr_free: CDR on channel 'SIP/admin-b7209c60' not posted
2009-01-27 13:14:16 NOTICE[12401]: cdr.c:445 ast_cdr_free: CDR on channel 'SIP/admin-b7209c60' lacks end
-- Executing VMYSQL("SIP/admin-b7209c60", "Clear ") in new stack
-- Executing VMYSQL("SIP/admin-b7209c60", "Disconnect 1") in new stack
-- Executing Wait("SIP/admin-b7209c60", "1") in new stack
-- Executing Hangup("SIP/admin-b7209c60", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60' in macro 'dest-checks-from-outside'
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60' in macro 'outside-to-internal'
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/admin-b7209c60'
Rodrigo
------------------------------------------------------------------------------
_______________________________________________
Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.
http://www.neodroid.com
Compre uma camiseta da AsteriskBrasil.org!
http://www.voipmania.com.br
Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br
_______________________________________________
Lista de discussões AsteriskBrasil.org
AsteriskBrasil em listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20090129/409a06c3/attachment.htm
Mais detalhes sobre a lista de discussão AsteriskBrasil