@ mjohn425
Thanks for your Response. I have set the dial method to Inbound_man.
i have get this output. I am using the GSM Gateway and i have set the dial plan as below,
Connected to Asterisk 13.29.2-vici currently running on vicibox9 (pid = 13676)
[Mar 27 17:01:43] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:01:43] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:01:43] -- Called 58600053@default
[Mar 27 17:01:43] -- Executing [58600053@default:1] MeetMe("Local/58600053@default-000000b3;2", "8600053,Fmq") in new stack
[Mar 27 17:01:43] -- Local/58600053@default-000000b3;1 answered
[Mar 27 17:01:43] -- Executing [8309@default:1] Answer("Local/58600053@default-000000b3;1", "") in new stack
[Mar 27 17:01:43] -- Executing [8309@default:2] Monitor("Local/58600053@default-000000b3;1", "wav,_1104_20210327-170143") in new stack
[Mar 27 17:01:43] -- Executing [8309@default:3] Wait("Local/58600053@default-000000b3;1", "60000") in new stack
[Mar 27 17:01:44] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:01:44] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:02:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:02:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:02:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:02:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:02:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:02:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:02:59] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:02:59] -- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600053@default-000000b3;2
[Mar 27 17:02:59] == Spawn extension (default, 58600053, 1) exited non-zero on 'Local/58600053@default-000000b3;2'
[Mar 27 17:02:59] WARNING[14836][C-00000196]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Mar 27 17:02:59] -- Executing [h@default:1] AGI("Local/58600053@default-000000b3;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Mar 27 17:02:59] -- <Local/58600053@default-000000b3;2>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Mar 27 17:02:59] == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600053@default-000000b3;1'
[Mar 27 17:02:59] WARNING[14835][C-00000197]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Mar 27 17:02:59] -- Executing [h@default:1] AGI("Local/58600053@default-000000b3;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Mar 27 17:02:59] -- <Local/58600053@default-000000b3;1>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Mar 27 17:03:00] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:03:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:03:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:03:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:03:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:03:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:03:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:04:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:04:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:04:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:04:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:04:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:04:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:05:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:05:02] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:05:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:05:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:05:07] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:05:07] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:05:18] -- Registered SIP '4000' at 192.168.100.57:57223
[Mar 27 17:05:18] > Saved useragent "Z 3.7.30891 r30851" for peer 4000
[Mar 27 17:06:02] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:06:02] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:06:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:06:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:06:07] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:06:07] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:06:10] -- Registered SIP '4000' at 192.168.100.57:50273
[Mar 27 17:06:10] > Saved useragent "3CXPhone 6.0.26523.0" for peer 4000
[Mar 27 17:07:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:07:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:07:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:07:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:07:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:07:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:08:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:08:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:08:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:08:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:08:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:08:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:09:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:09:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:09:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:09:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:09:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 17:09:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 27 17:10:01] == Manager 'sendcron' logged on from 127.0.0.1
in Phone (admin>Phones).i have set the Outbound CallerID as a 4000.(same as agent extension Number)
in carriers i have set the dial plan as below
Registration String:
Account Entry:
Protocol: SIP
Globals String:
Dialplan Entry:
exten => _9XXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXX/4000,2,Dial(SIP/${EXTEN:1}@GSM1,,tTor)
exten => _9XXXXXXXX/4001,2,Dial(SIP/${EXTEN:1}@GSM1,,tTor)
exten => _9XXXXXXXX,3,Hangup()
In campaign setting the Dial Prefrix i have set as below :
Dial Prefix: 9
Manual Dial Prefix:
at the GSM Gateway end i have define the caller id as 4000 and set map the Simcard to this caller id.