[asterisk-users] R2-Unicall Asterisk as CPE and as CO
Victor Toofic
toofics at gmail.com
Mon Jan 21 08:59:01 CST 2008
El Sat, Jan 19 de 2008 a las 23:35 -0600, Moises Silva comentaba:
> First, let me say I am confused about this:
>
> > I've changed the line (chan_unicall.c):
> >
> > uc_callparm_calling_party_category(callparms,
> > UC_CALLER_CATEGORY_NATIONAL_SUBSCRIBER_CALL);
> >
> > to
> >
> > uc_callparm_calling_party_category(callparms,
> > UC_CALLER_CATEGORY_NATIONAL_PRIORITY_SUBSCRIBER_CALL);
> >
> > because without this I cant receive calls from the telco. With or without this I
> > can't place calls to the pbx.
>
> I am quite sure you have made a mistake in this statement, why? simply
> because this code is executed when YOU START the call to the far end
> (whatever it is, Telmex or the other PBX), so it makes no sense to say
> that w/o that change you can't receive calls, no sense at all. I am
> sure you messed up somewhere else in the configuration files just like
> possibly you are doing right now for the PBX.
Hmmm.. I was pretty sure that if I dont change that line I cant receive
calls from telmex.. but let try it againg and I will tell you what it was.
> In anycase, I am about
> to make a new release of chan_unicall Asterisk driver that will
> include a way to modify the calling party category from the dialplan
> extensions.conf
Wouldn't it be better if that could be done in unicall.conf? As with the
other options like protocolvariant and protocolend ??
Anyway.. thanks for doing that update ;) I would be glad to know when it
is available.
> Now, regarding your problem when receiving calls from the pbx, I think
> you have configured the PBX to not send ANI digits, and you configured
> chan_unicall to expect ANI digits, hence the timeout. Try configuring
> Asterisk with 0 callerid for the PBX side, or configure the other PBX
> to send the proper number of ANI digits.
Well.. in the first place.. that pbx is not mine, I didnt configured it
and I cant even touch it, Im just putting asterisk in between right now.
Im gonna try that.. Thanks for the help!
--
Regards..
Victor Toofic
More information about the asterisk-users
mailing list