Multi-FXO IP ATA?

paulrausch
Posts: 66
Member Since:
2008-08-13

In the past I've used Digium and Rhino PCI and PCI-E cards to handle FXO/FXS. I can't help but realise that in a lot of cases it would be very helpful to take the FXO card out of the server and put it into a network controlled device. I've been looking at the Linksys SPA400, and I'm thinking of ordering one for testing but I figured I'd ask the community first. Do you guys know of anything that'll fit this roll? I'm looking for something with around 4 FXO ports. Should be something I can install for commercial customers.

Thanks!



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Cisco routers with FXO

Cisco routers with FXO interfaces have hands down the best call quality. Customers are comfortable with them due to the brand name and any Cisco guy can configure.

Used ones are cheap as 2 day old stinking mackerel on eBay. 1751 has 2 vwic slots desktop form factor. 2600 has 2 vwic slots and is rack mount form factor.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I've actually installed this

I've actually installed this before on Corporate jobs. I just assumed they were way too expensive for this project. I'll go ahead and see if I can find some 4 Port VWICs that will do what I'm looking for. I'm a CCNA so hopefully I won't have too much of a nightmare configuring them.

IF anyone else has any other suggestions feel free to chime in. As reliable as Cisco hardware is, it has it's quirks.

Greenwire IT
Personal Site



SkykingOH
Posts: 9538
Member Since:
2007-12-17
A two second look

Router - $65.00 230346396087
FXO VIC-2FXO - $48.00 390056011204

Total cost $150.00 for 4 ports. The hybrids are excellent on the VIC's they sound terrific. SIP has been in IOS for quite some time so I am not sure what would be defined as quirky.

The nice thing about this router is it has the firewall software so it could also function as the edge router. You can use DSL a DSL wic along with the vic's. It even has the VPN software.

Here is a link to installation and specifications on this router

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I think you sold me Scott.

I think you sold me Scott. 150$ for a Four Port Cisco Gateway and 4 FXO ports is irresistible. I'll go ahead and order one for testing.

Thanks again!



paulrausch
Posts: 66
Member Since:
2008-08-13
I went ahead about those two

I went ahead about those two exact items. We'll see how it turns out. I'm interested to see how well the SIP Trunks work with Asterisk.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
DSP's

I did forget to tell you one thing, most 1751's shipped with the PVDM (DSP) DIMM, if this one did not you will have to hunt up a PVDM on eBay. If you need one in a jiffy PM me I have a bunch of them I can harvest off of NM-HDV that I have pulled out of service.

Scott

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Thanks, I went ahead and

Thanks, I went ahead and messaged the seller asking him. If it doesn't I saw a few on eBay for around 25$. This is kind of a testbed so I have time to work out the kinks.

Thanks again.



paulrausch
Posts: 66
Member Since:
2008-08-13
I offered 20$ shipped for a

I offered 20$ shipped for a 12 Channel on eBay, and the guy accepted it. Foresee any problems with this one, http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=290293838680 ?



SkykingOH
Posts: 9538
Member Since:
2007-12-17
No, that's a great deal.

No, that's a great deal. let me know how it works out.

We can put a definitive Cisco entry in the wiki if you want to collaborate. I have a working PRI config for as-5x00 and NM-HDV stuff.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I noticed it says PVDM2

I noticed it says PVDM2 instead of PVDM, any idea what the difference is?

I've love to, I know there are other people in my position, and this project is going to cost me less than a Linksys SPA400. That's a steal.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
That caught my eye also. I

That caught my eye also. I have not had time to look it up, I will tomorrow. Ping me if I forget.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Paging Scott 'SkykingOH' to

Paging Scott 'SkykingOH' to this thread! I sent a message to the guy I bought the DSP from, no response. I really hope I didn't actually buy the SIMM version. If so, 20$ isn't a catastrophe.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Bad news, PVDM2 not

Bad news, PVDM2 not supported on this platform.

http://www.cisco.com/en/US/prod/collateral/routers/ps5854/product...

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Damn, that's alright, I'll

Damn, that's alright, I'll list it for 25$ buy it now with free shipping and break even :D

Take a look see at this one: http://cgi.ebay.com/CISCO-PVDM-12-12-Channel-Packet-Voice-Fax-NM-HDV_W0QQitemZ300318514619QQcmdZViewItemQQptZCOMP_EN_Routers?hash=item45ec60ddbb&_trksid=p3286.c0.m14&_trkparms=72:570|66:2|65:12|39:1|240:1318|301:0|293:1|294:50



paulrausch
Posts: 66
Member Since:
2008-08-13
and this one:

and this one: http://cgi.ebay.com/PVDM-12-Cisco-12-Channel-Packet-Voice-DSP-Module_W0QQitemZ370210784673QQcmdZViewItemQQptZCOMP_EN_Routers?hash=item56324845a1&_trksid=p3286.c0.m14&_trkparms=72:570|66:2|65:12|39:1|240:1318|301:0|293:1|294:50



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Yeah - those are the right

Yeah - those are the right ones. You made me work, I only posted auction ID's you posted the whole screwed up URL.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
haha, sorry about that. I

haha, sorry about that. I guess I can safely deduce that trixbox forums don't parse links. I'll go ahead and order one of these guys then. The Router shipped today so should have it by next week.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Look like a pro, get the

Look like a pro, get the BBCode plug in for Firefox. format your posts easy.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
The 1751 arrived today. I

The 1751 arrived today. I went ahead and hooked it up and booted up minicom. Potential concern, look like the 15.4 IP Voice IOS release wants 94mb of RAM and this router only has 64MB. Any advice? I'll check out eBay later this afternoon for another ram module. I might be able to use an older firmware but I figured I'd ask to see if you had any experience with this. The FXO card and the PVDM should be arriving next week. It's a neat little router.

Looks like it has two WICs and one VIC. So it'll be perfect to get familiar with Cisco Voice on.

I use Chrome ;) But I do miss Firefox extensions a lot.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
So the router already had a

So the router already had a PVDM? That is why I suggested you wait.

I have not upgraded anything I have to 12.4 yet, too many things have changed. Here is the build I run my gateways on:

I also included a working Asterisk Dial Peer. It's for a PRI however it should get you pointed in the right direction I sanitized incoming called number field, you don't need it, I use it to redirect DID's to different serves.


MAI_PRI_Gateway#sh ve
Cisco Internetwork Operating System Software
IOS (tm) 3600 Software (C3620-IS-M), Version 12.2(13)T9,  RELEASE SOFTWARE (fc2)
TAC Support: <a href="http://www.cisco.com/tac" title="http://www.cisco.com/tac">http://www.cisco.com/tac</a>
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Thu 02-Oct-03 10:54 by pwade
Image text-base: 0x6000891C, data-base: 0x61850000

ROM: System Bootstrap, Version 11.1(7)AX [kuong (7)AX], EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)

MAI_PRI_Gateway uptime is 30 weeks, 6 days, 3 hours, 20 minutes
System returned to ROM by power-on
System image file is "flash:c3620-is-mz.122-13.T9.bin"

cisco 3620 (R4700) processor (revision 0x81) with 53248K/12288K bytes of memory.
Processor board ID 03063454
R4700 CPU at 80Mhz, Implementation 33, Rev 1.0
Bridging software.
X.25 software, Version 3.0.0.
Primary Rate ISDN software, Version 1.1.
1 FastEthernet/IEEE 802.3 interface(s)
25 Serial network interface(s)
1 Channelized T1/PRI port(s)
DRAM configuration is 32 bits wide with parity disabled.
29K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

dial-peer voice 100 pots
 preference 2
 destination-pattern .T
 direct-inward-dial
 port 0/0:23
 forward-digits all
!
dial-peer voice 2 voip
 description Route Calls to Asterisk
 preference 1
 incoming called-number 216xxxxxxx
 destination-pattern .T
 session protocol sipv2
 session target ipv4:192.168.10.252
 session transport udp
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
!
gateway
!
sip-ua
 retry invite 2
 retry response 3
 retry bye 3
 retry prack 6
 timers expires 300000
 sip-server ipv4:192.168.10.252
 no transport tcp
!
!
--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
No, I emailed the seller and

No, I emailed the seller and asked him about the PVDM, that's why I went ahead and ordered one before the router arrived. I knew it was PVDM-less. I'm waiting on the PVDM and the VIC right now. When they arrive I'll get to business.

I'll go ahead and browse through the IOS releases and find the latest voice firmware that'll fit on the 1751.

Have you had good experiences with passing CID info from the PSTN to Asterisk?



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Quote: Have you had good
Quote:
Have you had good experiences with passing CID info from the PSTN to Asterisk?

The config I sent you forwards caller-id

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I saw that. Perhaps I should

I saw that. Perhaps I should better phrase myself. What I meant was, have you had good experiences with it passing CID Lookup info?

i.e. John Doe



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Quote: CID Lookup info You
Quote:
CID Lookup info

You mean name data? Never tried I do that downstream.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
The VIC-2FXO arrived today.

The VIC-2FXO arrived today. I went ahead and installed it. Naturally it didn't show up without the PVDM installed. Hopefully that will arrive tomorrow or the day after.



paulrausch
Posts: 66
Member Since:
2008-08-13
PVDM arrived, no PVDM light,

PVDM arrived, no PVDM light, so I did some further inspecting. sh diag did not see the PVDM or the VIC listed. At first I thought I would need a Voice IOS, but unfortunately it looks like both of the PVDMs I ordered are not correct. The 1751 apparently requires the PVDM-256K. I now have a PVDM2-12 and a PVDM-12 both probably worth something for someone else, but not much use for my 1751.

http://www.cisco.com/en/US/products/hw/routers/ps221/products_dat...

Any advice? I would jump back on eBay for a third go, but it looks like most of the reasonably priced PVDMs are in China or Hong Kong, and I'd rather not wait three weeks for a PVDM. If you have any of these around I'd be more than happy to reimburse you for your trouble.

I'm going to try and score Item number: 140325866039 but it's still two days out. I sent some messages to the Chinese sellers looking for estimates on arrival times. We'll see what they say.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Amazing looks like I screwed

Amazing looks like I screwed up, sorry. I will hunt around tomorrow. I have at least a dozen laying around, not sure if any are -256. I am three 1751's in need of PVDM's. I have had mixed bag of luck with Chinese sellers.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Bought a PVDM-256K-4 for 33

Bought a PVDM-256K-4 for 33 shipped from HK. Guy said he ships 2/3 day DHL. I'll let you know how it turns out.

Thanks anyway for the advice, as soon as I get this PVDM problem out of the way it's going to be interesting writing a guide for these.



paulrausch
Posts: 66
Member Since:
2008-08-13
The other PVDM arrived today

The other PVDM arrived today (not the 256K from China). They both look almost identical, same form factor and everything.

One is
73-3691-02
the other is
73-3691-01

Both Fit in the 1751, however I didn't bother booting it up to test it as it seems pretty obvious that the -256K is required. I saw some auctions that attempted to warn users shopping for the 1751 to buy the -256K version.



kspare
Posts: 673
Member Since:
2007-02-16
In theory, you could use a

In theory, you could use a cisco router with a couple bri interfaces as well?

Up in canada isdn was pretty popular and t1s are still pretty expensive. I'm thinking this might sold some problems for me as the diva cards aren't so easy to configure!



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Yes, you could terminate 4

Yes, you could terminate 4 BRI lines on the 1751 for a total of 8 B channels. You could even have dynamic voice and data if you wanted.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I got a little crazy and I

I got a little crazy and I bought this 1760 as well: 200349335345



SkykingOH
Posts: 9538
Member Since:
2007-12-17
That is an astonishingly

That is an astonishingly good deal.

It helps that he listed it as four Ethernet ports when it has a T1 WIC, two FXO's and an Ethernet port. You can almost bet your lunch that PVDM is included.

Great eBay hunting. Figure that router is $1500 list.

After three years of preaching the value proposition of the secondary market your the first guy who 'gets it'

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
haha, I thought that was

haha, I thought that was particularly precious when I saw it said (4x) Ethernet. I was debating sending him a complaint when it arrived that it in fact only had 1FE instead of the 4ESW I was promised. Or maybe complaining that the RJ48X/Console port doesn't work correctly with my Ethernet switch. After stealing it for 100$ though I don't think I could bring myself to that. I am thinking about picking up one of those 4ESWs for around 50$ and using it to get rid of the 5pt in my wiring closet.

I don't think I've ever purchased a single piece of Cisco hardware first hand. It's just not cost-practical most of the time. I really wish it was because it'd be a lot easier to standardise builds and hardware. I guess I'll have to just be content that each IP Gateway I build will be slightly different!

I know you mentioned you could use some PVDM-256Ks, here is one that might go for pretty cheap: 140325866039 put in a snipe for one of those 1751s you have laying around.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
I could not beat a seller up

I could not beat a seller up like that either, it would be adding insult to injury.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Alright, that's it. I bought

Alright, that's it. I bought my last piece 110399395745 . I'm done with eBay for a while. The whole router with the MOD-VPN, the 4ESW and Modem was cheaper than just the WIC-4ESW alone. I'm going to cannabalise it.

Here's my total haul
$60 Cisco 1711 w VPN-MOD, Modem, 4ESW 96DRAM
$50 + $40 + $30Cisco 1751 w VPN-MOD, 2FXO, PVDM-256K-4
$120 Cisco 1760 w 2FXO T1 CSU/DSU
Grand Total $300.
That's assuming I can sell my two PVDMs for 30$/pop which I don't imagine being a problem.

That means for 300$ I got:

Cisco 1751 w/ VPN / 2FXO / PVDM / 96DRAM / T1 DSU/CSU
Cisco 1760 w/ VPN / 2FXO / PVDM / 96DRAM / T1 DSU/CSU / Modem / 4Port Switch

I don't think I can imagine a better lab environment to play with. Having these two VPN modules means that I should be able to play with doing SIP over encrypted VPN.

Do you know if you can configure the FE ports on the 4ESW as normal fe routing interfaces or will they only function as switch ports?



SkykingOH
Posts: 9538
Member Since:
2007-12-17
If you look at the output

If you look at the output int the forum post each FA port is a discrete interface. You should be able to route away.

That router does not have much HP so don't expect it to route more that 10-20k packets per second. Much less with access lists or route maps.

The VPN IPsec stuff is interesting however if you are just doing voip and don't want to encrypt I always use GRE tunnel. Much lighter weight and since the tunnel is an interface you can assign a QoS policy to the interface.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Excellent advice. I don't

Excellent advice. I don't plan on using them for anything except as a VoIP lab, although I'd like to push them in terms of the number of features I can use (QoS/VLAN/IPSec) simultaniously. So I can transfer these skills to a production environment down the road. I don't plan on using more than one of the switch ports for a routing interface.

I looked up some information on specific pps routing abilities. The 1751 can do 12000pps and the 1760 can do 16000 (No ACL/Route Maps). So you were right on. I've always been a bit curious about this. Does MTU much effect how many pps a router can process? With a MTU of 1500bytes, that comes out to 15,000 x 1500 = 22,500kbytes/sec or 180mbps. However at 64byte packets that comes out to 7.68mbps. I guess it boils down to, what kind of actual throughput do you think I should expect from these, assuming no QoS/ACL/etc.

That's very interesting about GRE, I'll have to play with that, having QoS control over the tunnel would be helpful. Some applications require encryption on public networks (HIPAA) so it'd be neat to be familiar with SIP over IPsec. In the past I've used ssh or stunnel.

I've read that you can pass GRE over an IPsec VPN. Theoretically couldn't you establish a GRE connection over an IPSec tunnel and then use QoS within the GRE interface?



SkykingOH
Posts: 9538
Member Since:
2007-12-17
It will work great in a lab

It will work great in a lab environment. You should be able to do most anything.

Quote:
So you were right on

In the late 90's I was SE manager for a large Cisco Partner in the Great Lake, lot of experience with Cisco (almost 15 years!) PPS not effected by MTU. Frame Buffers are hard coded and hardware assisted, it is more complex than that (especially in the newer ASIC's) but I make the point.

Quote:
I've read that you can pass GRE over an IPsec VPN

Yes you can and it's still the only way to forward DHCP through an IPSEC tunnel. Be very careful and increase the MTU on the GRE interface or you will have fragmentation. You can control the DF bit in a route map.

The SIP-UA in IOS has been vastly improved in 12.4 Should be able to do some trick configurations with Asterisk.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
One missed question: I guess

One missed question:

I guess it boils down to, what kind of actual throughput do you think I should expect from these, assuming no QoS/ACL/etc?

I'm going to start writing the article in a little bit. At least a preliminary section explaining the hardware (VICs/PVDMs) etc.



gavoipnewguy
Posts: 3
Member Since:
2009-06-12
Reqesting more information on this interesting setup

I'm new to the the TB CE scene and have been following this thread with great interest. I'm doing some work this summer with a non profit that is trying to get a handle on a really messed up voice setup in a remote office. Currently that setup has 4 analog lines going to a set of miswired collection of 4 line phones. No IVR. No individual VM. No paging. No call transfer. A real mess.

I've been researching Asterisk and TB CE for the last couple of weeks and have a throwaway test setup in the main office using a couple of GrandStream BT200 hardphones, some softphones, and a single X100P clone for testing. Other than the X100P not hanging up outside calls, everything is working pretty well.

For now it looks like the 4 analog lines will remain at the remote location and serve as the PSTN interface for that location. The lines are set up in a hunt group.

I have a fair handle on TB CE, the phones, and the PBX. But I have concerns about the trunking. I've read every post in this forum back for at least 40 pages, and from both a cost an effectiveness standpoint, the possibility of using Cisco equipment acquired in the secondary market along with a 4FXO analog interface looks like a winner as compared to Digium/Rhino PCI cards or other gateways such as GransStream or Linksys. Even better it seems that the Cisco equipment could serve as the edge router/firewall for the office of 6 people with a single DSL interface.

But I'm not a Cisco guy so I'm learning on the fly.

Bottom line is that I was trying to parse this page:

http://cisco.com/en/US/products/hw/routers/ps27/products_tech_not...

To understand which router would I need to use a VIC2-4FX0 or VIC2-4FXO-M1 card. The proposed data closet will have a rack, so a rack mount router would be ideal.

Any help would be great.

Thanks,

gavoipnewguy



SkykingOH
Posts: 9538
Member Since:
2007-12-17
VIC2's are newer and would

VIC2's are newer and would require a far more expensive router. There is not a functional difference.

A 2610 with a NM-2V and 2 dual FXO cards would be a very cheap rack mount setup. We are working on a wiki entry with complete details. You should run IOS 12.2 anything newer will take quite a bit more RAM and FLASH.

--

Scott

aka "Skyking"



gavoipnewguy
Posts: 3
Member Since:
2009-06-12
I presume that...

maxing out the memory on the 2610, which seems to be 64 MB, would be a good idea, right?

gavoipnewguy



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Maxing out the Memory (and

Maxing out the Memory (and flash) is never a bad thing.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Packet Voice DSP

Packet Voice DSP Module Slot 0:
Hardware Revision : 3.2
Part Number : 73-6726-01
Board Revision : A0
Deviation Number : 0-0
Fab Version : 03
PCB Serial Number : VIC103500M7
RMA Test History : 00
RMA Number : 0-0-0-0
RMA History : 00
Processor type : 02
Number of DSP's : 1
DSP memory size(in kwords): 256
Type of DSP : TMS320C549
Product (FRU) Number : PVDM-256K-4=
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF 40 02 AC 41 03 02 82 49 1A 46 01 42 41 30
0x10: 80 00 00 00 00 02 03 C1 8B 56 49 43 31 30 33 35
0x20: 30 30 4D 37 03 00 81 00 00 00 00 04 00 09 02 FF

Packet Voice DSP Module Slot 1:
Not populated

WIC/VIC Slot 0:
Dual FXO Voice Interface Card
Hardware revision 1.1 Board revision J0
Serial number 0026689196 Part number 800-02495-01
FRU Part Number VIC-2FXO=

I'm a very happy man.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Excellent, let me know how

Excellent, let me know how the trunk building goes. Inbound is a no brainer, I should have posted this also....trunk config.

host=192.168.10.192
username=mg1
disallow=all
allow=ulaw
type=peer
dtmf=rfc2833
insecure=very
canreinvite=no
context=from-trunk
qualify=yes

The username is unneeded however it prints in the CDR so I add it. You don't need an entry in the inbound side this will take care of both.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
Alright, two problems. Good

Alright, two problems. Good news is i have some audio working, and it sounds absolutely fantastic.

First issue, when attempting an outbound call router is giving me a Service Unavailable message. Which means I probably screwed up something in the router config.

 -- Called cisco1751/12394105974
    -- Got SIP response 503 "Service Unavailable" back from 192.168.1.8
    -- SIP/cisco1751-09f0cba0 is circuit-busy

Here is my current config:

voice-port 0/0
 no vad
!
voice-port 0/1
 description Not in Use
!
!
!
dial-peer voice 1 pots
 preference 2
 destination-pattern .T
 port 0/0
 forward-digits all
!
dial-peer voice 2 pots
 description Currently Unused
 port 0/1
!
dial-peer voice 10 voip
 description PSTN-to-Asterisk
 preference 1
 destination-pattern .T
 session protocol sipv2
 session target ipv4:192.168.1.1
 session transport udp
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
!
sip-ua 
 retry invite 2
 retry response 3
 retry bye 3
 retry prack 6
 timers expires 300000
 sip-server ipv4:192.168.1.1
 no transport tcp
!

Very similar to yours, however, I'm not 100% sure of what I should be using in some fields.

and Issue 2:

Probably another screw up on my part, when I dial into the phone number on the router, the phone picks up, then broadcasts a dialtone. I then have to type in an extension before it will initiate a connection to asterisk: edit: It doesn't seem to matter what I actually enter, it's just necessary to end some numbers.

    -- Called 100
    -- SIP/100-09f0cba0 is ringing
    -- SIP/100-09f0cba0 answered SIP/cisco1751-b7929890


SkykingOH
Posts: 9538
Member Since:
2007-12-17
The entering some numbers to

The entering some numbers to complete the call makes sense. I send you a config for DID's. Since POTS doesn't feed numbers inband I am sure what you are entering appears as the CID.

I have a cookout tonight or I would go digging.

FXO's need to be in PLAR mode if memory serves me correct to forward. You also need to have caller-id enabled on the physical port.

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I added connection plar

I added

connection plar 20
also tried this with matching dial-peer
connection plar opx 2395495555

and tinkered with the destination-pattern settings a bit. Nothing has changed though. This guide seems to be pretty good. http://www.cisco.com/en/US/tech/tk1077/technologies_configuration...
haha, not good enough though ;)

I'm getting mixed information from a variety of sources. Some say caller-id works on the VIC-2FXO others say it doesn't. Official word seems to be, that it's only supported on the VIC-2FXO-M1 and M2. But a guy over at voip-info reported his working. http://www.voip-info.org/wiki/view/Asterisk+cisco+FXO I have a feeling he may have just misidentified his 2FXO card.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
That information is old and

That information is old and sketchy on voip-info.

Battery reversal is not part of caller-ID.

The standard modules support Bell103a style caller-ID presentation.

I want to get your inbound working though. Have you debugged on the Cisco? When you dial with the plar statement does it send out a SIP invite?

--

Scott

aka "Skyking"



paulrausch
Posts: 66
Member Since:
2008-08-13
I guess this makes it even

I guess this makes it even more clear why a definitive guide is going to be helpful. I went ahead and PMed you some network login information so you can take a look at it yourself. Let me know if I missed anything. If you need to attach to asterisk let me know and I can add you to the asterisk group.



mbellot
Posts: 18
Member Since:
2008-11-25
A guide would be most

A guide would be most welcome indeed.

I had found through Google an old (almost a year) post from Scott talking of success with the 1750 and PM'ed him. He kindly pointed me to this thread. (Thanks SkykingOH!)

I've had a system with one SPA3000 and one PAP2 running for over half a year, but this is a completely different animal. I'd never been thrilled with the call quality of the SPA/PAP2, but it was "good enough" for my meager needs.

The SPA3000 blew up, literally. I get a green light but nothing else, no web interface, not even the fail-over relay clicks when power is applied like it used to...

I ended up on ebay. After some searching and multiple bids I built myself a 1750 with one VIC-2FXS and one VIC-2FXO-M1 (for caller id), PVDM-12, 48MB DRAM and 16MB Flash, IOS IP/Voice Plus firmware 1.23(26).

It seems that most of the "normal" SIP stuff (registration/authentication - what I'm used to with the SPA and PAP2) found its way in to IOS after they discontinued support of the 1750, but reading through the configurations posted here I'm not seeing that used so I'm hopeful I can get this up and running.

I'm still trying to wrap my head around the interactions in the configuration. I understand the voice-port command configures the physical card/port, and that the dial-peer command (somehow) sets up the associations but that's where it all starts to unravel in my head. I'm about as far from a CCNA/CCNE as you can get and still be able to understand the basic workings of an IP-PBX. :)

One basic question up front that might help me understand the configurations better... Do the numerical tags like the 100 in "dial-peer voice 100 pots" or the 2 in "dial-peer voice 2 voip" mean anything to the TB settings? Or are the TB "settings" somehow specified in the destination-pattern (or other variables under the dial-peer group)?

I've already downloaded the VoIP Quick Start Guide and the IOS Voice Command reference from Cisco (which is just shy of 3000 pages!) as cures for insomnia. Any help you can provide would be great.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
So you don't get aggravated

So you don't get aggravated it appears as if both of us have been busy as I have not heard from the OP in a week. As soon as he pops back up you can leach off of us.

I have not messed with Analog in well over a year, everything is ISDN not (PRI's) on Cisco however all the principals apply.

The thread here and on voip-info is very close.

You don't need to authenticate when the two boxes are trusted. The examples in this thread point that out.

The numbers after the dial-peer are priority numbers. I would stick with a Cisco Gateway cookbook and use the reference for what it is for, a reference.

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Scott, I hate to think of it

Scott,

I hate to think of it as "leaching", I would like to try and learn how it all goes together rather than just copying something verbatim for a post off the forums.

I'll look into picking up a Cisco gateway reference (any suggestions?) as well as trying to spend some additional time with the two I already found on the Cisco website.

Moving a bit off the FXO subject, is setting up an FXS much different? Ideally I'd like to retire the PAP2 and get the VIC-2FXS running as well.

Thanks for the pointer to voip-info, I'll look that up as well.

Mark

BTW - Don't worry about aggravating me (not that you would). I'm doing this in between my day job, sifting through pictures from two dance recitals and working on an engineering consulting job for an RF transmitter. Oh yeah, I also have three young girls that demand almost constant attention. I understand busy. :)



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Using the FXS is just like

Using the FXS is just like registering an extension. You supply the username and secret. Make sure you set transport to UDP.

I thought I would do a little searching for you and found this, looks very promising.

http://forums.whirlpool.net.au/forum-replies-archive.cfm/628683.html

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Scott, I appreciate the

Scott,

I appreciate the link. I've already been there, done that, no love earlier in the week.

The problem lies in the authentication line... Here is what I get from my 1750.

cisco1750(config)#voice-port 1/0
cisco1750(config-voiceport)#mwi
                             ^
% Invalid input detected at '^' marker.

cisco1750(config-voiceport)#station-id number 1001
cisco1750(config-voiceport)#exit
cisco1750(config)#dial-peer voice 1001 pots
cisco1750(config-dial-peer)#destination-pattern 1001
cisco1750(config-dial-peer)#direct-inward-dial
cisco1750(config-dial-peer)#port 1/0
cisco1750(config-dial-peer)#authentication username 160 password 160
                             ^
% Invalid input detected at '^' marker.

cisco1750(config-dial-peer)#

The only thing I changed was the physical port assignment. My FXS is in Slot 1, so the ports are 1/0 and 1/1. I'm not too concerned about the mwi error in the port setup, message waiting indication support is not critical.

What I find truly odd is that the firmware isn't that old (Compiled Mon 17-Mar-08 14:24 by dchih), so I would expect it to work given that the thread you linked is from 2006.

Either the 1750 does not support SIP authentication (hard to believe, but not impossible) or there is something that needs to be enabled/configured first. Since you had posted success with the 1750 (a year ago I realize) I had great hope.

Further confusing the entire issue is trying to decipher Cisco's revision numbering scheme. According to The June 2007 IOS Voice Command Reference, "mwi" was added as of IOS 12.3(8)T so why wouldn't I have it in 12.3(26) which was released in March 2008?

I really appreciate your help, this has been frustrating me for almost a week already.

Mark



SkykingOH
Posts: 9538
Member Since:
2007-12-17
It's not so much the IOS

It's not so much the IOS Version number it's the feature set.

Do you have access to Cisco's web site? The software tool lets you search on feature and command.

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Scott, Yes, there is a

Scott,

Yes, there is a public (or so it seems) version of the IOS feature tool that lets me search based on platform, IOS revision and features.

I am running the latest IP/VOICE PLUS version available for the 1750. What feature or command should I be looking for?

Is there any way you can find out which IOS you were running on the 1750's that you had working? (Unlikely I know, but I had to ask).

Thanks

Mark



SkykingOH
Posts: 9538
Member Since:
2007-12-17
I have test routers that I

I have test routers that I can figure this out for you. I had the same problem on a 3600 and worked it out recently.

I am on customer site today, won't have a chance to look until tomorrow.

--

Scott

aka "Skyking"



vijayaa
Posts: 75
Member Since:
2006-06-14
Sample config for Cisco FXS

Here is a sample config for Cisco FXS that works for me.

voice-port 1/0
cptone GB
caller-id alerting line-reversal
!
dial-peer voice 1000 pots
destination-pattern 100
port 1/0
authentication username 100 password sippassword
!
sip-ua
retry invite 1
registrar ipv4:192.168.1.12 expires 3600
!



mbellot
Posts: 18
Member Since:
2008-11-25
Scott, That would be very

Scott,

That would be very kind of you, I'm ever so close to pulling the trigger on a 1751 since they seem to be much less hassle.

I'll hold off for another couple days to see if you/we get anywhere.

Thanks again!

Mark

vijayaa - read my post above, my 1750 is spitting out an error on the

authentication username 100 password sippassword

I appreciate your attempt to help, but for some reason (wrong IOS features maybe?) the authentication line isn't recognized/supported.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
The unit on my bench is a

The unit on my bench is a 1751 (just had a guy look I was talking to), I have to look on the Cisco web site and see what the difference is.

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Scott - I may have found

Scott -

I may have found something here.

Looks like both FXO and FXS settings for a 1750 used with asterisk. The only catch is the author lists a very specific version of IOS.

I'm going to give the configuration a whirl later tonight, I'll post back with the results.

Mark



mbellot
Posts: 18
Member Since:
2008-11-25
OMG! (Sorry for the

OMG!

(Sorry for the teenage-ism)

I have successfully set up both FXS ports and it appears the FXO port is active (I'm not testing any further @ 12:15am, the wife would kill me). I've placed calls (ring verification only) both ways between an existing extension on the PAP2 and one of the two FXS ports on the 1750.

The only thing I'm not thrilled about is the lack of a "secret" for the connections, but since the 1750 is on a (private) static IP I'm not too worried. (Should I be?)

Scott, I appreciate the time you took to assist me. Once I've had a chance to verify everything is working (no one-way audio issues, etc) I'll post up my settings for any who dare sail these waters in the future.

Going to bed tonight without Cisco indigestion.

Mark



mbellot
Posts: 18
Member Since:
2008-11-25
Follow up, but not quite right yet

I have internal (extension to extension) calls working, and dialing out on the FXO is working with two way audio in all cases.

Only inbound PSTN calls are not working. Dialing in with my cellphone the line rings and nothing else. Better than the first result which was a single ring followed by dial tone. I could then dial an internal extension and get connected, but obviously this is not ideal behavior. Setting the connection type to plar opx changed/fixed this behaviour.

I'm guessing this is a voice-port configuration problem? Relevant sections (I hope) of the configuration attached.

translation-rule 1
 Rule 1 null null
!
voice-port 0/0
 translate calling 1
 translate called 1
 no comfort-noise
 connection plar opx 6000  <-- 6000 is a ring group in asterisk, is this OK?
 station-id name 1750_FXO_0
 station-id number #1
 caller-id enable
!
! Port 1 Not Used
voice-port 0/1
 no comfort-noise
 station-id name 1750_FXO_1
 station-id number #2
!
! FXS Port 0 is ext. 1005
voice-port 1/0
 no comfort-noise
 station-id name 1750_FXS_0
 station-id number 1005
!
! FXS Port 1 is ext. 1010
voice-port 1/1
 no comfort-noise
 station-id name 1750_FXS_1
 station-id number 1010
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1 pots
 destination-pattern 1005
 port 1/0
!
dial-peer voice 2 pots
 destination-pattern 1010
 port 1/1
!
dial-peer voice 100 voip
 incoming called-number .
 destination-pattern T
 voice-class codec 10
 session protocol sipv2
 session target ipv4:192.168.xx.yy:5060
 session transport udp
 no vad
!
dial-peer voice 3 pots
 destination-pattern .T
 port 0/0


mbellot
Posts: 18
Member Since:
2008-11-25
One more update

OK, adding the following based on Scott's post above, and now incoming calls work!

The only remaining issue is I have to use the "catch-all" inbound route (no DID, no CID).

Is there a way to get it in to a specific DID group? Could it be related to the FXO station-id=#1 and the DID not allowing "#"?

dial-peer voice 100 voip
 preference 1                              <-- New
 incoming called-number .
 destination-pattern .T                <- Added "." in front of T
 voice-class codec 10
 session protocol sipv2
 session target ipv4:192.168.0.10:5060
 session transport udp                               <-- New
 dtmf-relay rtp-nte
 no vad


SkykingOH
Posts: 9538
Member Since:
2007-12-17
Glad you got it working,

Glad you got it working, great job.

I am almost sure you can set fed digits in the session target IE:ipv4:300@192.168.0.10:5060, this is not what the docs say http://www.cisco.com/en/US/docs/ios/12_2/voice/command/reference/vrf_r.html#wp1968721

The concept is you want to specify the RPID in the session target invite message. P-asserted identity is another way (newer) of saying RPID.

If the IOS version supports it you can also modify the SIP header on a per dial peer basis (not sure if syntax after modify is correct):

voice class sip-profiles 1
request INVITE sip-header P-Asserted-Identity modify "<sip:300>"
!
dial-peer voice 100 voip
  voice-class sip profiles 1
  blah blah blah 

This should point you in the right direction.

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Just so I understand, you

Just so I understand, you think the "300" in ipv4:300@192.168.0.10:5060 will be interpreted by asterisk as the DID?

Thanks again for the reply, I'll give it a shot in a bit.



SkykingOH
Posts: 9538
Member Since:
2007-12-17
Yes, that is correct, same

Yes, that is correct, same with inserting the p-asserted identity.

--

Scott

aka "Skyking"



mbellot
Posts: 18
Member Since:
2008-11-25
Scott, no luck. Guess I'll

Scott, no luck. Guess I'll just live with the Any/Any catch-all.

Let me know if you have any other suggestions.

cisco1750(config-dial-peer)#session target ipv4:300@192.168.x.x:5060
Incorrect format for Session Target
Must be of the form     ^((loopback:rtp)|(dns:.*)|(ipv4:[0-9]+\.[0-9]+\.[0-9]+\.
[0-9]+(:[0-9]+)?)|(enum:([1-9]|1[0-5]))|(ras)|(sip-server))$

and

cisco1750(config)#voice class sip-profiles 1
                              ^
% Invalid input detected at '^' marker.

cisco1750(config)#voice class ?
  aaa                     AAA Parameters
  busyout                 Set global voiceport busyout monitoring
  cause-code              Cause code list parameters
  codec                   Set codec global parameters
  custom-cptone           configuration of customized Call Progress Tones
  dualtone-detect-params  dualtone detection paramaters
  h323                    H323 Parameters
  permanent               Permanent connection (call)


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.