Author Topic: ISDN Delayed Delivery of Outbound Call  (Read 6774 times)

ganapathi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
ISDN Delayed Delivery of Outbound Call
« on: November 21, 2018, 04:00:42 AM »
Hi ,

As am using E1 PRI Card with PRI for outbound calling but almost every call delivered from server takes minimum of 10 sec, sometimes it's even greater than 15+ sec for outbound call. And mainly it's happen when dialed from SIP Phone/IP Phone using by SIP protocol.

Hardware : Digium TE420 PRI Card
Software : Yate 6.1.1
Dahdi : 2.10.2

ysigchan.conf :
[general]
debuglevel=10
debuglevel_engine=10
maxlock=-1
debugname=YSig
debuglevel=10
[trunk1]
type=isdn-pri-cpe
sig=zaptel1
voice=zaptel1
[trunk2]
type=isdn-pri-cpe
sig=zaptel2
voice=zaptel2
print-messages=yes
extended-debug=yes
[trunk3]
type=isdn-pri-cpe
sig=zaptel3
voice=zaptel3

zapcard.conf :

[general]
[zaptel1]
type=E1
offset=0
[zaptel2]
type=E1
offset=31
[zaptel3]
type=E1
offset=62
[zaptel4]
type=E1
offset=93

And logs shows like this.

2018-11-21_09:52:53.575246 <sig/17:ALL> Trying to call on trunk 'trunk2' [0x7f1060002b00]
2018-11-21_09:52:53.575255 <trunk2/Q931:ALL> Call(1,3) direction=outgoing TEI=0 [0x7f1060003110]
2018-11-21_09:52:53.575291 <trunk2/B:ALL> ZapCircuit(31). IOCTL(SetLinear) failed on channel 62 (param=0). 22: Invalid argument [0x180cf40]
2018-11-21_09:52:53.575297 <trunk2/B:NOTE> ZapCircuit(31). IOCTL(SetToneDetect) failed on channel 62 (param=3). 38: Function not implemented [0x180cf40]
2018-11-21_09:52:53.575618 <trunk2/Q931:ALL> Call(1,3). State 'Null' --> 'CallInitiated' [0x7f1060003110]
2018-11-21_09:52:53.575678 <trunk2/Q931:INFO> Sending message (0x7f1060003a70)
2018-11-21_09:52:53.575697 <sig/17:CALL> Outgoing call from=49781807 to=09500197700 trunk=trunk2 sigcall=0x7f1060003110 [0x7f1060002b00]
2018-11-21_09:52:53.681968 <trunk2/Q931:INFO> Received message (0x7f108c0009e0)
2018-11-21_09:52:53.686517 <trunk2/Q931:INFO> Sending message (0x7f107c00c8b0)
2018-11-21_09:52:53.786993 <trunk2/Q931:INFO> Received message (0x7f108c0009e0)
2018-11-21_09:52:53.788298 <trunk2/Q931:ALL> Call(1,3). State 'CallInitiated' --> 'OutgoingProceeding' [0x7f1060003110]
2018-11-21_09:53:04.751260 <trunk2/Q931:INFO> Received message (0x7f108c0009e0)
2018-11-21_09:53:04.751775 <trunk2/Q931:ALL> Call(1,3). State 'OutgoingProceeding' --> 'CallDelivered' [0x7f1060003110]

complete log file are attached here as well.

ganapathi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: ISDN Delayed Delivery of Outbound Call
« Reply #1 on: November 21, 2018, 06:34:35 AM »
Attached Dump of DAHDI.

z2-isdn.pcap - Manual Dial using SIP Phone. Alert taken 11 sec to get Alert information.

z2-auto.pcap - Autodial call from Yate. There is no manual dial/SIP protocol involved here. This one takes 5 sec only to get the Alert information from ISDN.
« Last Edit: November 21, 2018, 07:00:52 AM by ganapathi »