[AsteriskBrasil] Disparo de voz - Newfies
Alex Sander
sanderdabio em globo.com
Segunda Dezembro 3 10:57:21 BRST 2012
Pessoal,
Instalei o newfies e estou configurando seguindo o tutorial do Myke Tesliuk
(abri um novo tópico, pois o outro era referente a instalação), no entanto
as chamadas não estão batendo no asterisk, não conheço freeswitch e sei que
esta é uma boa oportunidade para aprender sobre ele, mas preciso ajustar
isso num cliente de modo que as chamadas saem, segue em anexo o debug no
freeswich... Não precisa ajustar nada no dialplan?
Desde já agradeço.
Att,
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20121203/51e3bf7c/attachment-0001.htm
-------------- Próxima Parte ----------
| \_/\_/ \_/\_/ \_/\_/ (_) \___|_|\__,_|\___|\___\___/|_| |_| (_) \ ___\___/|_| |_| |_| |
| |
.=============================================================================== =========================.
Type /help <enter> to see a list of commands
+OK log level [7]
freeswitch em internal> sofia profile external restart
Reload XML [Success]
restarting: external
2012-12-01 18:33:26.282366 [INFO] mod_enum.c:871 ENUM Reloaded
2012-12-01 18:33:26.297498 [INFO] switch_time.c:1163 Timezone reloaded 530 defin itions
2012-12-01 18:33:26.861659 [NOTICE] sofia.c:2651 Waiting for worker thread
2012-12-01 18:33:26.916884 [DEBUG] sofia.c:2704 Write lock external
2012-12-01 18:33:26.937752 [NOTICE] sofia_glue.c:5764 deleted gateway example.co m from profile external
2012-12-01 18:33:26.937752 [NOTICE] sofia_glue.c:5764 deleted gateway asterisk f rom profile external
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:2716 Write unlock external
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 debug [0]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 sip-trace [no]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 sip-capture [no]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 rfc2833-pt [101]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 sip-port [5080]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 dialplan [XML]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 context [public]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 dtmf-duration [2000]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 inbound-codec-prefs [G722,PCMU,P CMA,GSM]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 outbound-codec-prefs [PCMU,PCMA, GSM]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 hold-music [local_stream://moh]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 rtp-timer-name [soft]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 local-network-acl [localnet.auto ]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 manage-presence [false]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 inbound-codec-negotiation [gener ous]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 nonce-ttl [60]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 auth-calls [false]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 inbound-late-negotiation [true]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 inbound-zrtp-passthru [true]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 rtp-ip [192.168.0.35]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 sip-ip [192.168.0.35]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 ext-rtp-ip [auto-nat]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 ext-sip-ip [auto-nat]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 rtp-timeout-sec [300]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 rtp-hold-timeout-sec [1800]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls [false]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-only [false]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-bind-params [transport=tls]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-sip-port [5081]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-cert-dir [/usr/local/freeswi tch/conf/ssl]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-passphrase []
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-verify-date [true]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-verify-policy [none]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-verify-depth [2]
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-verify-in-subjects []
2012-12-01 18:33:26.937752 [DEBUG] sofia.c:4396 tls-version [tlsv1]
2012-12-01 18:33:26.937752 [NOTICE] sofia.c:5381 Started Profile external [sofia _reg_external]
2012-12-01 18:33:26.973772 [DEBUG] sofia.c:2413 Creating agent for external
2012-12-01 18:33:27.438852 [DEBUG] sofia.c:2500 Created agent for external
2012-12-01 18:33:27.438852 [DEBUG] sofia.c:2542 Set params for external
2012-12-01 18:33:27.438852 [DEBUG] sofia.c:2585 Activated db for external
2012-12-01 18:33:27.438852 [DEBUG] sofia.c:2608 Starting thread for external
2012-12-01 18:33:27.438852 [DEBUG] sofia.c:2314 Launching worker thread for exte rnal
2012-12-01 18:33:27.438852 [NOTICE] sofia_reg.c:2954 Added gateway 'asterisk' to profile 'external'
2012-12-01 18:33:27.438852 [NOTICE] sofia_reg.c:2954 Added gateway 'example.com' to profile 'external'
2012-12-01 18:36:11.596123 [DEBUG] switch_ivr_originate.c:2005 Parsing global va riables
2012-12-01 18:36:11.616902 [DEBUG] switch_event.c:1569 Parsing variable [plivo_r equest_uuid]=[be4a37f4-3bf6-11e2-91c9-080027de3ceb]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [plivo_a nswer_url]=[http://192.168.0.35:8008/api/v1/answercall/]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [plivo_h angup_url]=[http://192.168.0.35:8008/api/v1/hangupcall/]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [origina tion_caller_id_number]=[8888888888]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [bridge_ early_media]=[true]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [hangup_ after_bridge]=[true]
2012-12-01 18:36:11.638251 [DEBUG] switch_event.c:1569 Parsing variable [plivo_f rom]=[8888888888]
2012-12-01 18:36:11.656585 [DEBUG] switch_event.c:1569 Parsing variable [plivo_t o]=[021037070]
2012-12-01 18:36:11.676202 [DEBUG] switch_event.c:1569 Parsing variable [plivo_a pp]=[true]
2012-12-01 18:36:11.756412 [DEBUG] switch_event.c:1569 Parsing variable [absolut e_codec_string]=[PCMU]
2012-12-01 18:36:11.804861 [DEBUG] switch_event.c:1569 Parsing variable [origina te_timeout]=[1800]
2012-12-01 18:36:11.804861 [DEBUG] switch_event.c:1569 Parsing variable [ignore_ early_media]=[true]
2012-12-01 18:36:11.936138 [NOTICE] switch_channel.c:951 New Channel sofia/exter nal/021037070 &socket(127.0.0.1:8084 [be8dbf7e-3bf6-11e2-bcf9-7b6bd319743a]
2012-12-01 18:36:11.956475 [DEBUG] mod_sofia.c:4879 (sofia/external/021037070 &s ocket(127.0.0.1:8084) State Change CS_NEW -> CS_INIT
2012-12-01 18:36:11.956475 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:12.018034 [DEBUG] switch_core_state_machine.c:398 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_INIT
2012-12-01 18:36:12.018034 [DEBUG] switch_core_state_machine.c:437 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State INIT
2012-12-01 18:36:12.057631 [DEBUG] mod_sofia.c:86 sofia/external/021037070 &sock et(127.0.0.1:8084 SOFIA INIT
2012-12-01 18:36:12.057631 [DEBUG] sofia_glue.c:2637 Local SDP:
v=0
o=FreeSWITCH 1354369186 1354369187 IN IP4 192.168.0.35
s=FreeSWITCH
c=IN IP4 192.168.0.35
t=0 0
m=audio 24986 RTP/AVP 0 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2012-12-01 18:36:12.076715 [DEBUG] switch_core_session.c:905 Send signal sofia/e xternal/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:12.096333 [DEBUG] mod_sofia.c:126 (sofia/external/021037070 &so cket(127.0.0.1:8084) State Change CS_INIT -> CS_ROUTING
2012-12-01 18:36:12.096333 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:12.096333 [DEBUG] switch_core_state_machine.c:437 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State INIT going to sleep
2012-12-01 18:36:12.136474 [DEBUG] switch_core_state_machine.c:398 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_ROUTING
2012-12-01 18:36:12.136474 [DEBUG] switch_channel.c:1964 (sofia/external/0210370 70 &socket(127.0.0.1:8084) Callstate Change DOWN -> RINGING
2012-12-01 18:36:12.176790 [DEBUG] switch_core_state_machine.c:446 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State ROUTING
2012-12-01 18:36:12.176790 [DEBUG] mod_sofia.c:149 sofia/external/021037070 &soc ket(127.0.0.1:8084 SOFIA ROUTING
2012-12-01 18:36:12.176790 [DEBUG] switch_ivr_originate.c:67 (sofia/external/021 037070 &socket(127.0.0.1:8084) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2012-12-01 18:36:12.176790 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:12.196886 [DEBUG] switch_core_state_machine.c:446 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State ROUTING going to sleep
2012-12-01 18:36:12.196886 [DEBUG] switch_core_state_machine.c:398 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_CONSUME_MEDIA
2012-12-01 18:36:12.237841 [DEBUG] switch_core_state_machine.c:465 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State CONSUME_MEDIA
2012-12-01 18:36:12.237841 [DEBUG] switch_core_state_machine.c:465 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State CONSUME_MEDIA going to sleep
2012-12-01 18:36:12.257211 [DEBUG] sofia.c:6282 Channel sofia/external/021037070 &socket(127.0.0.1:8084 entering state [calling][0]
2012-12-01 18:36:44.098010 [DEBUG] switch_core_session.c:905 Send signal sofia/e xternal/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.098010 [DEBUG] switch_core_session.c:905 Send signal sofia/e xternal/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.098010 [DEBUG] switch_core_session.c:905 Send signal sofia/e xternal/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.098010 [DEBUG] sofia.c:6282 Channel sofia/external/021037070 &socket(127.0.0.1:8084 entering state [terminated][408]
2012-12-01 18:36:44.098010 [DEBUG] switch_channel.c:2950 (sofia/external/0210370 70 &socket(127.0.0.1:8084) Callstate Change RINGING -> HANGUP
2012-12-01 18:36:44.098010 [NOTICE] sofia.c:7082 Hangup sofia/external/021037070 &socket(127.0.0.1:8084 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
2012-12-01 18:36:44.098010 [DEBUG] switch_ivr_originate.c:3508 Originate Resulte d in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
2012-12-01 18:36:44.155067 [DEBUG] switch_channel.c:2973 Send signal sofia/exter nal/021037070 &socket(127.0.0.1:8084 [KILL]
2012-12-01 18:36:44.302134 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.325244 [DEBUG] switch_core_state_machine.c:398 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_HANGUP
2012-12-01 18:36:44.341439 [DEBUG] switch_core_state_machine.c:638 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State HANGUP
2012-12-01 18:36:44.439174 [DEBUG] mod_sofia.c:483 Channel sofia/external/021037 070 &socket(127.0.0.1:8084 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
2012-12-01 18:36:44.469312 [DEBUG] switch_core_state_machine.c:48 sofia/external /021037070 &socket(127.0.0.1:8084 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPI RE
2012-12-01 18:36:44.489657 [DEBUG] switch_core_state_machine.c:638 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State HANGUP going to sleep
2012-12-01 18:36:44.489657 [DEBUG] switch_core_state_machine.c:429 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State Change CS_HANGUP -> CS_REPORTING
2012-12-01 18:36:44.516202 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.516202 [DEBUG] switch_core_state_machine.c:398 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_REPORTING
2012-12-01 18:36:44.614379 [DEBUG] switch_core_state_machine.c:703 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State REPORTING
2012-12-01 18:36:44.644986 [DEBUG] switch_core_state_machine.c:92 sofia/external /021037070 &socket(127.0.0.1:8084 Standard REPORTING, cause: RECOVERY_ON_TIMER_E XPIRE
2012-12-01 18:36:44.657267 [DEBUG] switch_core_state_machine.c:703 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State REPORTING going to sleep
2012-12-01 18:36:44.699876 [DEBUG] switch_core_state_machine.c:423 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State Change CS_REPORTING -> CS_DESTROY
2012-12-01 18:36:44.756484 [DEBUG] switch_core_session.c:1210 Send signal sofia/ external/021037070 &socket(127.0.0.1:8084 [BREAK]
2012-12-01 18:36:44.756484 [DEBUG] switch_core_session.c:1415 Session 10 (sofia/ external/021037070 &socket(127.0.0.1:8084) Locked, Waiting on external entities
2012-12-01 18:36:44.796364 [NOTICE] switch_core_session.c:1433 Session 10 (sofia /external/021037070 &socket(127.0.0.1:8084) Ended
2012-12-01 18:36:44.796364 [NOTICE] switch_core_session.c:1437 Close Channel sof ia/external/021037070 &socket(127.0.0.1:8084 [CS_DESTROY]
2012-12-01 18:36:44.880340 [DEBUG] switch_core_state_machine.c:527 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Callstate Change HANGUP -> DOWN
2012-12-01 18:36:44.953215 [DEBUG] switch_core_state_machine.c:530 (sofia/extern al/021037070 &socket(127.0.0.1:8084) Running State Change CS_DESTROY
2012-12-01 18:36:44.980769 [DEBUG] switch_core_state_machine.c:540 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State DESTROY
2012-12-01 18:36:44.980769 [DEBUG] mod_sofia.c:376 sofia/external/021037070 &soc ket(127.0.0.1:8084 SOFIA DESTROY
2012-12-01 18:36:44.980769 [DEBUG] switch_core_state_machine.c:99 sofia/external /021037070 &socket(127.0.0.1:8084 Standard DESTROY
2012-12-01 18:36:45.053147 [DEBUG] switch_core_state_machine.c:540 (sofia/extern al/021037070 &socket(127.0.0.1:8084) State DESTROY going to sleep
freeswitch em internal>
Mais detalhes sobre a lista de discussão AsteriskBrasil