survivant
07/11/2010, 23h07
J'ai trouvé comment faire des appels automatiques à partir des call files.
Channel: SIP/1001
MaxRetries: 1
RetryTime: 10
WaitTime: 10
Context: Interne
Extension: 1001
Priority: 1
Account: 1001
extensions.conf
exten => XXXX,1,Log(NOTICE, Incoming call from ${CALLERID(all)})
exten = _XXXX,n,Dial(SIP/${EXTEN},50)
exten = _XXXX,n,Hangup()
En gros.. je recois l'appel, mais ca coupe tout de suite après.
je vois ceci dans mes logs
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
> Channel SIP/1001-0000000c was answered.
== Starting SIP/1001-0000000c at Interne,1001,1 failed so falling back to exten 's'
== Starting SIP/1001-0000000c at Interne,s,1 still failed so falling back to context 'default'
[Nov 7 09:19:22] WARNING[10554]: pbx.c:4784 __ast_pbx_run: Channel 'SIP/1001-0000000c' sent into invalid extension 's' in context 'default', but no invalid handler
[Nov 7 09:19:22] NOTICE[10554]: pbx_spool.c:362 attempt_thread: Call completed to SIP/1001
Convaincu que c'est un dialplan pas bon. Où est mon erreur ?
Channel: SIP/1001
MaxRetries: 1
RetryTime: 10
WaitTime: 10
Context: Interne
Extension: 1001
Priority: 1
Account: 1001
extensions.conf
exten => XXXX,1,Log(NOTICE, Incoming call from ${CALLERID(all)})
exten = _XXXX,n,Dial(SIP/${EXTEN},50)
exten = _XXXX,n,Hangup()
En gros.. je recois l'appel, mais ca coupe tout de suite après.
je vois ceci dans mes logs
== Using UDPTL CoS mark 5
== Using SIP RTP CoS mark 5
> Channel SIP/1001-0000000c was answered.
== Starting SIP/1001-0000000c at Interne,1001,1 failed so falling back to exten 's'
== Starting SIP/1001-0000000c at Interne,s,1 still failed so falling back to context 'default'
[Nov 7 09:19:22] WARNING[10554]: pbx.c:4784 __ast_pbx_run: Channel 'SIP/1001-0000000c' sent into invalid extension 's' in context 'default', but no invalid handler
[Nov 7 09:19:22] NOTICE[10554]: pbx_spool.c:362 attempt_thread: Call completed to SIP/1001
Convaincu que c'est un dialplan pas bon. Où est mon erreur ?