[AsteriskBrasil] Fwd: Re: Fwd: Re: Problema com saida Zap

Marcos Dalcin dalcin em tramontina.net
Terça Abril 8 09:41:55 BRT 2008


>Felipe ai esta a saida do verbose, na segunda 
>ligação quem faz chega ouvir uma chamada, 
>apartir deste momento somente ouve o proprio eco
>
>Listei dos dois lados A e B
>
>At 13:15 7/4/2008, you wrote:
>>Marcos,
>>
>>  abre a CLI dos dois servidores aumenta o verbose , faz a ligaçâo e
>>posta a saida da CLI
>>
>>abraço!
>>
>>2008/4/7, Marcos Dalcin <dalcin em tramontina.net>:
>> >
>> >
>> > > Galera não sei mais o que fazer
>> > >
>> > >
>> > > > Fiz um desenho para explicar o problema
>> > > >
>> > > >
>> > > > Quando o telefone 1A liga para um ramal da central B ok
>> > > > Quando o segundo telefone A ligar para um ramal do B a ligação não
>> > completa.
>> > > >
>> > > > Me parece que a desconexao acontece quando B vai enviar para a central
>> > PSTN
>> > > >
>> > >
>> >
>> >  Quando o sentido é de B para A Funciona
>> >
>> > _______________________________________________
>> >  Compre uma camiseta da AsteriskBrasil.org!
>> >             http://www.voipmania.com.br
>> >                 == VoIPMania.com.br ==
>> >
>> >  _______________________________________________
>> >  Lista de discussões AsteriskBrasil.org
>> >  AsteriskBrasil em listas.asteriskbrasil.org
>> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>> >
>> >
>>
>>
>>--
>>Felipe R. Pasa
>>Instrutor
>>
>>visite nosso site!!!!
>>http://www.voipexperts.com.br
>>_______________________________________________
>>Compre uma camiseta da AsteriskBrasil.org!
>>             http://www.voipmania.com.br
>>                 == VoIPMania.com.br ==
>>
>>_______________________________________________
>>Lista de discussões AsteriskBrasil.org
>>AsteriskBrasil em listas.asteriskbrasil.org
>>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
-------------- Próxima Parte ----------
LADO A

Primeira Chamada


    -- Starting simple switch on 'Zap/1-1'
    -- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
    -- Executing Set("Zap/1-1", "DID=s") in new stack
    -- Executing NoOp("Zap/1-1", "DID is now s") in new stack
    -- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
    -- Goto (from-zaptel,s,7)
    -- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
    -- Executing Set("Zap/1-1", "CHAN=1-1") in new stack
    -- Executing Set("Zap/1-1", "CHAN=1") in new stack
    -- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
    -- Executing NoOp("Zap/1-1", "Entering macro-from-zaptel-1 with DID = s") in new stack
    -- Executing Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
  == Channel 'Zap/1-1' jumping out of macro 'from-zaptel-1'
    -- Executing LookupBlacklist("Zap/1-1", "") in new stack
    -- Executing GotoIf("Zap/1-1", "0?blacklisted") in new stack
    -- Executing Return("Zap/1-1", "") in new stack
    -- Executing Set("Zap/1-1", "FROM_DID=s") in new stack
    -- Executing Goto("Zap/1-1", "disa|1|1") in new stack
    -- Goto (disa,1,1)
    -- Executing Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5
    -- Executing Set("Zap/1-1", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10
    -- Executing DISA("Zap/1-1", "no-password|from-internal") in new stack
    -- Executing Macro("Zap/1-1", "dialout-trunk|3|98032||") in new stack
    -- Executing GotoIf("Zap/1-1", "1?3:2") in new stack
    -- Goto (macro-dialout-trunk,s,3)
    -- Executing Macro("Zap/1-1", "user-callerid") in new stack
    -- Executing GotoIf("Zap/1-1", "0?report") in new stack
    -- Executing GotoIf("Zap/1-1", "0?start") in new stack
    -- Executing Set("Zap/1-1", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("Zap/1-1", "AMPUSER=") in new stack
    -- Executing Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("Zap/1-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,9)
    -- Executing NoOp("Zap/1-1", "Using CallerID "" <>") in new stack
    -- Executing Macro("Zap/1-1", "record-enable||OUT") in new stack
    -- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("Zap/1-1", "recordingcheck|20080407-151510|1207592103.337") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080407-151510|1207592103.337: No AMPUSER db entry for . Not recording
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("Zap/1-1", "No recording needed") in new stack
    -- Executing Macro("Zap/1-1", "outbound-callerid|3") in new stack
    -- Executing GotoIf("Zap/1-1", "0?start") in new stack
    -- Executing Set("Zap/1-1", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("Zap/1-1", "USEROUTCID=") in new stack
    -- Executing Set("Zap/1-1", "EMERGENCYCID=") in new stack
    -- Executing Set("Zap/1-1", "TRUNKOUTCID=") in new stack
    -- Executing GotoIf("Zap/1-1", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("Zap/1-1", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,13)
    -- Executing GotoIf("Zap/1-1", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing NoOp("Zap/1-1", "CallerID set to "" <>") in new stack
    -- Executing Set("Zap/1-1", "GROUP()=OUT_3") in new stack
    -- Executing GotoIf("Zap/1-1", "0?108") in new stack
    -- Executing Set("Zap/1-1", "DIAL_NUMBER=98032") in new stack
    -- Executing Set("Zap/1-1", "DIAL_TRUNK=3") in new stack
    -- Executing AGI("Zap/1-1", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("Zap/1-1", "OUTNUM=98032") in new stack
    -- Executing Set("Zap/1-1", "custom=IAX2/GAR-CB") in new stack
    -- Executing GotoIf("Zap/1-1", "0?16") in new stack
    -- Executing Dial("Zap/1-1", "IAX2/GAR-CB/98032|120|r") in new stack
    -- Called GAR-CB/98032
    -- Call accepted by 10.1.0.20 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/GAR-CB-2 is ringing
    -- IAX2/GAR-CB-2 answered Zap/1-1
voip-gar*CLI>

Segunda Chamada

    -- Starting simple switch on 'Zap/4-1'
    -- Executing NoOp("Zap/4-1", "Entering from-zaptel with DID == ") in new stack
    -- Executing Set("Zap/4-1", "DID=s") in new stack
    -- Executing NoOp("Zap/4-1", "DID is now s") in new stack
    -- Executing GotoIf("Zap/4-1", "1?zapok:notzap") in new stack
    -- Goto (from-zaptel,s,7)
    -- Executing NoOp("Zap/4-1", "Is a Zaptel Channel") in new stack
    -- Executing Set("Zap/4-1", "CHAN=4-1") in new stack
    -- Executing Set("Zap/4-1", "CHAN=4") in new stack
    -- Executing Macro("Zap/4-1", "from-zaptel-4|s|1") in new stack
    -- Executing NoOp("Zap/4-1", "Returned from Macro from-zaptel-4") in new stack
    -- Executing Goto("Zap/4-1", "ext-did|s|1") in new stack
    -- Goto (ext-did,s,1)
    -- Executing Set("Zap/4-1", "FROM_DID=s") in new stack
    -- Executing Gosub("Zap/4-1", "app-blacklist-check|s|1") in new stack
    -- Executing LookupBlacklist("Zap/4-1", "") in new stack
    -- Executing GotoIf("Zap/4-1", "0?blacklisted") in new stack
    -- Executing Return("Zap/4-1", "") in new stack
    -- Executing Goto("Zap/4-1", "disa|1|1") in new stack
    -- Goto (disa,1,1)
    -- Executing Set("Zap/4-1", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5
    -- Executing Set("Zap/4-1", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10
    -- Executing DISA("Zap/4-1", "no-password|from-internal") in new stack
    -- Executing Macro("Zap/4-1", "dialout-trunk|3|98035||") in new stack
    -- Executing GotoIf("Zap/4-1", "1?3:2") in new stack
    -- Goto (macro-dialout-trunk,s,3)
    -- Executing Macro("Zap/4-1", "user-callerid") in new stack
    -- Executing GotoIf("Zap/4-1", "0?report") in new stack
    -- Executing GotoIf("Zap/4-1", "0?start") in new stack
    -- Executing Set("Zap/4-1", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("Zap/4-1", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("Zap/4-1", "AMPUSER=") in new stack
    -- Executing Set("Zap/4-1", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("Zap/4-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,9)
    -- Executing NoOp("Zap/4-1", "Using CallerID "" <>") in new stack
    -- Executing Macro("Zap/4-1", "record-enable||OUT") in new stack
    -- Executing GotoIf("Zap/4-1", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("Zap/4-1", "recordingcheck|20080407-151528|1207592120.339") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080407-151528|1207592120.339: No AMPUSER db entry for . Not recording
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("Zap/4-1", "No recording needed") in new stack
    -- Executing Macro("Zap/4-1", "outbound-callerid|3") in new stack
    -- Executing GotoIf("Zap/4-1", "0?start") in new stack
    -- Executing Set("Zap/4-1", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("Zap/4-1", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("Zap/4-1", "USEROUTCID=") in new stack
    -- Executing Set("Zap/4-1", "EMERGENCYCID=") in new stack
    -- Executing Set("Zap/4-1", "TRUNKOUTCID=") in new stack
    -- Executing GotoIf("Zap/4-1", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("Zap/4-1", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,13)
    -- Executing GotoIf("Zap/4-1", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing NoOp("Zap/4-1", "CallerID set to "" <>") in new stack
    -- Executing Set("Zap/4-1", "GROUP()=OUT_3") in new stack
    -- Executing GotoIf("Zap/4-1", "0?108") in new stack
    -- Executing Set("Zap/4-1", "DIAL_NUMBER=98035") in new stack
    -- Executing Set("Zap/4-1", "DIAL_TRUNK=3") in new stack
    -- Executing AGI("Zap/4-1", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("Zap/4-1", "OUTNUM=98035") in new stack
    -- Executing Set("Zap/4-1", "custom=IAX2/GAR-CB") in new stack
    -- Executing GotoIf("Zap/4-1", "0?16") in new stack
    -- Executing Dial("Zap/4-1", "IAX2/GAR-CB/98035|120|r") in new stack
    -- Called GAR-CB/98035
    -- Call accepted by 10.1.0.20 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/GAR-CB-8 is ringing
    -- IAX2/GAR-CB-8 answered Zap/4-1
voip-gar*CLI>





Lado B

Primeira Chamada

    asterisk1*CLI>
    -- Accepting UNAUTHENTICATED call from 10.1.10.20:
       > requested format = gsm,
       > requested prefs = (ulaw|alaw|gsm),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing Macro("IAX2/GAR-3", "dialout-trunk|2|8032||") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "1?3:2") in new stack
    -- Goto (macro-dialout-trunk,s,3)
    -- Executing Macro("IAX2/GAR-3", "user-callerid") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0?report") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0?start") in new stack
    -- Executing Set("IAX2/GAR-3", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("IAX2/GAR-3", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("IAX2/GAR-3", "AMPUSER=") in new stack
    -- Executing Set("IAX2/GAR-3", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "1?report") in new stack
    -- Goto (macro-user-callerid,s,9)
    -- Executing NoOp("IAX2/GAR-3", "Using CallerID "" <>") in new stack
    -- Executing Macro("IAX2/GAR-3", "record-enable||OUT") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("IAX2/GAR-3", "recordingcheck|20080407-152647|1207592807.101") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080407-152647|1207592807.101: No AMPUSER db entry for . Not recording
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("IAX2/GAR-3", "No recording needed") in new stack
    -- Executing Macro("IAX2/GAR-3", "outbound-callerid|2") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0?start") in new stack
    -- Executing Set("IAX2/GAR-3", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("IAX2/GAR-3", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("IAX2/GAR-3", "USEROUTCID=") in new stack
    -- Executing Set("IAX2/GAR-3", "EMERGENCYCID=") in new stack
    -- Executing Set("IAX2/GAR-3", "TRUNKOUTCID=1") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("IAX2/GAR-3", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,13)
    -- Executing GotoIf("IAX2/GAR-3", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing NoOp("IAX2/GAR-3", "CallerID set to "" <>") in new stack
    -- Executing Set("IAX2/GAR-3", "GROUP()=OUT_2") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0?108") in new stack
    -- Executing Set("IAX2/GAR-3", "DIAL_NUMBER=8032") in new stack
    -- Executing Set("IAX2/GAR-3", "DIAL_TRUNK=2") in new stack
    -- Executing AGI("IAX2/GAR-3", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("IAX2/GAR-3", "OUTNUM=8032") in new stack
    -- Executing Set("IAX2/GAR-3", "custom=ZAP/g0") in new stack
    -- Executing GotoIf("IAX2/GAR-3", "0?16") in new stack
    -- Executing Dial("IAX2/GAR-3", "ZAP/g0/8032|120|r") in new stack
    -- Called g0/8032
asterisk1*CLI>
    -- Zap/1-1 answered IAX2/GAR-3


Segunda chamada

    -- Accepting UNAUTHENTICATED call from 10.1.10.20:
       > requested format = gsm,
       > requested prefs = (ulaw|alaw|gsm),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing Macro("IAX2/GAR-7", "dialout-trunk|2|8035||") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "1?3:2") in new stack
    -- Goto (macro-dialout-trunk,s,3)
    -- Executing Macro("IAX2/GAR-7", "user-callerid") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0?report") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0?start") in new stack
    -- Executing Set("IAX2/GAR-7", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("IAX2/GAR-7", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("IAX2/GAR-7", "AMPUSER=") in new stack
    -- Executing Set("IAX2/GAR-7", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "1?report") in new stack
    -- Goto (macro-user-callerid,s,9)
    -- Executing NoOp("IAX2/GAR-7", "Using CallerID "" <>") in new stack
    -- Executing Macro("IAX2/GAR-7", "record-enable||OUT") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("IAX2/GAR-7", "recordingcheck|20080407-152703|1207592823.103") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080407-152703|1207592823.103: No AMPUSER db entry for . Not recording
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("IAX2/GAR-7", "No recording needed") in new stack
    -- Executing Macro("IAX2/GAR-7", "outbound-callerid|2") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0?start") in new stack
    -- Executing Set("IAX2/GAR-7", "REALCALLERIDNUM=") in new stack
    -- Executing NoOp("IAX2/GAR-7", "REALCALLERIDNUM is ") in new stack
    -- Executing Set("IAX2/GAR-7", "USEROUTCID=") in new stack
    -- Executing Set("IAX2/GAR-7", "EMERGENCYCID=") in new stack
    -- Executing Set("IAX2/GAR-7", "TRUNKOUTCID=1") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("IAX2/GAR-7", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,13)
    -- Executing GotoIf("IAX2/GAR-7", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing NoOp("IAX2/GAR-7", "CallerID set to "" <>") in new stack
    -- Executing Set("IAX2/GAR-7", "GROUP()=OUT_2") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0?108") in new stack
    -- Executing Set("IAX2/GAR-7", "DIAL_NUMBER=8035") in new stack
    -- Executing Set("IAX2/GAR-7", "DIAL_TRUNK=2") in new stack
    -- Executing AGI("IAX2/GAR-7", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("IAX2/GAR-7", "OUTNUM=8035") in new stack
    -- Executing Set("IAX2/GAR-7", "custom=ZAP/g0") in new stack
    -- Executing GotoIf("IAX2/GAR-7", "0?16") in new stack
    -- Executing Dial("IAX2/GAR-7", "ZAP/g0/8035|120|r") in new stack
    -- Called g0/8035
    -- Zap/2-1 answered IAX2/GAR-7
asterisk1*CLI>


More information about the AsteriskBrasil mailing list