Hi,
Trying to connect a FreePBX with my old Panasonic TDA600 through Digium TE110P E1 Card.
The E1 Card is installed and recognized. Alarms OK and everything seems fine.
I have configured a DAHDI trunk and also created an Outbound Route
To ilustrate:
FreePBX (1XXX) => E1 => Panasonic (2XXX) => E1 => Cisco CME (4XXX)
Dialing from FreePBX to Cisco CME or vice-versa works fine (using from-pstn context.
Also Outbound calls from FreePBX to Panasonic work fine.
The only thing that I’m having trouble to figure out is Inbound to FreePBX from Panasonic.
What happens is the FreePBX is getting only the first digit dialed from Panasonic:
asterisk*CLI>
– Accepting call from ‘2130’ to ‘1’ on channel 0/31, span 1
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-04-21 15:02:19’},’’,‘2130’,’’,’’,’’,‘1’,‘from-pstn’,‘DAHDI/i1/2130-5’,’’,’’,3,’’,‘1398085339.776’,‘1398085339.776’,’’,’’,’’)]
– Executing [1@from-pstn:1] Set(“DAHDI/i1/2130-5”, “__FROM_DID=1”) in new stack
– Executing [1@from-pstn:2] NoOp(“DAHDI/i1/2130-5”, “Received an unknown call with DID set to 1”) in new stack
– Executing [1@from-pstn:3] Goto(“DAHDI/i1/2130-5”, “s,a2”) in new stack
– Goto (from-pstn,s,2)
– Executing [s@from-pstn:2] Answer(“DAHDI/i1/2130-5”, “”) in new stack
– Executing [s@from-pstn:3] Wait(“DAHDI/i1/2130-5”, “2”) in new stack
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘ANSWER’,{ts ‘2014-04-21 15:02:19’},’’,‘2130’,‘2130’,’’,‘1’,‘s’,‘from-pstn’,‘DAHDI/i1/2130-5’,‘Answer’,’’,3,’’,‘1398085339.776’,‘1398085339.776’,’’,’’,’’)]
– Executing [s@from-pstn:4] Playback(“DAHDI/i1/2130-5”, “ss-noservice”) in new stack
– <DAHDI/i1/2130-5> Playing ‘ss-noservice.ulaw’ (language ‘en’)
– Span 1: Channel 0/31 got hangup request, cause 16
== Spawn extension (from-pstn, s, 4) exited non-zero on ‘DAHDI/i1/2130-5’
– Executing [h@from-pstn:1] Macro(“DAHDI/i1/2130-5”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“DAHDI/i1/2130-5”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“DAHDI/i1/2130-5”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“DAHDI/i1/2130-5”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/i1/2130-5’ in macro ‘hangupcall’
== Spawn extension (from-pstn, h, 1) exited non-zero on ‘DAHDI/i1/2130-5’
– Hungup ‘DAHDI/i1/2130-5’
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘HANGUP’,{ts ‘2014-04-21 15:02:21’},’’,‘2130’,‘2130’,’’,‘1’,‘h’,‘from-pstn’,‘DAHDI/i1/2130-5’,’’,’’,3,’’,‘1398085339.776’,‘1398085339.776’,’’,’’,’’)]
> [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid) VALUES ({ ts ‘2014-04-21 15:02:19’ },‘2130’,‘2130’,‘s’,‘from-pstn’,‘DAHDI/i1/2130-5’,‘Playback’,‘ss-noservice’,2,2,‘ANSWERED’,3,‘1398085339.776’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_END’,{ts ‘2014-04-21 15:02:21’},’’,‘2130’,‘2130’,’’,‘1’,‘h’,‘from-pstn’,‘DAHDI/i1/2130-5’,’’,’’,3,’’,‘1398085339.776’,‘1398085339.776’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘LINKEDID_END’,{ts ‘2014-04-21 15:02:21’},’’,‘2130’,‘2130’,’’,‘1’,‘h’,‘from-pstn’,‘DAHDI/i1/2130-5’,’’,’’,3,’’,‘1398085339.776’,‘1398085339.776’,’’,’’,’’)]
Any help would be greatly appreciated
Niti