|
Hello,
I am trying to set up a Gradwell incoming IAX trunk with Trixbox 2.1.
Gradwell asks for a IAX destination of the form, IAX2/username:secret@asterisk_ip/pstn_number.
I set up a trunk in trixbox with the username as the USER context, and the following incoming settings:
allow=alaw
auth=plaintext
context=from-pstn
disallow=all
host=193.111.201.100
secret=*****
type=user
where ****** matches the secret in the IAX destination given to Gradwell.
I also set up an incming route matching the PSTN_NUMBER.
When I dial the number from outside, with "iax debug" on, I get the following output before the call is disconnected:
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00015ms SCall: 00016 DCall: 00000 [193.111.201.100:4569]
VERSION : 2
CALLED NUMBER : 02071xxxxxx
CODEC_PREFS : ()
CALLING NUMBER : 00436649663970
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME :
LANGUAGE : en
USERNAME : myuser
FORMAT : 8
CAPABILITY : 65407
ADSICPE : 2
DATE TIME : 2008-01-04 21:47:50
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00004ms SCall: 00001 DCall: 00016 [193.111.201.100:4569]
AUTHMETHODS : 1
USERNAME : myuser
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00004ms SCall: 00001 DCall: 00016 [193.111.201.100:4569]
AUTHMETHODS : 1
USERNAME : myuser
Rx-Frame Retry[Yes] -- OSeqno: 002 ISeqno: 000 Type: IAX Subclass: HANGUP
Timestamp: 18890ms SCall: 00016 DCall: 00000 [193.111.201.100:4569]
CAUSE CODE : 0
Any ideas, anyone?
Thanks! |