Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid
striker wrote:hi
paste one single full call asterisk cli result here
this is a US dial pattern. probably ought to adjust it for poland ...?exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
striker wrote:cli
ndimension wrote:Also, the lady says that she's sorry ---- but thats not a valid extension.
Your numbers must match the pattern ... "_" (underscore) indicates that it is a pattern, 9 and 1 must match exactly and X will match any number. Adjust this to match YOUR pattern. The :1 in EXTEN:1 will "strip off" the first digit (so this "9" as a dial prefix on the campaign will choose THIS carrier, then be discarded, which is a standard method of allowing multiple carriers).williamconley wrote:this is a US dial pattern. probably ought to adjust it for poland ...?exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _8XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8XXXXXXXX,2,Dial(SIP/${EXTEN}@goautodial,,tTo)
exten => _8XXXXXXXX,3,Hangup
williamconley wrote: will choose THIS carrier, then be discarded, which is a standard method of allowing multiple carriers.
EXTEN:1 will strip off the 9 and your number will be transmitted to your provider.
striker wrote:
replace withexten => _8XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8XXXXXXXX,2,Dial(SIP/${EXTEN}@goautodial,,tTo)
exten => _8XXXXXXXX,3,Hangup
separate extension for each area code to allow you to point each area code to a specific carrier
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(SIP/${EXTEN}@goautodial,,tTo)
exten => _XXXXXXXXXX,3,Hangup
[Apr 29 03:34:48] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 29 03:34:48] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-c93f,2", "8600051|F") in new stack
[Apr 29 03:34:48] > Channel Local/8600051@default-c93f,1 was answered.
[Apr 29 03:34:48] == Starting Local/8600051@default-c93f,1 at default,910817479546,1 failed so falling back to exten 's'
[Apr 29 03:34:48] == Starting Local/8600051@default-c93f,1 at default,s,1 still failed so falling back to context 'default'
[Apr 29 03:34:48] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-c93f,1
[Apr 29 03:34:48] -- Executing [i@default:1] Playback("Local/8600051@default-c93f,1", "invalid") in new stack
[Apr 29 03:34:48] -- <Local/8600051@default-c93f,1> Playing 'invalid' (language 'en')
[Apr 29 03:34:48] WARNING[4109]: file.c:1292 waitstream_core: Unexpected control subclass '-1'
[Apr 29 03:34:48] WARNING[4109]: file.c:1292 waitstream_core: Unexpected control subclass '-1'
[Apr 29 03:34:52] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 29 03:34:52] == Auto fallthrough, channel 'Local/8600051@default-c93f,1' status is 'UNKNOWN'
[Apr 29 03:34:52] -- Executing [h@default:1] DeadAGI("Local/8600051@default-c93f,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Apr 29 03:34:52] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Apr 29 03:34:52] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-c93f,2'
[Apr 29 03:34:52] -- Executing [h@default:1] DeadAGI("Local/8600051@default-c93f,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Apr 29 03:34:52] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:2}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
[May 9 05:01:35] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-d7ef,2", "8600051|F") in new stack
Create MeetMe room, "meet" agent logging in "8600051|F" with server "Local/8600051@default-d7ef,2"
[May 9 05:01:35] > Channel Local/8600051@default-d7ef,1 was answered.
That generally says that agent login was successful i think.
[May 9 05:01:35] -- Executing [910817479546@default:1] AGI("Local/8600051@default-d7ef,1", "agi://127.0.0.1:4577/call_log") in new stack
This is where i get the logs, agi whatever it is, logs this very log.
[May 9 05:01:35] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
The logging process is running without errors (return 0 means "ok" i presume)
[May 9 05:01:35] -- Executing [910817479546@default:2] Dial("Local/8600051@default-d7ef,1", "SIP/0817479546@goautodial||tTo") in new stack
Take a lead number fom hopper and execute second command from dialplan - "Dial" with parameters specified.
[May 9 05:01:35] WARNING[12647]: chan_sip.c:3193 sip_call: No audio format found to offer. Cancelling call to 0817479546
This tells me two things. First I messed up some thing.
The second thing it tells me that i got the server to dial the exact number i want it to dial (it cancels call to 0817479546 witch is the correct number to pass to my voip provider servers).
[May 9 05:01:35] -- Couldn't call 0817479546@goautodial
Why does it say @goautodial?
[May 9 05:01:35] == Everyone is busy/congested at this time (0:0/0/0)
Some related "errory" stuff.
[May 9 05:01:35] -- Executing [910817479546@default:3] Hangup("Local/8600051@default-d7ef,1", "") in new stack
Execute the third command from dialplan after you finis doing command 2. "Dial" process is finished (no matter the result) so the server hangups.
[May 9 05:01:35] == Spawn extension (default, 910817479546, 3) exited non-zero on 'Local/8600051@default-d7ef,1'
Some stuff .
[May 9 05:01:35] -- Executing [h@default:1] DeadAGI("Local/8600051@default-d7ef,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL----------") in new stack
Well known asterisk error code. It means i fail at this
[May 9 05:01:35] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
williamconley wrote:So you dial "9-1-555-555-5555" and the system uses the 9 to choose your trunk, then sends 15555555555 to the SIP/XXXX carrier you defined for that dialplan.
striker wrote:in sip settings check what u have entered for allow= ?
g729 , ulaw or alaw
also check what audio codec does you carrier supports.
then put that format in allow=?
um ..striker wrote:2. t = time out
3. T = absolute time out
4. o = operator
Return to ViciDialNow - GoAutoDial
Users browsing this forum: No registered users and 29 guests