[Freeswitch-users] FreeTDM - TDM410P - CallerID

Luiz Fernando Softov fernando at softov.com.br
Tue Sep 29 08:14:47 MSD 2015


​Hi, i'm trying to use a Digium TDM410P with FXO device (span)

So, install dahdi and create the conf as follow

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
in file /usr/local/etc/dahdi/system.conf

fxsks=1
echocanceller=oslec,1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I already try, with echocanceller MG2, KB1, and without echocanceller

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
in file /../freeswitch/conf/freetdm.conf

[span zt FXO-01]
trunk_type => FXO
number => 9001
fxo-channel => 1


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
in file /../freeswitch/conf/autoload_configs/freetdm.conf.xml

<span name="FXO-01">
  <param name="tonegroup" value="us"/>
  <param name="enable-callerid" value="true"/>
  <param name="dialplan" value="XML"/>
  <param name="context" value="default"/>
</span>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

But, when i can't get CallerID

Its, like

mod_dialplan_xml.c:635 Processing unknown <unknown>->9001 in context default

In headers, i don't get info

2015-09-28 21:48:20.286947 [INFO] mod_dptools.c:1681 CHANNEL_DATA:
Channel-State: [CS_EXECUTE]
Channel-Call-State: [RINGING]
Channel-State-Number: [4]
Channel-Name: [FreeTDM/1:1/9001]
Unique-ID: [20ada4c7-4366-e511-a93c-bc5ff437b74f]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Channel-HIT-Dialplan: [true]
Channel-Call-UUID: [20ada4c7-4366-e511-a93c-bc5ff437b74f]
Answer-State: [ringing]
Channel-Read-Codec-Name: [PCMU]
Channel-Read-Codec-Rate: [8000]
Channel-Read-Codec-Bit-Rate: [64000]
Channel-Write-Codec-Name: [PCMU]
Channel-Write-Codec-Rate: [8000]
Channel-Write-Codec-Bit-Rate: [64000]
Caller-Direction: [inbound]
Caller-Logical-Direction: [inbound]
Caller-Username: [FreeTDM]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [unknown]
Caller-Caller-ID-Number: [unknown]
Caller-Orig-Caller-ID-Name: [unknown]
Caller-Orig-Caller-ID-Number: [unknown]
Caller-ANI: [unknown]
Caller-Destination-Number: [9001]

I'm from Brazil, i think here the operators send number with DTMF
I'm using SPA-3000, detecting CalledID, after 3º Ring.

And i use SPA-3000 to receive calls and send to FreeSwitch, but i need to
use TDM410P
Since in TDM410P i can use 4-FXO (or 2-FXO and 2-FXS) vs 1-FXO + 1-FXS of
SPA-3000.

Is there another way to to grab CalledID?
Is there something missing in config?

Att
Luiz Fernando Softov
+55 67 8123 4276
http://www.softov.com.br
fernando at softov.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150929/4c6ffaa2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list