SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
wolfnpaulOffline



Joined: Nov 11, 2004
Posts: 18
Location: Vienna, Austria
Status: Offline
Posted: Jan 04, 2008 - 10:01 PM Reply with quote Back to top
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!
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2844
Location: Bath UK
Status: Offline
Posted: Jan 04, 2008 - 10:16 PM Reply with quote Back to top
Hi First things first.

check that your setup matched the howto at http://www.gradwell.net/support/trixbox-iaxin
the cause code is for NU ie number not found so its a context or number matching problem.

Ian
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.