Hi,
Dailout using .call files - does not wait for answer.
Please help me to resolve this.
Thanks
Hi,
Dailout using .call files - does not wait for answer.
Please help me to resolve this.
Thanks
What steps are you doing to create the .call file.
Dont create the .call file in the /outgoing folder. Create it in another directory first, then move (mv) the file to the outgoing folder.
Hi,
Yes have done like that only
I have created file in /tmp folder and moved to outgoing and below is my call file
Channel: SIP/2@toEPABX
MaxRetries: 2
RetryTime: 30
WaitTime: 45
Context: dialout-test
Extension: 10
Archive: yes
it dosent wait for answer, call will be automatically answered.
is extension 2 actually ringing?
yes, it is ringing
post the log output of the call, that’ll help tell us whats wrong.
Hi,
freepbx*CLI>
[2017-09-08 11:45:02] WARNING[1908]: pbx_spool.c:317 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/test.call: Operation not permitted
-- Attempting call on SIP/2@toEPABX for 10@dialout-test:1 (Retry 1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/toEPABX-0000001b was answered
-- Executing [10@dialout-test:1] Wait("SIP/toEPABX-0000001b", "10") in new stack
> 0x767102c0 -- Probation passed - setting RTP source address to 30.30.30.8:5012
-- Executing [10@dialout-test:2] Playback("SIP/toEPABX-0000001b", "hello-world") in new stack
-- <SIP/toEPABX-0000001b> Playing 'hello-world.ulaw' (language 'en')
-- Executing [10@dialout-test:3] Read("SIP/toEPABX-0000001b", "number,custom/myfile,,10") in new stack
-- <SIP/toEPABX-0000001b> Playing 'custom/checkout.slin' (language 'en')
-- User entered '56'
-- Executing [10@dialout-test:4] Playback("SIP/toEPABX-0000001b", ""custom/you-have-entered"") in new stack
-- <SIP/toEPABX-0000001b> Playing 'custom/you-have-entered.slin' (language 'en')
-- Executing [10@dialout-test:5] SayDigits("SIP/toEPABX-0000001b", "56") in new stack
-- <SIP/toEPABX-0000001b> Playing 'digits/5.ulaw' (language 'en')
-- <SIP/toEPABX-0000001b> Playing 'digits/6.ulaw' (language 'en')
-- Executing [10@dialout-test:6] Wait("SIP/toEPABX-0000001b", "1") in new stack
-- Executing [10@dialout-test:7] Hangup("SIP/toEPABX-0000001b", "") in new stack
== Spawn extension (dialout-test, 10, 7) exited non-zero on 'SIP/toEPABX-0000001b'
[2017-09-08 11:45:31] NOTICE[12148]: pbx_spool.c:427 attempt_thread: Call completed to SIP/2@toEPABX
freepbx*CLI>
Interesting, it seems like its working!
safe_append: Unable to set utime on /var/spool/asterisk/outgoing/test.call: Operation not permitted
Did you chown the file asterisk:asterisk
yes, i have changed
Only thing it dosent wait wait for answer
Your console output clearly shows the channel answering:
Channel SIP/toEPABX-0000001b was answered
Please guide me, how to stop auto answer call
Sorry, but without a lot more information, this is going to end up being a waste of time for us.
We have no way of knowing what the remote extension is, or why it’s auto-answering. It could be something as simple as FAX detection is turned on or it could be something buried deep in the guts of the answering device. You need to type more and expect us to do the work less. This is a community forum, not [aid tech support. Help us help you by being more engaged and telling us more details so that we can do this without spending a lot of time asking for more information.