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