Well,

I'm deploying this in my test lab :)  - in Brazil
The remote point is a E1 link with R2 Protocol from Embratel
Well, about documentation I only know is R2 Protocol.


And the E1 link is, before test this Freeswitch deploy, I deployed a asterisk server, and all services and signal UP without problems.

And the all configs set in freetdm.conf ... freetdms.xml.conf are based in my asteirsk configuration.

The dahdi_tool show me the link is OK.

See the picture attached.



Thanks

Carlos


Em 19-01-2012 13:39, Saugort Dario Garcia Tovar escreveu:
Ok,

First,
Where are you deploying this?
The remote point what is? a pbx? a pstn?
Do you have documentation about the expected signaling by the remote end?

The log tell you some clues:
a. In freeswith log
  1. 2012-01-19 12:06:45.798589 [DEBUG] ftmod_r2.c:250 [s1c1][1:1] Signalling link status changed to SUSPENDED
  2. 2012-01-19 12:06:45.798602 [ERR] ftdm_io.c:3317 I/O backend does not support command 55!
That means could be some discrepances about signaling. It could be causing the "channel_next_event method not implemented in module zt" message.

b. The board receive a clear alarm signal but it go to "suspend" state again. Why?

  1. 2012-01-19 12:06:45.800040 [DEBUG] mod_freetdm.c:2289 Got R2 channel sig [ALARM_CLEAR] in channel 31
  2. 2012-01-19 12:06:45.800055 [NOTICE] mod_freetdm.c:1886 Alarm cleared on channel 1:30
...
  1. 2012-01-19 12:06:45.800297 [DEBUG] mod_freetdm.c:2289 Got R2 channel sig [SIGSTATUS_CHANGED] in channel 31
  2. 2012-01-19 12:06:45.800301 [INFO] mod_freetdm.c:2390 1:30 signalling changed to: SUSPENDED

Again, coudld be a differences in signaling



On 1/19/2012 9:41 AM, Carlos Cesario wrote:
Hi Dario,

Is the my first time that I usage freetdm.

I'm using a Digium TE122.

Yes, the log captured is here -> http://pastebin.freeswitch.org/18178

Well,I already changed my /etc/udev/rules.d/dahdi.rules  changing the owner to user=freeswitch and group=freeswitch.
See it here -> http://pastebin.freeswitch.org/18177

I too fix perms in /usr/local/freeswitch - 
# chown -R freeswitch:freeswitch /usr/local/freeswitch

And I startup freeswitch  with  -u freeswitch -g freeswitch params.

Thanks

Carlos

Em 19-01-2012 11:12, Saugort Dario Garcia Tovar escreveu:
Hi Carlos,

Have you used freetdm before or it is your first time?

Which hardware are you using? Digium? Sangoma?

Could you capture a log of freeswitch from startup?
One problem that a faced with freeswitch/freetdm and a digium compatible card was freeswitch and digium drivers (dahdi) were asociated with different users, so freeswitch/freetdm could not access dahdi files. To correct this, I adjusted "/etc/udev/rules.d/dahdi.rules".



On 1/19/2012 6:59 AM, Carlos Cesario wrote:
Hi guys!

I'm try configure freeswith with E1 link R2 protocol, but I'm getting a
lot errors when freeswitch services start.
I have not found nothing about theses errors.

Somebody have any idea about fix this ?

All configsare made based inthe freeswitch wiki



Errors Logs -> http://pastebin.freeswitch.org/18167

Freetdm.conf -> http://pastebin.freeswitch.org/18168

Freetdm.conf.xml -> http://pastebin.freeswitch.org/18169

/etc/dahdi/system.conf and dahi_status ->
http://pastebin.freeswitch.org/18170


greats,

Carlos




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4753 - Release Date: 01/19/12




--
Atentamente,
Dario García
Consultor.

CCCT, Nivel C2, Sector Yarey, Mz,
Ofc. MZ03a.
Caracas-Venezuela.
Teléfono: +58 212 9081842
Cel: +58 412 2221515
dgarcia@anew.com.ve
http://www.anew.com.ve


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4753 - Release Date: 01/19/12



--
Atentamente,
Dario García
Consultor.

CCCT, Nivel C2, Sector Yarey, Mz,
Ofc. MZ03a.
Caracas-Venezuela.
Teléfono: +58 212 9081842
Cel: +58 412 2221515
dgarcia@anew.com.ve
http://www.anew.com.ve


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

--