cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
488
Views
10
Helpful
5
Replies

Unable to call the FXS ports on a SIP device from an external PBX

narcis antonie
Level 1
Level 1

Hello,

First of all I don't have any experience with SIP so if this is a noob question sory.

I have a SIP device (Grandstream GXW4004) with 4 FXS ports and a IP network with H323 telephony (fxs ports on routers with gateways and gatekeepers and an external PBX). I want to place calls from this SIP device to the analog phones on the external PBX. 

The conections are as follows: PBX ->E1 trunk -> CISCO 3745 -> IP network -> CISCO 2811 -> IP network -> GXW4004.

On the CISCO 2811 I have registered the GXW4004 FXS ports.

When I call from the GXW to the PBX it works properly, but when I try to call from the PBX, only the first FXS of the GXW rings.

I don't have a CUCM or a SIP server. Is it possible what I want to do, only with cisco routers or do I need other devices? If yes how should I configure each router?

Thanks in advance 

P.S.: I don't have the registrar on the 3745 because the IOS (12.4 ipvoice) doesn't support voice register commands.

5 Replies 5

Vivek Batra
VIP Alumni
VIP Alumni

Hi,

If you have registered GS gateway to Cisco 2811, then I would suggest to change the configuration and use peer-to-peer instead of registration. This will make configuration much more simple. To do this, configure appropriate dial-peers in router and disable registration in GS gateway. Also enable 'allow outgoing calls w/o registration' in GS gateway.

Cross verify that all of your FXS ports in GS gateway are configured with appropriate number (SIP ID).

After doing this, please share the SIP traces of working and non-working call. You can take traces in Cisco 2811 using 'debug ccsip messages' command.

Thanks

Vivek

narcis antonie
Level 1
Level 1

I have managed to register the SIP FXSs from the Grandstream device on the 2811 using the following config:

voice register global

 mode cme

 source-address <XX.XX.XX.XX> port 5060  // XX.XX.XX.XX Grandstream IPv4 address

 max-dn 35

 max-pool 10

 authenticate register

!

voice register dn  1

 number 101            //Grandstream FXS IDs

 name 101

 label 101

!

voice register dn  2

 number 102

 name 102

 label 102

!

voice register dn  3

 number 103

 name 103

 label 103

!

voice register dn  4

 number 104

 name 104

 label 104

!

voice register pool  1

 id mac 0000.0000.0000

 number 1 dn 1

 dtmf-relay sip-notify

 username 101 password 101 //Grandstream FXS IDs

 codec g711ulaw

!

voice register pool  2

 id mac 0000.0000.0000

 number 1 dn 2

 dtmf-relay sip-notify

 username 102 password 102

 codec g711ulaw

!

voice register pool  3

 id mac 0000.0000.0000

 number 1 dn 3

 dtmf-relay sip-notify

 username 103 password 103

 codec g711ulaw

!

voice register pool  4

 id mac 0000.0000.0000

 number 1 dn 4

 dtmf-relay sip-notify

 username 104 password 104

 codec g711ulaw

And everything worked properly after configuring the proper dial peers on both the CISCO 2811 and the CISCO 3745.

Perhaps someone will find this useful in the future.

Best of luck,

Narcis

Good one +5 for sharing your solution with community.

-Terry

Ditto here!

Thanks for sharing (+5)

Hi Narcis,

Glad to see you got to make it work and thanks for sharing.

Thanks

Vivek