Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
FXO establishes connection but gets busy tone? :?
Author Message
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Tue Oct 07, 2008 11:54 am    Post subject: FXO establishes connection but gets busy tone? :? Reply with quote

1. Brekeke Product Name and version:
PBX version 2.1.6.6
2. Java version:

3. OS type and the version:
Windows Server 2003

4. UA (phone), gateway or other hardware/software involved:
Xlite/Cisco 7960series/ SpectraLink Ptx150's/ Grandstream GXW4108
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
Pattern 2 with no FXS.

6. Your problem:

Seems all is fine, I access the FXO with everything fine:
Dial Plan:
T0=sip:9(.*)@ Deploy To=sip:$1@192.168.8.12 <--Grandstream

Basically when the call goes through in the Call Log on the SIPSide shows that it went through successfully.

43 sip:1007@192.168.8.5:5060 sip:5233469@192.168.8.1 Success -1

It dials, sometimes a brief ring then busy tone, or hangs up.

Not sure what I'm missing on the FXO side really, but I'm positive the PBX side is dandy Confused Shocked

Not sure if there is anything in specific that I'm missing on the Grandstream gxw4108. Confused

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Tue Oct 07, 2008 8:57 pm    Post subject: Reply with quote

HI

> Dial Plan:
> T0=sip:9(.*)@ Deploy To=sip:$1@192.168.8.12 <--Grandstream

Is it DialPlan? or Is it ARS??
If it is DialPlan, "$1" should be "%1"..

> Not sure what I'm missing on the FXO side really,

Which audio codec are you using at the FXO and PBX?
Are you using the same codec there?
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Wed Oct 08, 2008 5:25 am    Post subject: Reply with quote

Hey taitan, thanks for the quick response!! Surprised

>Is it DialPlan? or Is it ARS??
ARS I have:
To:sip:9(.+)@ To:sip$@192.168.8.12 <--GrandstreamFXO

DialPlan changed from:
$request=^invite
To=sip:9(.+)@ To=sip:$1@192.168.8.12

Changed as per your suggestion to:
$request=^invite
To=sip:9(.+)@ To=sip:%1@192.168.8.12

Not sure what the difference is between the $ or % in this case, if anyone can explain??

>> Not sure what I'm missing on the FXO side really,
>Which audio codec are you using at the FXO and PBX?
>Are you using the same codec there?

On the FXO side: only using Profile 1 with PCMU and PCMA selected. As for the PBX side, I'm not sure what your referring to on the PBX side if you can clarify maybe?

The only place I find Settings for Codexs on the PBX side is in Options, but I'm not sure what to put in there.

Thanks for your help thus far Smile Now I'm just confused on the audio codex part Confused Laughing

Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Thu Oct 09, 2008 12:27 am    Post subject: Reply with quote

> $request=^invite

Ummm... It should be "$request=^INVITE"..


> On the FXO side: only using Profile 1 with PCMU and PCMA
> selected. As for the PBX side, I'm not sure what your referring
> to on the PBX side if you can clarify maybe?

Brekeke PBX supports PCMU and PCMA. So you don't have to worry about codec.
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Thu Oct 09, 2008 5:35 am    Post subject: Ummm yeah Reply with quote

my fault I guess. It is INVITE, I was too lazy to hold the shift key when I retyped it in my last post. Razz

So k, so the the ARS and the Dial Plan are fine, the PCMU and PCMA settings are fine for the FXO side.

Just so to clarify what I have set that I'm not sure about:
Using 1 Stage Dialing, in the North America.

STARTING with the FXO side

The hardware: Grandstream GXW4108
(8 FXO Ports, but only using 1 for now, trying to get it working first before getting to complex)
Settings:
FXO Lines-Wait for Dial-Tone Yes, Stage Method 1, Delay before Dial PSTN 100ms, T.38 Setting: ch1-8:mode=2,rate=9600,ecm=1; (mode = Passthrough)
Channels - Prefix 9, SIP is handled on PBX side
PSTN Outgoing - {x+}
Profile1 - Sip Server and Proxy points to PBX, Sip Registration No, DNS SRV No, Early Dial No
Advanced Settings, Allow DHCP Option 66 to override server No, Use random port no, Voice Frames per TX = 2
(rest are at defaults)

The PBX Side:
ARS set up properly. RTP Relay default
Options-Settings(all on defaults) RTP relay off, Session Keep Alive 600

The Sip Server Side:
Dial Plan set up properly.
Configurations
System- defaults
SIP - REGISTER ON, INVITE ON, Auth-To:no, Auth-From:no, Thru Reg on
RTP - RTP Relay on
Database - default
Advanced - nothing


Hopes this helps Confused Anything not defined is at their default settings. I'm sure I'm overlooking something small, but just can't seem to spot it.

Thanks for all the help I can get,
Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Fri Oct 10, 2008 9:48 am    Post subject: Reply with quote

From the post below
http://www.brekeke-sip.com/bbs/viewtopic.php?t=6243&highlight=grandstream+gxw4108
Use prefix# (default is 99) + ch# (could be anything from 1 to 8) + dialing# will result in this call forwarded to FXO port (ch#) immediately.

And i don't think you need both dialplan and ARS for dialing to GW
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Tue Oct 14, 2008 6:30 am    Post subject: Reply with quote

hope wrote:
From the post below
http://www.brekeke-sip.com/bbs/viewtopic.php?t=6243&highlight=grandstream+gxw4108
Use prefix# (default is 99) + ch# (could be anything from 1 to Cool + dialing# will result in this call forwarded to FXO port (ch#) immediately.

And i don't think you need both dialplan and ARS for dialing to GW


Thanks for the quick reply hope, I did see that post, but niggy never did say how he resolved the problem. The problem isn't the prefix etc, there's more to it than that, and niggy figured it out. I'm in the same process of turning certain settings on/off, etc, but nothing seems to kick in properly.

I just wished when people have thier problems solved Razz that they post what they did to solve it, or if someone's solution actually helped or not Razz

Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Oct 14, 2008 10:35 am    Post subject: Reply with quote

>>It dials, sometimes a brief ring then busy tone, or hangs up.

Do you have the same problem still?
Can you make a call between X-Lite and SpectraLink Ptx150?
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Tue Oct 14, 2008 12:16 pm    Post subject: Reply with quote

lakeview wrote:
>>It dials, sometimes a brief ring then busy tone, or hangs up.

Do you have the same problem still?
Can you make a call between X-Lite and SpectraLink Ptx150?


yeah that's the thing, I can call everything but through the FXO.

I have an X-lite setup, the SpecraLink Ptx150 and a Cisco IP Phone 7960 series, and I can call each one and vise versa. As for hitting outside, I'm kinda stumped. Confused Now if I use a normal phone directly into the line, no FXO, I have to dial 9+number to reach the outside line. That works fine.

Tried 9+1+9number still doesn't seem to want to go through, so I'm assuming its on the FXO side. I am positive I'm missing something really small, besides my sanity Laughing

Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Oct 14, 2008 3:45 pm    Post subject: Reply with quote

Can you make a call from the outside to a SIP client via FXO gateway?
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Wed Oct 15, 2008 5:29 am    Post subject: Reply with quote

lakeview wrote:
Can you make a call from the outside to a SIP client via FXO gateway?


Um no, I don't have it set up to do so, I'm more concentrating on getting it to dial out first, then figure out the dial in. Doing both would be harder to trouble shoot. Same reason why I'm using the one stage dialing.

Start small to get it working properly first than move on to more challenging tasks. Easier to trouble shoot issues, when you know the basics are working. Smile

I am new to the whole FXO side of things, I understand the whole SIP/PBX side of things at an advance level, no way will I boast expert level Razz not till I know exactly what's going on.

I'm using wireshark as well to watch what's going on, but it doesn't seem to show any errors as it hits the FXO side either, which is why I believe it's how I have the FXO side set up, the manual for the Grandstream just tells you the bare minimum. Anyone who dealt with it, probably may agree. The manual does explain if you are using SIP but not on the FXO side. (ie anything similar to Brekeke or even Asterisk)

Hope this clears up what I'm asking? Confused

Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Oct 15, 2008 10:53 am    Post subject: Reply with quote

Wolf,

Yeah,, I agree with you.

>>It dials, sometimes a brief ring then busy tone, or hangs up.

Let me know more details..
If you dial the outside (your cellphone for example) from the SIP-side, you can hear the ring tone on the caller. Right?
At that time, does the outside's phone ring too?
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Fri Oct 17, 2008 5:33 am    Post subject: Reply with quote

lakeview wrote:
Wolf,

Yeah,, I agree with you.

>>It dials, sometimes a brief ring then busy tone, or hangs up.

Let me know more details..
If you dial the outside (your cellphone for example) from the SIP-side, you can hear the ring tone on the caller. Right?
At that time, does the outside's phone ring too?


Nope, tried an outside phone, still doesn't go through, seems to say 'success' on the Sip log side of things, so the dialplan seems to be fine. And no, it doesn't ring on the outside caller phone, which makes my issue more depressing Crying or Very sad heh.

So my question being, if internal is working, therefore it has to be the Grandstream end. Bah, even browsing the Grandstream forums and still no one to answer on my issue. I'm positive it is a setting or something I didn't set up on the Grandstream side.

Wolf

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Oct 17, 2008 11:04 am    Post subject: Reply with quote

Hi Wolf,

If you set "2 stages-Dialing" at the Grandstream, can you make a call to an outside?

Also, check your Grandstream's firmware version. It should be the latest.
Back to top
View user's profile
WolfricElkrose
Brekeke Member


Joined: 07 Oct 2008
Posts: 10
Location: Canada

PostPosted: Fri Oct 17, 2008 12:42 pm    Post subject: Reply with quote

lakeview wrote:
Hi Wolf,

If you set "2 stages-Dialing" at the Grandstream, can you make a call to an outside?

Also, check your Grandstream's firmware version. It should be the latest.


Hmmm, switched to 2 stages, still no go.

The firmware is up to date, I swear there's something out that I'm missing, and it's a really small thing too Crying or Very sad

Bet when I figure it out, I'll be ready for the crazy room.... Laughing

Wolf Cool

_________________
"Life is a journey not a Destination"
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Oct 17, 2008 1:41 pm    Post subject: Reply with quote

With "2 stages-Dialing" mode, can you hear any tone after you connect to the Grandstream from a SIP client?
At that time, can you dial an outside phone number?
Back to top
View user's profile
tagaamo
Brekeke Member


Joined: 28 Feb 2008
Posts: 14
Location: Philippnes

PostPosted: Fri Oct 24, 2008 7:06 pm    Post subject: Reply with quote

Hi Wolf

hope this can help.....

using GXW-4108 PLEASE CREATE ASR remove your dial plan
Patterns - OUT only disable Patterns - IN

Matching patterns
TO: sip:9(.*)@

Deploy patterns
TO: sip:$1@192.168.0.2

click SAVE and UPDATE

where 192.168.0.2 is the IP adress of GXW-4108

on GXW-4108 go to FXO Lines menu

set 1 stage dialing
set Unconditional Call Forward to VOIP: ch1-8:100
where 100 is your auto attendant

save your setting and restart GXW

now to call outside line ex. Tel No. 1234567 dial 91234567

It is recomended that you use 1 stage dialing cause when incoming call from PSTN phone must go directly to auto attendant, they must not hear dialtone.


Last edited by tagaamo on Fri Oct 24, 2008 7:48 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website Yahoo Messenger
tagaamo
Brekeke Member


Joined: 28 Feb 2008
Posts: 14
Location: Philippnes

PostPosted: Fri Oct 24, 2008 7:44 pm    Post subject: Reply with quote

WolfricElkrose wrote:
lakeview wrote:
Hi Wolf,

If you set "2 stages-Dialing" at the Grandstream, can you make a call to an outside?

Also, check your Grandstream's firmware version. It should be the latest.


Hmmm, switched to 2 stages, still no go.

The firmware is up to date, I swear there's something out that I'm missing, and it's a really small thing too Crying or Very sad

Bet when I figure it out, I'll be ready for the crazy room.... Laughing

Wolf Cool


If you want to set to 2 stage dialing you must first create user on sip server and set SIP Registration: YES

it must be regestered to the sip server then dial that No. and then you get dialtone

ex. create user on SIP server ex. 100 and set password too

then go to GXW on Channel menu
ex. Channel 1
SIP User ID: 100
Authenticate ID: 100
Authen Password: your password here
Profile ID: profile 1

then go to Profile 1 menu

SIP Server: your SIP server
SIP Registration: YES

restart GXW

be sure that PSTN line is connected to channel 1 of GXW channel

now try to dial 100 from your sipphone you should hear dialtone from PSTN line then you can dial 7 digit outside No.
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1