I have it the other way round, Asterisk is configured as master clock (also in wanpip1.conf file) and so I have span=1,0,0,ccs,hdb3,crc4 there, and Mobicents is the slave (TE_CLOCK = NORMAL in wanpipe1.conf) and so span=1,1,0,ccs,hdb3,crc4.<br>
<br>So the clock comes from the Asterisk side. <br><br><br><div class="gmail_quote">On Mon, Oct 1, 2012 at 11:46 AM, Kaloyan Kovachev <span dir="ltr"><<a href="mailto:kkovachev@varna.net" target="_blank">kkovachev@varna.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Who is providing the clock in your setup?<br>
<br>
span=1,1,0,ccs,hdb3,crc4 - on Asterisk machine means it expects the clock<br>
from remote, but if Mobicent does not provide clock you need:<br>
<br>
span=1,0,0,ccs,hdb3,crc4<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, 1 Oct 2012 11:29:13 +0200, Victor Neiman<br>
<<a href="mailto:victor@blacksheepdev.co.za">victor@blacksheepdev.co.za</a>> wrote:<br>
> HI Mitul,<br>
><br>
> thanks for the suggestion, tried it, does not seem to help, in fact<br>
getting<br>
> an additional error message now in Asterisk:<br>
><br>
><br>
> [Oct 1 13:35:52] ERROR[26703]: chan_dahdi.c:13966 dahdi_ss7_error: [1]<br>
>> Received MSU in invalid state 1<br>
>><br>
>><br>
> Regards<br>
> Vic<br>
><br>
> On Mon, Oct 1, 2012 at 11:11 AM, Mitul Limbani <<a href="mailto:mitul@enterux.com">mitul@enterux.com</a>><br>
wrote:<br>
><br>
>> You need to run signalling on mobicent side too n not have all bearer<br>
>> channels. bchan=2-31, dchan=1 on Mobicent. Fix that side ... and<br>
dchan=1<br>
>> instead of mtp2=1 on asterisk, Everything else looks ok on asterisk<br>
side.<br>
>><br>
>> Mitul<br>
>><br>
>> On Mon, Oct 1, 2012 at 12:41 PM, Victor Neiman<br>
>> <<a href="mailto:victor@blacksheepdev.co.za">victor@blacksheepdev.co.za</a><br>
>> > wrote:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> I'm trying to get SS7 communication between Asterisk 1.8.16.0 which<br>
has<br>
>>> libss7 installed and the Mobicents Signalling Gateway , using Sangoma<br>
>>> A101<br>
>>> hardware in two boxes. Both boxes are using wanrouter and dahdi. One<br>
>>> box<br>
>>> is running Asterisk, the other Mobicents. I have been corresponding<br>
>>> closely<br>
>>> with people at Mobicents to get the configuration right for their<br>
>>> software<br>
>>> and am fairly sure it is correct. The problem is that when I start up<br>
>>> the<br>
>>> Mobicents Signalling Gateway, Asterisk on the other side immediately<br>
>>> fills<br>
>>> up with these errors:<br>
>>><br>
>>> [Oct 1 10:55:46] NOTICE[19825]: chan_dahdi.c:3437<br>
>>>> my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0<br>
>>><br>
>>><br>
>>><br>
>>> The box that is running the SGW has the following<br>
>>> /etc/dahdi/system.conf:<br>
>>><br>
>>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>>>> #autogenrated on 2012-09-28<br>
>>>> #Dahdi Channels Configurations<br>
>>>> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak<br>
>>>> loadzone=us<br>
>>>> defaultzone=us<br>
>>>><br>
>>>> #Sangoma A101 port 1 [slot:4 bus:5 span:1] <wanpipe1><br>
>>>> span=1,1,0,ccs,hdb3,crc4<br>
>>>> bchan=1-31<br>
>>>><br>
>>><br>
>>> This config comes straight from the guys at Mobicents. All channels<br>
are<br>
>>> bchan.<br>
>>><br>
>>> The Asterisk side looks like this, /etc/dahdi/sysem.conf<br>
>>><br>
>>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>>>> #autogenrated on 2012-09-28<br>
>>>> #Dahdi Channels Configurations<br>
>>>> #For detailed Dahdi options, view /etc/dahdi/system.conf.bak<br>
>>>> loadzone=us<br>
>>>> defaultzone=us<br>
>>>><br>
>>>> #Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1><br>
>>>> span=1,0,0,ccs,hdb3,crc4<br>
>>>> bchan=2-31<br>
>>>> mtp2=1<br>
>>>><br>
>>><br>
>>> /etc/asterisk/chan_dahdi,conf looks like this:<br>
>>><br>
>>> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
>>>> ;autogenrated on 2012-09-28<br>
>>>> ;Dahdi Channels Configurations<br>
>>>> ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak<br>
>>>><br>
>>>> [trunkgroups]<br>
>>>><br>
>>>> [channels]<br>
>>>> context=default<br>
>>>> usecallerid=yes<br>
>>>> hidecallerid=no<br>
>>>> callwaiting=yes<br>
>>>> usecallingpres=yes<br>
>>>> callwaitingcallerid=yes<br>
>>>> threewaycalling=yes<br>
>>>> transfer=yes<br>
>>>> canpark=yes<br>
>>>> cancallforward=yes<br>
>>>> callreturn=yes<br>
>>>> echocancel=yes<br>
>>>> echocancelwhenbridged=yes<br>
>>>> relaxdtmf=yes<br>
>>>> rxgain=0.0<br>
>>>> txgain=0.0<br>
>>>> group=1<br>
>>>> callgroup=1<br>
>>>> pickupgroup=1<br>
>>>> immediate=no<br>
>>>><br>
>>>> ;Sangoma A102 port 1 [slot:2 bus:6 span:1] <wanpipe1><br>
>>>> context=from-pstn<br>
>>>> group=0<br>
>>>> echocancel=no<br>
>>>> signaling=ss7 ;this is ss7 signaling<br>
>>>> ss7type=itu ;using the ITU variant<br>
>>>> ss7_called_nai=dynamic ;NAI for outgoing calls<br>
>>>> ss7_calling_nai=dynamic ;NAI for incoming calls<br>
>>>> ss7_internationalprefix=00 ;international prefix value for incoming<br>
>>>> calls<br>
>>>> ss7_nationalprefix=0 ;national prefix value for incoming calls<br>
>>>> ss7_subscriberprefix= ;subscriber prefix value for incoming calls<br>
>>>> ss7_unknownprefix= ;unknown prefix value for incoming calls<br>
>>>> ss7_explictacm=yes ;ACM is send as soon as call enters the dial<br>
>>>> plan...may not accepted yet though<br>
>>>> linkset=1 ;arbitrary name for this set of channels<br>
>>>> pointcode=1 ;the point code for this system...aka SPC<br>
>>>> adjpointcode=2 ;the point code for the system that we are signaling<br>
>>>> to... aka APC<br>
>>>> defaultdpc=2 ;the point code for the system that the CICs will be<br>
>>>> negotiated with...aka DPC<br>
>>>> networkindicator=international ;NI value for MTP3<br>
>>>> cicbeginswith=1 ;the starting value of the CICs<br>
>>>> channel=2-31 ;the channels that are CICs<br>
>>>> sigchan=1 ;the signaling channel<br>
>>>><br>
>>><br>
>>> Any help would be appreciated. Feels like I'm missing something in the<br>
>>> configs but I just can't seem to pin it down.<br>
>>><br>
>>> Regards<br>
>>> Victor<br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> _____________________________________________________________________<br>
>>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>>><br>
>>> asterisk-ss7 mailing list<br>
>>> To UNSUBSCRIBE or update options visit:<br>
>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
>>><br>
>><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> asterisk-ss7 mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
>><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</div></div></blockquote></div><br>