Page 1 of 1

AutoDial Hangup

PostPosted: Mon Oct 16, 2006 7:41 am
by erwan
Hi,

I've got$ a problem with AutoDial, when i try to use autodial, it ring on phone i try to call and when it answer, it never transfer to the softphone, it hang up.

I try with silence.gsm like in mantis

For out going call i use siptrunk

the output of CLI:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/910472523311@default-4db6,2", "call_log.agi|910472523311") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/910472523311@default-4db6,2", "SIP/freephonie/0472523311|55|tTor") in new stack
-- Called freephonie/0472523311
-- SIP/freephonie-08200248 is ringing
-- SIP/freephonie-08200248 is making progress passing it to Local/910472523311@default-4db6,2
-- SIP/freephonie-08200248 answered Local/910472523311@default-4db6,2
> Channel Local/910472523311@default-4db6,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/910472523311@default-4db6,1", "call_log.agi|8366") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing AGI("Local/910472523311@default-4db6,1", "agi-VDADtransferSURVEY.agi|8366") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransferSURVEY.agi
-- AGI Script agi-VDADtransferSURVEY.agi completed, returning 0
-- Executing AGI("Local/910472523311@default-4db6,1", "agi-VDADtransferSURVEY.agi|8366") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransferSURVEY.agi
-- AGI Script agi-VDADtransferSURVEY.agi completed, returning 0
-- Executing AGI("Local/910472523311@default-4db6,1", "agi-VDADtransferSURVEY.agi|8366") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransferSURVEY.agi
-- AGI Script agi-VDADtransferSURVEY.agi completed, returning 0
-- Executing Hangup("Local/910472523311@default-4db6,1", "") in new stack
== Spawn extension (default, 8366, 5) exited non-zero on 'Local/910472523311@default-4db6,1'
-- Executing DeadAGI("Local/910472523311@default-4db6,1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/910472523311@default-4db6,1", "VD_hangup.agi|PRI-----NODEBUG-----16---------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
== Spawn extension (default, 910472523311, 2) exited non-zero on 'Local/910472523311@default-4db6,2'
-- Executing DeadAGI("Local/910472523311@default-4db6,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/910472523311@default-4db6,2", "VD_hangup.agi|PRI-----NODEBUG-----16-----ANSWER-----6-----3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0

Thanks for your help

PostPosted: Mon Oct 16, 2006 8:23 am
by erwan
I found the problem .

I've got to problem:

The first one is to register the SIP trunk with my provider.
I put in sip.conf

defaultexpirey = 1800


and i apply in 8365 extension the file silence.gsm

And now it work fine