Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] MFC/R2 Signaling configuration


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
tzafrir.cohen at xorco...
Guest





PostPosted: Sat Jan 12, 2008 6:01 am    Post subject: [asterisk-users] MFC/R2 Signaling configuration Reply with quote

On Sat, Jan 12, 2008 at 08:11:20AM +0300, Brian Hutchinson wrote:
Quote:
Hi Moy,

Bottom line up front (yes I'm military):How do I now configure some of my
spans as normal Euro ISDN and a few with R2? Do I use a combination of
/etc/asterisk/unicall.conf and /etc/zaptel.conf or just unicall.conf for
everything?

See below for the rest of the details and thanks in advance for advice!

I downloaded your astunical-1.4.16 and have been studying it.

I have a machine running the latest download of asterisk-1.4-17 and was
trying to figure out how to build MFC/R2 support into it.

I merged your unicall specific changes from the Makefile in channels
directory to the new 1.4.17 channels Makefile (only like 4 changes).

Next I went into each individual directory of your tarball and started
building.

I did spandsp-0.0.4 first and that appeared to work OK.

Next I did libsupertone-0.0.2 which again appeared to work OK.

Next I did libunicall-0.0.3 which went OK.

Next I did libmfcr2-0.0.3 and that didn't go OK.

I captured the output of make and found that the build of mfcr2.c died
because it couldn't find the include file "linux/zaptel.h"

I did a find on my system and saw where zaptel.h was in
/usr/include/zaptel/zaptel.h

Right. Any chance that your version of unicall is not up-to-date?

Quote:

Once I fixed that ... I backed out to the main asterisk-1.4.17 directory and
did a make there and it looked like it build chan_unicall OK and make
install put the .so in the right place.

I noticed that your tarball did not include a unicall.conf file. Do you
have one?

I'm using two Digium TE420B (with DSP). Most of my trunks will be EURO ISDN
and two of them need to do R2 signalling. How should my configs look? Are
all trunks configured with unicall.conf now or do I still have to use
/etc/zaptel.conf?

I suspect that you should setup [trunkgroups] in zapata.conf somehow not to
use some spans. Otherwise chan_zap will try to open them.

Quote:

(time goes by)

rebooted the box and now it seg faults over and over because I guess I
don't have the unicall conf set up right.

Do you have core dumps from those segfaults? Can you provide a
backtrace?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
b.hutchman at gmail.com
Guest





PostPosted: Sat Jan 12, 2008 12:06 pm    Post subject: [asterisk-users] MFC/R2 Signaling configuration Reply with quote

Quote:


Quote:

I did a find on my system and saw where zaptel.h was in
/usr/include/zaptel/zaptel.h

Right. Any chance that your version of unicall is not up-to-date?
Not sure which versions were used ... I cheated and used Moy's package for
1.4.16 (I'm using 1.4.17) and just patched the Makefile in the channels
directory.


Quote:

Quote:
I'm using two Digium TE420B (with DSP). Most of my trunks will be EURO
ISDN
Quote:
and two of them need to do R2 signalling. How should my configs look?
Are
Quote:
all trunks configured with unicall.conf now or do I still have to use
/etc/zaptel.conf?

I suspect that you should setup [trunkgroups] in zapata.conf somehow not
to
use some spans. Otherwise chan_zap will try to open them.


Not sure I'm following you. Haven't used trunkgroups before. Where can I
get educated on how to use them the way you suggest?

Quote:


Do you have core dumps from those segfaults? Can you provide a


Quote:
backtrace?


I'm not sure what was going but I kind of figured out I had overlap in the
zapata.conf and unicall.conf and when I kept span 1-3 stuff in
zapata.confand span 4 in
unicall.conf it went away. If I made any kind of mistake in the conf files
asterisk would bomb and restart over and over until I pulled the kill -15
gun out.

Quote:


--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

_______________________________________________
-- 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080112/6200be76/attachment.htm
Back to top
b.hutchman at gmail.com
Guest





PostPosted: Sat Jan 12, 2008 12:22 pm    Post subject: [asterisk-users] MFC/R2 Signaling configuration Reply with quote

On Jan 12, 2008 2:01 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

Quote:
On Sat, Jan 12, 2008 at 08:11:20AM +0300, Brian Hutchinson wrote:


Right. Any chance that your version of unicall is not up-to-date?
OK, you got me to thinking maybe I missed something and since it only takes
a few minutes (nice!) to build asterisk from scratch on this beast of a
machine ... I built Moy's package as is and installed it and it is doing the
exact same thing I reported last. Can't answer calls but can make calls out
so I don't think it is my build.

I have not played with the test call capability and I just found Moy's most
excellent .pdf on the subject so I think I'm going to make a loop back cable
and call between two spans and see what happens. I'm learning more about R2
that I wanted to. I didn't know it was an ancient thing ... I think I'll
just ask them to give me a pri isdn like the rest of my trunks and be done
with it!

Regards,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080112/86d50790/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services