Brian Hutchinson
2008-Jan-12 10:50 UTC
[asterisk-users] My latest MFC/R2 update with asterisk-1.4.17
Hi all, I still haven't seen my first post (cry for help) so I'm not sure if these are going through or not ... I've played with the box all day today ... I got it to quit seg faulting finally by playing with the config files. Currently I have 4 spans configured for a Digium TE420B (With Octastic DSP) Here is my zaptel.conf: (I know the device connected to spans 1-3 are providing clock but I don't know about span 4 so I have no idea if I set these right) span 1,1,0,css,hdb3,crc4 span 2,1,0,css,hdb3,crc4 span 3,1,0,css,hdb3,crc4 span 4,1,0,cas,hdb3 bchan=1-15,17-31 dchan=16 # bchan=32-46,48-62 dchan=47 # bchan=63-77,79-93 dchan=78 # #R2 span cas=94-108:1111 cas=110-124:1111 I'm in Iraq and they use Chinese Huawei switches throughout the country which is why I used 1111 instead of 1101 but I've tried that too and haven't seen a difference yet (could have other problems though) Do I need to specify a dchan=109 for the R2 span? I don't have one setup currently as the example didn't list a dchan setting for R2. The first 3 spans are euro isdn and zapata.conf is: switchtype = euroisdn signalling = pri_cpe context=incoming group = 1 channel => 1-15,17-31 ; group = 2 channel => 32-46,48-62 ; group = 3 channel => 63-77,79-93 My unicall.conf is: context=incoming protocolclass=mfcr2 protocolvariant=cn,20,7 ; protocolend=cpe ; group = 4 channel => 94-108,110-124 When Asterisk comes up, in the CLI I get notices for channels 94-124. Unicall/94 says event Far end unblocked followed by Unicall/94 event Local end unblocked and this messages repeats for the rest of the channels. I try to dial out with Dial(zap/g4/<phone number>) but I got an error so I looked at chan_unicall.c and saw something I thought I'd try then I changed it to: Dial(unicall/g4/<phone number>) which then brings up: WARNING[21155]: chan_unicall.c:3023 do_monitor: Unicall/94 Whoa.... I'm owned but found (11) in read [0x825e788, 0x825e788]... NOTICE[21184]: chan_unicall.c:2504 handle_uc_event: Unicall/94 event Dialing NOTICE[21184]: chan_unicall.c:2504 handle_uc_event: Unicall/94 event Protocol failure ERROR[21184]: chan_unicall.c:2508 handle_uc_event: Unicall/94 protocol error. Cause 32776 WARNING[21184]: app_dial.c:738 wait_for_answer: Unable to forward voice or dtmf ... then it hangs up. If you've read this far you have probably figured that I have no idea what I'm doing! I'm at the mercy of this fine group to show me the error of my ways. If I have forgotten to post data that would help ... just let me know. I have no clue how to debug this but I'm trying to figure it out. My PRI ISDN spans work though and I can make/receive calls on them so I know I'm not totally in the weeds. Regards, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080112/bbd8b54a/attachment.htm
Brian Hutchinson
2008-Jan-12 16:58 UTC
[asterisk-users] My latest MFC/R2 update with asterisk-1.4.17
Another update, We have Cisco equipment that can talk to the phone company but the cas-custom settings were not made. This got me looking into what cas signaling is was using by default. Cisco uses ITU unless otherwise specified. So my next idea was to try and have the Asterisk box talk to the Cisco box that is known to work using R2 Signaling. I didn't know how to make unicall do the ITU variant so I looked into the source code and found out that a lot of the country codes are just plain ITU so once I figured that out (I thought that might be my problem but it wasn't) I just set it to iq since that is ITU and I hoped it could talk to the Cisco router that way. If I tried to call from Cisco box (CME) to the Asterisk box, I would see event Detected but it would never answer. My zapatal.conf and unicall.confboth sent calls to the incoming context. Calls incoming from the spans 1-3 answer just find but calls coming in on the R2 span (span 4) don't answer but it does display that is sees the event! After 30 sec. or so is drops the call. Next I tried to dial out. To do this I have an IVR setup to dial out on the R2 trunk. I dial in on one of the 3 pri isdn spans, hit the IVR, press my option that dials out on the R2 trunk and it actually make the call. I see something about exception 12 during the call but it works. How come I can dial out R2 but not answer a call? Any ideas? Regards, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080112/ec7e64a9/attachment.htm
Moises Silva
2008-Jan-12 17:09 UTC
[asterisk-users] My latest MFC/R2 update with asterisk-1.4.17
Brian, you have all wrong. Please search in google about unicall configuration, 2 years ago there were no information, but now, it has been discussed in many web pages how zaptel is supposed to be configured. If you need me to configure your lines for you, my quote is 100USD for MFC/R2 E1 configuration. Regards, On Jan 12, 2008 4:50 AM, Brian Hutchinson <b.hutchman at gmail.com> wrote:> Hi all, > > I still haven't seen my first post (cry for help) so I'm not sure if these > are going through or not ... > > I've played with the box all day today ... I got it to quit seg faulting > finally by playing with the config files. > > Currently I have 4 spans configured for a Digium TE420B (With Octastic DSP) > > Here is my zaptel.conf: (I know the device connected to spans 1-3 are > providing clock but I don't know about span 4 so I have no idea if I set > these right) > span 1,1,0,css,hdb3,crc4 > span 2,1,0,css,hdb3,crc4 > span 3,1,0,css,hdb3,crc4 > span 4,1,0,cas,hdb3 > > bchan=1-15,17-31 > dchan=16 > # > bchan=32-46,48-62 > dchan=47 > # > bchan=63-77,79-93 > dchan=78 > # > #R2 span > cas=94-108:1111 > cas=110-124:1111 > > I'm in Iraq and they use Chinese Huawei switches throughout the country > which is why I used 1111 instead of 1101 but I've tried that too and haven't > seen a difference yet (could have other problems though) > > Do I need to specify a dchan=109 for the R2 span? I don't have one setup > currently as the example didn't list a dchan setting for R2. > > The first 3 spans are euro isdn and zapata.conf is: > > switchtype = euroisdn > signalling = pri_cpe > > context=incoming > group = 1 > channel => 1-15,17-31 > ; > group = 2 > channel => 32-46,48-62 > ; > group = 3 > channel => 63-77,79-93 > > My unicall.conf is: > > context=incoming > protocolclass=mfcr2 > protocolvariant=cn,20,7 > ; > protocolend=cpe > ; > group = 4 > channel => 94-108,110-124 > > When Asterisk comes up, in the CLI I get notices for channels 94-124. > Unicall/94 says event Far end unblocked followed by Unicall/94 event Local > end unblocked and this messages repeats for the rest of the channels. > > I try to dial out with Dial(zap/g4/<phone number>) but I got an error so I > looked at chan_unicall.c and saw something I thought I'd try then I changed > it to: > > Dial(unicall/g4/<phone number>) which then brings up: > > WARNING[21155]: chan_unicall.c:3023 do_monitor: Unicall/94 Whoa.... I'm > owned but found (11) in read [0x825e788, 0x825e788]... > NOTICE[21184]: chan_unicall.c:2504 handle_uc_event: Unicall/94 event Dialing > NOTICE[21184]: chan_unicall.c:2504 handle_uc_event: Unicall/94 event > Protocol failure > ERROR[21184]: chan_unicall.c:2508 handle_uc_event: Unicall/94 protocol > error. Cause 32776 > WARNING[21184]: app_dial.c:738 wait_for_answer: Unable to forward voice or > dtmf > > ... then it hangs up. > > If you've read this far you have probably figured that I have no idea what > I'm doing! I'm at the mercy of this fine group to show me the error of my > ways. > > If I have forgotten to post data that would help ... just let me know. I > have no clue how to debug this but I'm trying to figure it out. > > My PRI ISDN spans work though and I can make/receive calls on them so I know > I'm not totally in the weeds. > > Regards, > > Brian > > > > > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- "Within C++, there is a much smaller and cleaner language struggling to get out."