problem in mtp2 as sigchannel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i also get the same message when running ztcfg -vvv after the upgrade.  
However i would assume that a small patch to ztcfg.c to print  
something else in the below if statement should take care of this,  
since it doesn't seem to be an error per se. When running ztcfg -vvv  
it actually correctly identifies Channel 16 as MTP2.  Please note am  
not a coder and i might be wrong.


  if (needupdate && ioctl(fd, ZT_CHANCONFIG, &cc[x])) {
                                                 fprintf(stderr,  
"ZT_CHANCONFIG failed on channel %d: %s (%d)\n", x, strerror(errno),  
errno);
                                                 if (errno == EINVAL) {
                                                          
fprintf(stderr, "Did you forget that FXS interfaces are configured  
with FXO signalling\n"
                                                                 "and  
that FXO interfaces use FXS signalling?\n");
                                                 }


Cheers,

--
Markus





On Jun 26, 2008, at 3:12 AM, shoieb_arshad wrote:

> hello
> i am getting an error when i set mtp2=16 in zaptel .conf
>
> """""""""""""""""
> Changing signalling on channel 16 from Clear channel to MTP2
> ZT_CHANCONFIG failed on channel 16: Invalid argument (22)
> Did you forget that FXS interfaces are configured with FXO signalling
> and that FXO interfaces use FXS signalling?
> """"""""""""""""""
> can any bosy help me>???????
>
>
> Muhammad Shoieb Arshad
> Department of Electrical Engineering,
> Comsats Institute of Information Technology,
> Islamabad, Pakistan.
> PH # 03006805270
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7




[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux