-
Je ne comprends pas pour quoi j'ai ca :
[2014-06-04 09:02:10] WARNING[20486]: pbx_spool.c:309 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/test_v7.call: Operation not permitted
Alors qu'avant de déplacer le fichier dans outgoing je fais la commande chmod -R 777 test_vX.call à chaque fois, je croyais que ca permettait de donner tout les droits sur le fichier en question ?
autre chose :
[2014-06-04 09:02:10] WARNING[20467][C-00000022]: chan_sip.c:23107 handle_response_invite: Received response: "Forbidden" from '"Unknown" <sip:0980487667@freephonie.net>;tag=as5a9a70c6'
je ne comprends pas ce qui est "interdit" ....
-
autre chose, j'ai changé le channel, en modifiant le numéro 00240XXXXXX par 1001 (un contexte que j'avais créer pour tester la ligne avec 1002) et voici le log quand je le lance :
[2014-06-04 16:05:58] WARNING[20486]: pbx_spool.c:309 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/test_v8.call: Operation not permitted
-- Attempting call on SIP/freephonie/1001 for s@test:1 (Retry 1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/freephonie-00000030 was answered
[2014-06-04 16:05:59] WARNING[19987][C-00000035]: pbx.c:6640 __ast_pbx_run: Channel 'SIP/freephonie-00000030' sent to invalid extension but no invalid handler: context,exten,priority=test,s,1
[2014-06-04 16:05:59] NOTICE[19987]: pbx_spool.c:402 attempt_thread: Call completed to SIP/freephonie/1001
Donc apparement il n'arrive toujours pas à l’écrire ... sinon les erreurs sont différentes , apparemment il n'aime pas ma première action dans le context test.
Je viens de voir :
> Channel SIP/freephonie-00000030 was answered
Donc l'appel a fonctionné ? pourtant pas entendu mon softphone sonné ...
-
ssaie en mettant: Channel: SIP/freephonie/02...
(un seul zero au début du numéro)
-
désolé j'ai acces à asterisk que de 8h30 à 17h, et sinon j'ai deja utilisé avec un seul 0 je crois , mais de toute facon le problème n'est pas que la , on dirait qu'il trouve pas mon extension [test] :
[2014-06-04 16:05:59] WARNING[19987][C-00000035]: pbx.c:6640 __ast_pbx_run: Channel 'SIP/freephonie-00000030' sent to invalid extension but no invalid handler: context,exten,priority=test,s,1
Et je ne comprends pas cette ligne :
[2014-06-04 16:05:59] NOTICE[19987]: pbx_spool.c:402 attempt_thread: Call completed to SIP/freephonie/1001
-
essaie depuis la console
dialplan show test
puis dialplan show
-
donc apres ces 2 commandes je fais quoi ? les commandes chmode puis mv ?
-
2 pièce(s) jointe(s)
Bonjour,
Une fois sur la console j'ai tappé "dialplan show test" et voici le résultat :
Pièce jointe 387
Après j'ai tappé "dialplan show" et ca a fait apparaitre tout les contextes que j'ai mis dans le fichier "dialplan show.zip" en pièce jointe. mais je n'ai pas trouvé mon extension, ca pourrait expliquer le message d'erreur
-
:DDDDDDDDDDDDDDD
j'ai fait un appel avec un seul 0 et ca a appelé !!!! mais le truc c'est que ca raccroche direct donc il ne trouve pas mon [test]
-
voici ce que me dis asterisk lorsque j'ai fait mon premier appel (j'en ai fait 2 pour être sur que c’était moi qui avait lancé l'appel ^^') :
[2014-06-05 09:12:20] WARNING[20451]: res_odbc.c:1412 _ast_odbc_request_obj2: SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.1 Driver]MySQL server has gone away
[2014-06-05 09:12:20] WARNING[20451]: res_odbc.c:646 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 08S01: [MySQL][ODBC 5.1 Driver][mysqld-5.1.73]MySQL server has gone away (65)
[2014-06-05 09:12:20] WARNING[20451]: res_odbc.c:658 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asteriskcdrdb [MySQL-asteriskcdrdb]...
[2014-06-05 09:12:20] WARNING[20451]: res_odbc.c:762 ast_odbc_sanity_check: Connection is down attempting to reconnect...
[2014-06-05 09:12:20] NOTICE[20451]: res_odbc.c:1537 odbc_obj_connect: Connecting asteriskcdrdb
[2014-06-05 09:12:20] NOTICE[20451]: res_odbc.c:1569 odbc_obj_connect: res_odbc: Connected to asteriskcdrdb [MySQL-asteriskcdrdb]
> Channel SIP/freephonie-00000038 was answered
[2014-06-05 09:12:35] WARNING[5926][C-0000003d]: pbx.c:6640 __ast_pbx_run: Channel 'SIP/freephonie-00000038' sent to invalid extension but no invalid handler: context,exten,priority=test,s,1
J'avais pas encore vu ces erreurs là depuis mes tests
-
bon juste pour te dire que j'ai pas trop avancé, mais en faisant "sip reload" dans le CLI voila ce que j'ai :
localhost*CLI> sip reload
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/sip_general_additional.conf': Found
== Parsing '/etc/asterisk/sip_general_custom.conf': Found
== Parsing '/etc/asterisk/sip_nat.conf': Found
== Parsing '/etc/asterisk/sip_registrations_custom.conf': Found
== Parsing '/etc/asterisk/sip_registrations.conf': Found
== Parsing '/etc/asterisk/sip_custom.conf': Found
== Parsing '/etc/asterisk/sip_additional.conf': Found
== Parsing '/etc/asterisk/sip_custom_post.conf': Found
-- Added extension 'auto_hint_1001' priority -1 to from-internal
-- Added extension 'auto_hint_1002' priority -1 to from-internal
-- Remove dpma_message_context/proxy/1, registrar=digium_phone_module; con=dpma_message_context(0xb5dd9e80); con->root=0xb7631760
-- Added extension 'proxy' priority 1 to dpma_message_context
[2014-06-05 11:09:57] ERROR[20467]: phone_message.c:1645 build_dialplan_routing: Unable to build dialplan routing - invalid license
[2014-06-05 11:09:57] ERROR[20467]: phone_users.c:4051 process_message_config: accept_outofcall_message must be enabled in sip.conf for res_digium_phone to function properly
== Using SIP TOS bits 96
== Using SIP CoS mark 4
[2014-06-05 11:09:57] WARNING[20467]: sip/config_parser.c:812 sip_parse_nat_option: nat=yes is deprecated, use nat=force_rport,comedia instead
== Parsing '/etc/asterisk/sip_notify.conf': Found
== Parsing '/etc/asterisk/sip_notify_custom.conf': Found
== Parsing '/etc/asterisk/sip_notify_additional.conf': Found
[2014-06-05 11:09:58] WARNING[20467]: chan_sip.c:23507 handle_response_register: Got 423 Interval too brief for service 0980487667@freephonie.net, minimum is 1800 seconds
est ce que mes problèmes seraient liés à ca ?