Page 1 of 1

outbond call problem.

PostPosted: Mon Apr 01, 2013 1:56 am
by tezek
Code: Select all
[Apr  1 16:51:04]   == Manager 'sendcron' logged on from 127.0.0.1
[Apr  1 16:51:04]     -- Executing [8600052@default:1] MeetMe("Local/8600052@default-c22e,2", "8600052|F") in new stack
[Apr  1 16:51:04]        > Channel Local/8600052@default-c22e,1 was answered.
[Apr  1 16:51:04]   == Starting Local/8600052@default-c22e,1 at default,1433303114,1 failed so falling back to exten 's'
[Apr  1 16:51:04]   == Starting Local/8600052@default-c22e,1 at default,s,1 still failed so falling back to context 'default'
[Apr  1 16:51:04]     -- Sent into invalid extension 's' in context 'default' on Local/8600052@default-c22e,1
[Apr  1 16:51:04]     -- Executing [i@default:1] Playback("Local/8600052@default-c22e,1", "invalid") in new stack
[Apr  1 16:51:04]     -- <Local/8600052@default-c22e,1> Playing 'invalid' (language 'en')
[Apr  1 16:51:04] WARNING[4801]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
[Apr  1 16:51:04] WARNING[4801]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
[Apr  1 16:51:06]   == Parsing '/etc/asterisk/manager.conf': [Apr  1 16:51:06] Found
[Apr  1 16:51:06]   == Manager 'sendcron' logged on from 127.0.0.1
[Apr  1 16:51:06]   == Spawn extension (default, i, 1) exited non-zero on 'Local/8600052@default-c22e,1'
[Apr  1 16:51:06]     -- Executing [h@default:1] DeadAGI("Local/8600052@default-c22e,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Apr  1 16:51:06]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Apr  1 16:51:06]   == Spawn extension (default, 8600052, 1) exited non-zero on 'Local/8600052@default-c22e,2'
[Apr  1 16:51:06]     -- Executing [h@default:1] DeadAGI("Local/8600052@default-c22e,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Apr  1 16:51:06]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0


Code: Select all
exten => _XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN:1},,To)
exten => _XXXXXXXXXXX,3,Hangup


what is the problem? i checked peers and registration. everything seems ok.




Vicibox 4.0.3 ISO install.
"Vicibox 64 bix express
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No other software installed
core 2 duo 3.0ghz
8mb ram
500gb hdd

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 4:16 am
by farrukh.matin
What is DIAL PREFIX in your campaign

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 4:20 am
by tezek
we do not use campaign dial prefix

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 4:30 am
by farrukh.matin
What is your destination

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 5:42 am
by farrukh.matin
exten => _XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN},,To)
exten => _XXXXXXXXXXX,3,Hangup

exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${TESTSIPTRUNK}/${EXTEN},,To)
exten => _X.,3,Hangup

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 6:16 pm
by williamconley
you had 11 "X" but dialed only 10 digits in the phone number.

try
Code: Select all
exten => _XXXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXX.,2,Dial(${TESTSIPTRUNK}/${EXTEN},,To)
exten => _XXXXXXXXX.,3,Hangup
the ending "." will allow for any number of digits to follow (so it will work for 12,13,14 digit numbers as well as 10 and 11)

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 7:06 pm
by tezek
still same mate.


Code: Select all
=========================================================================
Connected to Asterisk 1.4.44-vici currently running on linux-57aw (pid = 2575)
Verbosity is at least 21
[Apr  2 09:49:30]     -- Executing [0433303114@default:1] AGI("SIP/gs102-00000004", "agi://127.0.0.1:4577/call_log") in new stack
[Apr  2 09:49:30]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr  2 09:49:30]     -- Executing [0433303114@default:2] Dial("SIP/gs102-00000004", "SIP/testcarrier/0433303114||To") in new stack
[Apr  2 09:49:30]     -- Called testcarrier/0433303114
[Apr  2 09:49:30] WARNING[2588]: chan_sip.c:13717 handle_response_invite: Received response: "Forbidden" from '"Test Admin Phone" <sip:61731625655@10.1.1.101>;tag=as575cdcb3'
[Apr  2 09:49:30]     -- SIP/testcarrier-00000005 is circuit-busy
[Apr  2 09:49:30]   == Everyone is busy/congested at this time (1:0/1/0)
[Apr  2 09:49:30]     -- Executing [0433303114@default:3] Hangup("SIP/gs102-00000004", "") in new stack
[Apr  2 09:49:30]   == Spawn extension (default, 0433303114, 3) exited non-zero on 'SIP/gs102-00000004'
[Apr  2 09:49:30]     -- Executing [h@default:1] DeadAGI("SIP/gs102-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Apr  2 09:49:30]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION---------- completed, returning 0


Code: Select all
Host                            Username       Refresh State                Reg.Time
XXXXXXXXXXXXX:506  6173162XXXX        96 Registered           Tue, 02 Apr 2013 10:06:46

Re: outbond call problem.

PostPosted: Mon Apr 01, 2013 9:41 pm
by williamconley
Not the same, before:
Code: Select all
default,1433303114,1 failed so falling back to exten 's'


Now you get:
Code: Select all
Received response: "Forbidden" from '"Test Admin Phone" <


I'm guessing that your carrier doesn't like the number you tried to dial, your callerid being used, or perhaps you just don't have any money on the account. But you'll have to ask them! LOL

Or you could post the extensions.conf and/or sip.conf suggested entries they sent you (mask the user/pass/ip, of course) and we may be able to help you construct proper Vicidial versions of them. 8-)