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
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 05, 2008 - 03:54 AM Reply with quote Back to top
Hi there!

I've got problems making a GXW4108 gateway with asterisk. I followed all the existing tutorials but still, no success. Need your help, I'm completely stuck!

Here is what I want to do:

Link my GXW4108 gateway with Asterisk, so that all my external calls (incoming and outgoing) are going through my gateway. My FXO lines being connected to it. That's it. So for example, when I dial 9 9613 3214 on my IP phone, Asterisk takes the call and make it through my GXW4108 FXO lines! Easy?

Here is what I do so far:

Under sip.conf:

[101]
type=peer
context=outbound_calls
host=192.168.10.27 (GXW4108 address)
insecure=port

Under extensions.conf:

[outbound_calls]
exten=_9NXXXXXXX,1,Dial(SIP/${EXTEN}@101) (I've also tried with (SIP/101/${EXTEN})

GXW4108 config

Everything is default, except:
-Profile 1 :
SIP server to 192.168.10.24 (Asterisk srvr address)
SIP Registration to NO
-FXO lines :
Wait for dial tone to YES
Stage method to 1

On my phone
When I dial 9 9645 2145, I get:
"Call failed
Reason code: 503"

Thanks a lot for your help! My hair is turning gray..
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 06, 2008 - 01:27 AM Reply with quote Back to top
No ideas at all?
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Mar 06, 2008 - 09:07 AM Reply with quote Back to top
Hi.

I just send the calls straight to the IP address of the gateway

exten=_9NXXXXXXX,1,Dial(SIP/${EXTEN}@192.168.10.27)

Works fine and im sure its what the notes say as well

Ian
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 07, 2008 - 05:42 AM Reply with quote Back to top
Thx for your answer!

I've made the change, but it still gives me the same error.. 503
I don't get it.. Why isn't it working? Is there anything else I need to configure?
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Mar 07, 2008 - 08:17 AM Reply with quote Back to top
Hi

You need to follow the notes in full on from the GS site.

I dont think you have made all the changes yet.

I do have a set of screen shots but am out today so wont be able to post them till later

Ian
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 07, 2008 - 08:58 AM Reply with quote Back to top
Hi,

Ok thanks, if you can send my your screen shots, it'd be great!
The GS tutorial is very short and if you want to use the gateway as a peer. It just says to change a few things, and I've done that..

Thx for you help!
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Mar 07, 2008 - 07:22 PM Reply with quote Back to top
Hi Here are the screen shots as promissed

http://cyber-cottage.co.uk/site/images/ ... an4108.pdf

Ian
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 10, 2008 - 02:50 AM Reply with quote Back to top
Thx a lot for your screenshot!
My configuration is still not working and I've got some questions regarding yours.

Why are you registering SIP numbers (under channels)? I though a peer gateway wasn't needing any of them..

What's that Unconditional Call Forward setting for?

How did you choose your caller ID scheme? And the Vocoders?

Thx a lot for your help!
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 10, 2008 - 10:02 AM Reply with quote Back to top
Ok, I get the unconditional call forward.. What about the rest?
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Mar 10, 2008 - 10:54 AM Reply with quote Back to top
Why are you registering SIP numbers (under channels)? I though a peer gateway wasn't needing any of them..

They are for sending calls from the gateway to asterisk, Im sure it was described this way in the notes I first used.


How did you choose your caller ID scheme? And the Vocoders?

Im in the UK so I selected the callerID that works here and as for codecs these are the ones I wanted to allow.


This config works as I have a number of these gateways on customer sites all setup this way.

Ian
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 34

Status: Offline
Posted: Mar 11, 2008 - 08:06 AM Reply with quote Back to top
Thanks a lot for all your help, I found my error.

The "Prefix to Specify Port(1 stage dialing method)" was set to 99. In my dial plan I use 9 as a prefix for outbound calls, and Hong-Kong mobile phone numbers start with 9 most of the time. Thus, I was dialing numbers starting with 99 and the gateway was using this "Specify port" function.

Thanks again
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.