inbound from freepbx to vicidlal

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

inbound from freepbx to vicidlal

Postby ed123 » Wed Dec 14, 2011 4:43 pm

hi,

Please help how to confige an inbound call from free pbx route to vicidial. The pbx has the DID same with vicidial.. I check with IAX to no avail..


pbxinaflash-17572.iso
goautodial-ce-2.1-final.iso


thnks,
newbie
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sun Dec 18, 2011 12:28 pm

Create an "extension" in FreePBX. Register a "Carrier" in Vicidial to that extension. At this point, Vicidial believes (correctly) that the FreePBX server is the carrier and will treat it like any other carrier for inbound calls. From there, the Vicidial Manager's Manual takes over.

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Sat Dec 31, 2011 1:15 am

Hi sorry for the late reply...


Here are my setup..

error message after i test an inbound..

[Dec 31 13:49:26] ERROR[21612]: chan_iax2.c:4354 handle_call_token: Call rejecte d, CallToken Support required. If unexpected, resolve by placing address x.x.x.1 in the calltokenoptional list or setting user testuser requirecalltoken=no

----------------------------------------
register => testuser:yyyy@x.x.x.1/testuser

[test]
host=x.x.x.1
secret=yyyy
username=testuser
type=peer
dtmfmode=rfc2833
trunk=yes
qualify=yes
allow=all
context=from-trunk
calltokenoptional=x.x.x.1
requirecalltoken=no

protocal: IAX2
GLOBALS: TESTIAXTRUNK = IAX2/test
exten => _9,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9,2,Dial(${TESTIAXTRUNK}/${EXTEN:1},,tTor)
exten => _9,3,Hangup

-------------FREPBX-trunk
peer deatails:
host=x.x.x.2
username=testuser
secret=yyyy
type=peer
qualify=yes
trunk=yes
calltokenoptional=x.x.x.2
requirecalltoken=no
user deatails:
secret=yyyy
type=user
context=from-trunk

----------------------------


goautodial
IP: x.x.x.2
VERSION: 2.4-309a
BUILD: 110430-1642
asterisk: 1.4.39.1-vici

freepbx
IP: x.x.x.1
VERSION: 2.8.0.2
asterisk: 1.4.21.2
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sat Dec 31, 2011 12:31 pm

on which machine did you receive this error message?

did you reload asterisk after making changes?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Sun Jan 01, 2012 2:38 pm

Hi,
Error message disappear after i include this"requrecalltoken=no" to two server..

But after that i make a test same thing.. nothing happen

iax2 show peers
test/testuser x.x.x.1 (D) 255.255.255.255 4569 OK (5 ms)
ASTblind 127.0.0.1 (D) 255.255.255.255 42808 OK (3 ms)
ASTloop 127.0.0.1 (D) 255.255.255.255 52592 OK (3 ms)
23 iax2 peers [3 online, 0 offline, 20 unmonitored]
iax2 show registry
Host dnsmgr Username Perceived Refresh State
127.0.0.1:41569 N ASTblind 127.0.0.1:42808 60 Registered
127.0.0.1:40569 N ASTloop 127.0.0.1:52592 60 Registered
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sun Jan 01, 2012 6:00 pm

i think ya lost me somewhere ed. before you were getting an error message and the call was being rejected.

now the error message is missing ... so the call goes through? but you say "nothing happens" ... however, this seems unlikely as the error message was not the ONLY thing that was happening before. it was just the last thing to happen.

perhaps you should try iax2 debugging to see what IS happening and let us know about the chain of events (and where the chain breaks) ...

i mean, one system initiates a call, sends a request to the other, that system gets the request and responds ... something is happening, but without details of what .. we can't hep ya. ;)

also: for the record, you must include your vicidial version with build. goautodial version is great for installation ... but you must always post the vicidial version with build (and in this case i would recommend the asterisk version as well).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 02, 2012 3:02 pm

Hi,

Before when testcall made in cli(vicidial) the error messages appear and the calls did not make throug.. when i add the requiretoken=no the error message disappeared but the calls still did not make through..


-----------------------------------------------------------


iax2 debugging
-----------------GOAUTODIAL
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00003ms SCall: 03535 DCall: 00000 [x.x.x.1:4569]
VERSION : 2
CALLED NUMBER : 612xxxxxx28
CODEC_PREFS : (gsm|ulaw|alaw)
CALLING NUMBER : 612xxxxxx34
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 612xxxxxx28612xxxxxx34
LANGUAGE : en
USERNAME : 7001
FORMAT : 2
CAPABILITY : 57358
ADSICPE : 2
DATE TIME : 2012-01-03 03:10:22

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 06886 DCall: 03535 [x.x.x.1:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00010ms SCall: 06886 DCall: 03535 [x.x.x.1:4569]
AUTHMETHODS : 2
CHALLENGE : 143632924
USERNAME : 7001

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00006ms SCall: 03535 DCall: 06886 [x.x.x.1:4569]
MD5 RESULT : 799058167dd1191b258a93500bcbbc99612

Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00006ms SCall: 06886 DCall: 03535 [x.x.x.1:4569]
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00014ms SCall: 06886 DCall: 03535 [x.x.x.1:4569]
CAUSE : No such context/extension
CAUSE CODE : 3

------------------------------------------Free pbx
-- Executing [612xxxxxx28@from-trunk-sip-PROVIDER-INT-216:1] Set("SIP/5060-b7d014b8", "GROUP()=OUT_21") in new stack
-- Executing [612xxxxxx28@from-trunk-sip-PROVIDER-INT-216:2] Goto("SIP/5060-b7d014b8", "from-trunk|612xxxxxx28|1") in new stack
-- Goto (from-trunk,612xxxxxx28,1)
-- Executing [612xxxxxx28@from-trunk:1] Set("SIP/5060-b7d014b8", "__FROM_DID=612xxxxxx28") in new stack
-- Executing [612xxxxxx28@from-trunk:2] Gosub("SIP/5060-b7d014b8", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/5060-b7d014b8", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/5060-b7d014b8", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/5060-b7d014b8", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/5060-b7d014b8", "") in new stack
-- Executing [612xxxxxx28@from-trunk:3] ExecIf("SIP/5060-b7d014b8", "0 |Set|CALLERID(name)=612xxxxxx34") in new stack
-- Executing [612xxxxxx28@from-trunk:4] Set("SIP/5060-b7d014b8", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [612xxxxxx28@from-trunk:5] SetCallerPres("SIP/5060-b7d014b8", "allowed_not_screened") in new stack
-- Executing [612xxxxxx28@from-trunk:6] Set("SIP/5060-b7d014b8", "_RGPREFIX=612xxxxxx28") in new stack
-- Executing [612xxxxxx28@from-trunk:7] Set("SIP/5060-b7d014b8", "CALLERID(name)=612xxxxxx28612xxxxxx34") in new stack
-- Executing [612xxxxxx28@from-trunk:8] Goto("SIP/5060-b7d014b8", "ext-trunk|16|1") in new stack
-- Goto (ext-trunk,16,1)
-- Executing [16@ext-trunk:1] Set("SIP/5060-b7d014b8", "TDIAL_STRING=IAX2/testpeer") in new stack
-- Executing [16@ext-trunk:2] Set("SIP/5060-b7d014b8", "DIAL_TRUNK=16") in new stack
-- Executing [16@ext-trunk:3] Goto("SIP/5060-b7d014b8", "ext-trunk|tdial|1") in new stack
-- Goto (ext-trunk,tdial,1)
-- Executing [tdial@ext-trunk:1] Set("SIP/5060-b7d014b8", "OUTBOUND_GROUP=OUT_16") in new stack
-- Executing [tdial@ext-trunk:2] GotoIf("SIP/5060-b7d014b8", "1?nomax") in new stack
-- Goto (ext-trunk,tdial,4)
-- Executing [tdial@ext-trunk:4] ExecIf("SIP/5060-b7d014b8", "1|SetCallerPres|allowed_not_screened") in new stack
-- Executing [tdial@ext-trunk:5] Set("SIP/5060-b7d014b8", "DIAL_NUMBER=612xxxxxx28") in new stack
-- Executing [tdial@ext-trunk:6] GosubIf("SIP/5060-b7d014b8", "0?sub-flp-16|s|1") in new stack
-- Executing [tdial@ext-trunk:7] Set("SIP/5060-b7d014b8", "OUTNUM=612xxxxxx28") in new stack
-- Executing [tdial@ext-trunk:8] Dial("SIP/5060-b7d014b8", "IAX2/testpeer/612xxxxxx28|300|") in new stack
-- Called testpeer/612xxxxxx28
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00003ms SCall: 03535 DCall: 00000 [x.x.x.2:4569]
VERSION : 2
CALLED NUMBER : 612xxxxxx28
CODEC_PREFS : (gsm|ulaw|alaw)
CALLING NUMBER : 612xxxxxx34
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 612xxxxxx28612xxxxxx34
LANGUAGE : en
USERNAME : 7001
FORMAT : 2
CAPABILITY : 57358
ADSICPE : 2
DATE TIME : 2012-01-03 03:10:22

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 06886 DCall: 03535 [x.x.x.2:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00010ms SCall: 06886 DCall: 03535 [x.x.x.2:4569]
AUTHMETHODS : 2
CHALLENGE : 143632924
USERNAME : 7001
pbx*CLI>
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00006ms SCall: 03535 DCall: 06886 [x.x.x.2:4569]
MD5 RESULT : 799058167dd1191b258a93500bcbbc99612
pbx*CLI>
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00006ms SCall: 06886 DCall: 03535 [x.x.x.2:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00014ms SCall: 06886 DCall: 03535 [x.x.x.2:4569]
CAUSE : No such context/extension
CAUSE CODE : 3
pbx*CLI>
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00014ms SCall: 03535 DCall: 06886 [x.x.x.2:4569]
-- Hungup 'IAX2/testpeer-3535'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [tdial@ext-trunk:9] Hangup("SIP/5060-b7d014b8", "") in new stack
== Spawn extension (ext-trunk, tdial, 9) exited non-zero on 'SIP/5060-b7d014b8'

******************************************************************************

goautodial
IP: x.x.x.2
VERSION: 2.4-309a
BUILD: 110430-1642
asterisk: 1.4.39.1-vici

freepbx
IP: x.x.x.1
VERSION: 2.8.0.2
asterisk: 1.4.21.2

tnx newbie
Last edited by ed123 on Sat Jan 07, 2012 1:47 pm, edited 1 time in total.
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Mon Jan 02, 2012 3:07 pm

1) You are using the freepbx dialplan. you will not enjoy the results of using vicidial through freepbx. This is merely one small example of why. If you ignore this statement and continue to use vicidial through freepbx (and the freepbx dialplan) you will ultimately have to come back here and let me say "i told you so" while I giggle. Just sayin.

2)
-- Executing [tdial@ext-trunk:8] Dial("SIP/5060-b7d014b8", "IAX2/testpeer/61283736828|300|") in new stack
-- Called testpeer/61283736828
this is the call "going through". Now the question is: why does this number have 11 digits ... and will "testpeer" connect this call for you? (I'm guessing ... not.) You'd have to check with "testpeer" and find that out.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 02, 2012 3:50 pm

sorry newbie here...

please if you have a suggestion.. I been facing this problem for morethan a week .. help really appreciated..

If necessary to reconfigure..will do that and step by step maybe..

please and tnx..
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby ed123 » Wed Jan 04, 2012 10:03 am

Hi,

ANy help please...

newbie
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Wed Jan 04, 2012 8:25 pm

sorry, no time today: but you should modify your dialplan to allow your vicidial server to "straight pass through" without using the freepbx dialplan.

also: show a successful dial from freepbx through this trunk ... so we can "mimic" it with vicidial. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

freepbx - viicdial

Postby striker » Thu Jan 05, 2012 3:52 am

hi ed123

as per your IAX debug result it says
" CAUSE : No such context/extension "

did you created context from-trunk in the vicidial extension.conf?
or change the context = trunkinbound in the vicidial for your freepbx iax carrier.

and set exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
under trunkinbound context
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby ed123 » Sat Jan 07, 2012 12:45 pm

Hi,

Thanks for the reply "striker"... but still error .. dont know where to start or something i miss.. need help a step by step maybe anyone pls..


thanks
newbie
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby ed123 » Sat Jan 07, 2012 1:41 pm

Hi,

I made some test and the error occured

------------- ------

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00016ms SCall: 00177 DCall: 06233 [127.0.0.1:41569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00016ms SCall: 00177 DCall: 06233 [127.0.0.1:49114]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00004ms SCall: 10530 DCall: 00000 [x.x.x.1:4569]
VERSION : 2
CALLED NUMBER : 61xxxxxx28
CODEC_PREFS : (gsm|ulaw|alaw)
CALLING NUMBER : 61xxxxxx34
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 612xxxxxx28612xxxxxx34
LANGUAGE : en
USERNAME : testuser
FORMAT : 2
CAPABILITY : 57358
ADSICPE : 2
DATE TIME : 2012-01-08 02:36:26

[Jan 8 02:36:26] ERROR[6584]: chan_iax2.c:4354 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address x.x.x.1 in the calltokenoptional list or setting user testuser requirecalltoken=no
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00004ms SCall: 10530 DCall: 00001 [x.x.x.1:4569]
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sat Jan 07, 2012 6:46 pm

requirecalltoken=no
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Sat Jan 07, 2012 6:51 pm

Hi,

---------- PBX SETTINGS -----------
Outgoing Settings
Trunk Name: testpeer
PEER Details:
host=x.x.x.2
username=testuser
secret=yyyy
context=incoming
type=friend
qualify=yes
requirecalltoken=no

Incoming Settings
USER Context: testuser
USER Details:
host=x.x.x.1
username=testuser
secret=yyyy
type=friend
context=incoming
qualify=yes
requirecalltoken=no

------------ GO AUTODIAL SETTINGS ---------

iax.config
[general]
bindport=4569 ; bindport and bindaddr may be specified
bindaddr=0.0.0.0 ; more than once to bind to multiple
;iaxcompat=yes
;nochecksums=no
delayreject=yes
;amaflags=default
adsi=no
;accountcode=vicidial
language=en
mohinterpret=passthrough
mohsuggest=default
disallow=all
allow=ulaw
allow=gsm
jitterbuffer=yes
forcejitterbuffer=no
maxjitterbuffer=1000
maxjitterinterps=10
resyncthreshold=1000
trunkfreq=20 ; How frequently to send trunk msgs (in ms)
trunktimestamps=yes
minregexpire = 60
maxregexpire = 360
iaxthreadcount = 50
iaxmaxthreadcount = 250
;register => marko:secretpass@tormenta.linux-support.net
;register => joe@remotehost:5656
;register => marko:[torkey]@tormenta.linux-support.net
;register => user:pass@iaxtel.com
;register => FWDNumber:passwd@iax.fwdnet.net
authdebug=no
regcontext=default
autokill=yes
codecpriority=host
allowfwdownload=no
;rtcachefriends=yes ; Cache realtime friends by adding them to the internal list
;rtupdate=yes ; Send registry updates to database using realtime? (yes|no)
;rtautoclear=yes ; Auto-Expire friends created on the fly on the same schedule
;rtignoreregexpire=yes ; When reading a peer from Realtime, if the peer's registration

#include iax-vicidial.conf

;register => 1112223333:PASSWORD@iax.binfone.com
;ASTloop/ASTblind removed and now included in iax-vicidial.conf
register =>testuser:yyyy@x.x.x.1
;test config
[testuser]
type=friend
username=testuser
secret=yyyy
context=incoming
;auth=palintext
host=x.x.x.1
;secret=yyyy


extensions.conf

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/r1 ; Trunk interface
;TRUNKX=Zap/r2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
;TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
;SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk

TRUNKIAX3=IAX2/testuser:yyyy@x.x.x.1:4569


#include extensions-vicidial.conf
[incoming]
exten => testuser,1,AGI(agi:127.0.0.1:4577/call_log)
exten => testuser,2,Dial(sip/7001,60,o)
exten => testuser,3,Hangup
[trunkinbound]
; DID call routing process
exten => _X.,1,AGI(agi-DID_route.agi)

[default]
include => vicidial-auto

exten => _761,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _761,2,Dial(${TRUNKIAX3}/${EXTEN:3},55,o)
exten => _761,3,Hangup
------------------------------------------------------------------------

LOGS FROM FREE PBX

== Manager 'admin' logged off from 127.0.0.1
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00014ms SCall: 01636 DCall: 00000 [x.x.x.2:4569]
USERNAME : testuser
REFRESH : 60
pbx*CLI> exit
Ignoring unknown information element 'Unknown IE' (54) of length 0
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00014ms SCall: 05085 DCall: 01636 [x.x.x.2:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
Timestamp: 00013ms SCall: 05085 DCall: 01636 [x.x.x.2:4569]
CAUSE : Registration Refused
CAUSE CODE : 29
pbx*CLI> exit
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00013ms SCall: 01636 DCall: 05085 [x.x.x.2:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE

---------------------------------
LOGS FROM GOAUTODIAL

testuser/112 x.x.x.1 (S) 255.255.255.255 4569 OK (16 ms)
ASTblind 127.0.0.1 (D) 255.255.255.255 49114 OK (3 ms)
ASTloop 127.0.0.1 (D) 255.255.255.255 45620 OK (1 ms)
23 iax2 peers [3 online, 0 offline, 20 unmonitored]

Host dnsmgr Username Perceived Refresh State
x.x.x.1:4569 N testuse <Unregistered> 60 Rejected
127.0.0.1:41569 N ASTblind 127.0.0.1:49114 60 Registered
127.0.0.1:40569 N ASTloop 127.0.0.1:45620 60 Request Sent

----------------------------
calllogs from FREEPBX

-- Called testpeer/612XXXXXX28
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00018ms SCall: 11721 DCall: 00000 [x.x.x.2:4569]
VERSION : 2
CALLED NUMBER : 612XXXXXX28
CODEC_PREFS : (gsm|ulaw|alaw)
CALLING NUMBER : 612XXXXXX34
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 612XXXXXX28612XXXXXX34
LANGUAGE : en
USERNAME : testuser
FORMAT : 2
CAPABILITY : 57358
ADSICPE : 2
DATE TIME : 2012-01-08 07:42:16
pbx*CLI> exit
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00018ms SCall: 07600 DCall: 11721 [x.x.x.2:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00004ms SCall: 07600 DCall: 11721 [x.x.x.2:4569]
AUTHMETHODS : 3
CHALLENGE : 138304672
USERNAME : testuser

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00022ms SCall: 11721 DCall: 07600 [x.x.x.2:4569]
MD5 RESULT : ed2721996867949d43e4195b1717e06e
pbx*CLI> exit
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00022ms SCall: 07600 DCall: 11721 [x.x.x.2:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00005ms SCall: 07600 DCall: 11721 [x.x.x.2:4569]
CAUSE : No such context/extension
CAUSE CODE : 3

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00005ms SCall: 11721 DCall: 07600 [x.x.x.2:4569]
-- Hungup 'IAX2/testpeer-11721'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [tdial@ext-trunk:9] Hangup("SIP/5060-b7c37d88", "") in new stack

******************************************

Please see if there wrong with my configuration..

thanks
newbie
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sat Jan 07, 2012 7:26 pm

CAUSE : No such context/extension
as i said before, how about a sample successful phone call from freepbx so we know the dialplan that will work?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Sun Jan 08, 2012 2:29 pm

Hi,

The said freepbx is design only for inbound.

Here below is a successful inbound from this freepbx send the call to another freepbx using iax..

***********************
-- Executing [612xxxxxx60@from-sip-external:1] NoOp("SIP/v.v.v.v-b7d42cf0", "Received incoming SIP connection from unknown peer to 612xxxxxx60") in new stack
-- Executing [612xxxxxx60@from-sip-external:2] Set("SIP/v.v.v.v-b7d42cf0", "DID=612xxxxxx60") in new stack
-- Executing [612xxxxxx60@from-sip-external:3] Goto("SIP/v.v.v.v-b7d42cf0", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/v.v.v.v-b7d42cf0", "1?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] GotoIf("SIP/v.v.v.v-b7d42cf0", "0?setlanguage:from-trunk|612xxxxxx60|1") in new stack
-- Goto (from-trunk,612xxxxxx60,1)
-- Executing [612xxxxxx60@from-trunk:1] Set("SIP/v.v.v.v-b7d42cf0", "__FROM_DID=612xxxxxx60") in new stack
-- Executing [612xxxxxx60@from-trunk:2] Gosub("SIP/v.v.v.v-b7d42cf0", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/v.v.v.v-b7d42cf0", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/v.v.v.v-b7d42cf0", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/v.v.v.v-b7d42cf0", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/v.v.v.v-b7d42cf0", "") in new stack
-- Executing [612xxxxxx60@from-trunk:3] ExecIf("SIP/v.v.v.v-b7d42cf0", "0 |Set|CALLERID(name)=02xxxxxx34") in new stack
-- Executing [612xxxxxx60@from-trunk:4] Ringing("SIP/v.v.v.v-b7d42cf0", "") in new stack
-- Executing [612xxxxxx60@from-trunk:5] Set("SIP/v.v.v.v-b7d42cf0", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [612xxxxxx60@from-trunk:6] SetCallerPres("SIP/v.v.v.v-b7d42cf0", "allowed_not_screened") in new stack
-- Executing [612xxxxxx60@from-trunk:7] Set("SIP/v.v.v.v-b7d42cf0", "_RGPREFIX=test - ") in new stack
-- Executing [612xxxxxx60@from-trunk:8] Set("SIP/v.v.v.v-b7d42cf0", "CALLERID(name)=test - 02xxxxxx34") in new stack
-- Executing [612xxxxxx60@from-trunk:9] Goto("SIP/v.v.v.v-b7d42cf0", "ext-trunk|19|1") in new stack
-- Goto (ext-trunk,19,1)
-- Executing [19@ext-trunk:1] Set("SIP/v.v.v.v-b7d42cf0", "TDIAL_STRING=test6-IAXpeer") in new stack
-- Executing [19@ext-trunk:2] Set("SIP/v.v.v.v-b7d42cf0", "DIAL_TRUNK=19") in new stack
-- Executing [19@ext-trunk:3] Goto("SIP/v.v.v.v-b7d42cf0", "ext-trunk|tdial|1") in new stack
-- Goto (ext-trunk,tdial,1)
-- Executing [tdial@ext-trunk:1] Set("SIP/v.v.v.v-b7d42cf0", "OUTBOUND_GROUP=OUT_19") in new stack
-- Executing [tdial@ext-trunk:2] GotoIf("SIP/v.v.v.v-b7d42cf0", "1?nomax") in new stack
-- Goto (ext-trunk,tdial,4)
-- Executing [tdial@ext-trunk:4] ExecIf("SIP/v.v.v.v-b7d42cf0", "1|SetCallerPres|allowed_not_screened") in new stack
-- Executing [tdial@ext-trunk:5] Set("SIP/v.v.v.v-b7d42cf0", "DIAL_NUMBER=612xxxxxx60") in new stack
-- Executing [tdial@ext-trunk:6] GosubIf("SIP/v.v.v.v-b7d42cf0", "0?sub-flp-19|s|1") in new stack
-- Executing [tdial@ext-trunk:7] Set("SIP/v.v.v.v-b7d42cf0", "OUTNUM=612xxxxxx60") in new stack
-- Executing [tdial@ext-trunk:8] Dial("SIP/v.v.v.v-b7d42cf0", "test6-IAXpeer/612xxxxxx60|300|") in new stack
-- Called 99-IAXpeer/612xxxxxx60
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00008ms SCall: 16384 DCall: 00000 [x.x.x.6:4569]
VERSION : 2
CALLED NUMBER : 612xxxxxx60
CODEC_PREFS : (ulaw|alaw|gsm)
CALLING NUMBER : 02xxxxxx34
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : test - 02xxxxxx34
LANGUAGE : en
USERNAME : testuser
FORMAT : 4
CAPABILITY : 57358
ADSICPE : 2
DATE TIME : 2012-01-09 03:12:58
pbx*CLI> exit
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00007ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
AUTHMETHODS : 3
CHALLENGE : 109700278
USERNAME : testuser
pbx*CLI> exit
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00010ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
MD5 RESULT : 0ececdec7cebe099d2a0f5612a29a59b

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00011ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
FORMAT : 4
pbx*CLI> exit
-- Call accepted by x.x.x.6 (format ulaw)
-- Format for call is ulaw
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00011ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: RINGING
Timestamp: 00014ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00014ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
-- test6-IAXpeer-16384 is ringing
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 00017ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 00017ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
-- test6-IAXpeer-16384 answered SIP/v.v.v.v-b7d42cf0
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 002 Type: VOICE Subclass: 4
Timestamp: 00060ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 00060ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 004 Type: CONTROL Subclass: (20?)
Timestamp: 00013ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00013ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 005 Type: VOICE Subclass: 4
Timestamp: 00315ms SCall: 16384 DCall: 09384 [x.x.x.6:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 00315ms SCall: 09384 DCall: 16384 [x.x.x.6:4569]
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
pbx*CLI> exit
Executing last minute cleanups
You have new mail in /var/spool/mail/root
root@pbx:~ $
********************************************
v.v.v.v -voip provider
x.x.x.6- another freepbx


Hope this will help,,
Newbie
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Sun Jan 08, 2012 6:28 pm

wait a minute.

if you say the problem is that vicidial cannot dial outbound through freepbx ... but freepbx can't dial outbound ...? how do you expect vicidial to do it? (or am i remembering this post incorrectly?)

wait, so this is for a call FROM freepbx into vicidial?

or did it change in there somewhere? (i don't have time to read the whole thing, sorry ...)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 09, 2012 12:21 pm

Hi,

The call (inbound) should be from freepbx to vicidial..

No outbound to freepbx.,
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Mon Jan 09, 2012 1:25 pm

What will cause the Inbound call to route to Vicidial?

The following assumes that the you have done somthing like create a Queue with a dialplan entry that will dial back out through the Vicidial trunk ... (explicitly using a dialplan that will invoke the Vicidial trunk and dial the DID at it ...) or something similar.

in your FreePBX system, you create a trunk for Vicidial ... and in Vicidial you create a carrier for FreePBX ... and you create a dialplan that will cause the FreePBX system to dial a DID through the Vicidial Trunk ... and in Vicidial you create a DID (same one, of course) which points to the default exten 9998811112?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 09, 2012 2:11 pm

What will cause the Inbound call to route to Vicidial?
Cause the freepbx are only allowed to do inbound..

---------------------------------

The following assumes that the you have done somthing like create a Queue with a dialplan entry that will dial back out through the Vicidial trunk ... (explicitly using a dialplan that will invoke the Vicidial trunk and dial the DID at it ...) or something similar.

in your FreePBX system, you create a trunk for Vicidial ... and in Vicidial you create a carrier for FreePBX ... and you create a dialplan that will cause the FreePBX system to dial a DID through the Vicidial Trunk ... and in Vicidial you create a DID (same one, of course) which points to the default exten 9998811112?

- yes sir this is the setup
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Mon Jan 09, 2012 3:32 pm

ok, show the "simple cli" (not debug) of a single attempted pass-through from each system (show freepbx and vicidial cli, marked accordingly). no other traffic. not 300 lines of code ... :) Just to see what the present basic state of attempt vs fail is without too many details.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 09, 2012 4:12 pm

asterisk -rvv

*******************************in FREEPBX

-- Executing [612XXXXXX28@from-trunk-sip-VOIP-INT-216:1] Set("SIP/5060-b7c2a8d0", "GROUP()=OUT_21") in new stack
-- Executing [612XXXXXX28@from-trunk-sip-VOIP-INT-216:2] Goto("SIP/5060-b7c2a8d0", "from-trunk|612XXXXXX28|1") in new stack
-- Goto (from-trunk,612XXXXXX28,1)
-- Executing [612XXXXXX28@from-trunk:1] Set("SIP/5060-b7c2a8d0", "__FROM_DID=612XXXXXX28") in new stack
-- Executing [612XXXXXX28@from-trunk:2] Gosub("SIP/5060-b7c2a8d0", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/5060-b7c2a8d0", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/5060-b7c2a8d0", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/5060-b7c2a8d0", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/5060-b7c2a8d0", "") in new stack
-- Executing [612XXXXXX28@from-trunk:3] ExecIf("SIP/5060-b7c2a8d0", "0 |Set|CALLERID(name)=612XXXXXX34") in new stack
-- Executing [612XXXXXX28@from-trunk:4] Set("SIP/5060-b7c2a8d0", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [612XXXXXX28@from-trunk:5] SetCallerPres("SIP/5060-b7c2a8d0", "allowed_not_screened") in new stack
-- Executing [612XXXXXX28@from-trunk:6] Set("SIP/5060-b7c2a8d0", "_RGPREFIX=612XXXXXX28") in new stack
-- Executing [612XXXXXX28@from-trunk:7] Set("SIP/5060-b7c2a8d0", "CALLERID(name)=612XXXXXX28612XXXXXX34") in new stack
-- Executing [612XXXXXX28@from-trunk:8] Goto("SIP/5060-b7c2a8d0", "ext-trunk|16|1") in new stack
-- Goto (ext-trunk,16,1)
-- Executing [16@ext-trunk:1] Set("SIP/5060-b7c2a8d0", "TDIAL_STRING=IAX2/testpeer") in new stack
-- Executing [16@ext-trunk:2] Set("SIP/5060-b7c2a8d0", "DIAL_TRUNK=16") in new stack
-- Executing [16@ext-trunk:3] Goto("SIP/5060-b7c2a8d0", "ext-trunk|tdial|1") in new stack
-- Goto (ext-trunk,tdial,1)
-- Executing [tdial@ext-trunk:1] Set("SIP/5060-b7c2a8d0", "OUTBOUND_GROUP=OUT_16") in new stack
-- Executing [tdial@ext-trunk:2] GotoIf("SIP/5060-b7c2a8d0", "1?nomax") in new stack
-- Goto (ext-trunk,tdial,4)
-- Executing [tdial@ext-trunk:4] ExecIf("SIP/5060-b7c2a8d0", "1|SetCallerPres|allowed_not_screened") in new stack
-- Executing [tdial@ext-trunk:5] Set("SIP/5060-b7c2a8d0", "DIAL_NUMBER=612XXXXXX28") in new stack
-- Executing [tdial@ext-trunk:6] GosubIf("SIP/5060-b7c2a8d0", "0?sub-flp-16|s|1") in new stack
-- Executing [tdial@ext-trunk:7] Set("SIP/5060-b7c2a8d0", "OUTNUM=612XXXXXX28") in new stack
-- Executing [tdial@ext-trunk:8] Dial("SIP/5060-b7c2a8d0", "IAX2/testpeer/612XXXXXX28|300|") in new stack
-- Called testpeer/612XXXXXX28
-- Hungup 'IAX2/testpeer-4748'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [tdial@ext-trunk:9] Hangup("SIP/5060-b7c2a8d0", "") in new stack
== Spawn extension (ext-trunk, tdial, 9) exited non-zero on 'SIP/5060-b7c2a8d0'



************************************ in GOAUTODIAL

Connected to Asterisk 1.4.39.1-vici RPM by demian@goautodial.com currently running on go (pid = 2096)
Verbosity is at least 21
[Jan 10 04:59:02] == Parsing '/etc/asterisk/manager.conf': [Jan 10 04:59:02] Found
[Jan 10 04:59:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 04:59:02] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 04:59:02] == Parsing '/etc/asterisk/manager.conf': [Jan 10 04:59:02] Found
[Jan 10 04:59:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 04:59:05] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 04:59:07] == Parsing '/etc/asterisk/manager.conf': [Jan 10 04:59:07] Found
[Jan 10 04:59:07] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 04:59:07] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:00:02] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:00:02] Found
[Jan 10 05:00:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:00:04] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:00:04] Found
[Jan 10 05:00:04] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:00:04] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:00:05] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:00:09] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:00:09] Found
[Jan 10 05:00:09] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:00:09] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:01:02] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:01:02] Found
[Jan 10 05:01:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:01:02] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:01:03] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:01:03] Found
[Jan 10 05:01:03] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:01:05] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 10 05:01:07] == Parsing '/etc/asterisk/manager.conf': [Jan 10 05:01:07] Found
[Jan 10 05:01:07] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 10 05:01:07] == Manager 'sendcron' logged off from 127.0.0.1
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Mon Jan 09, 2012 4:35 pm

ok, so you either did not make contact with the vicidial system, or the all was rejected by iax without executing any cli.

check the debug on vicidial to see if it got any traffic at all.

consider using sip instead of iax

consider using a Vicidial ->Admin->Phone and registering your FreePBX to it as though Vicidial were your VOIP Provider. Then (if you are successful registering and causing cli traffic!) change the Admin->Phone settings to put the phone into the "trunkinbound" context instead of default. Then Vicidial will view the call as a standard inbound DID and route accordingly.

Registration may help at least to resolve the security issues.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ed123 » Mon Jan 09, 2012 5:15 pm

Here is the activity in goautodial

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00016ms SCall: 06517 DCall: 00311 [x.x.x.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
Timestamp: 00003ms SCall: 06517 DCall: 00311 [x.x.x.1:4569]
CAUSE : Registration Refused
CAUSE CODE : 29

x.x.x.1-IP of Freepbx
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Postby williamconley » Mon Jan 09, 2012 5:57 pm

You're gonna have to work out the registration just like you would with a soft phone before you can make a call.

Vicidial sees FreePBX as a soft phone. FreePBX sees Vicidial as a Trunk. Standard methods apply to register to/from trunk / soft phone.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20441
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)


Return to Support

Who is online

Users browsing this forum: No registered users and 407 guests