[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  =?windows-1251?B?wuDx6Ovo6SDL7uPg9+Xi?= <log@t...>
 Subject :  TDM->SIP no voice
 Date :  Wed, 28 Apr 2010 18:00:30 +0400
Hello.

I have this software/hardware configuration:

yate:/usr/local/etc/yate# yate -V
Yate 2.1.0 1
yate:/usr/local/etc/yate# wanrouter hwprobe

-------------------------------
| Wanpipe Hardware Probe Info |
-------------------------------
1 . AFT-A101-SH : SLOT=4 : BUS=2 : IRQ=11 : CPU=A : PORT=1 : HWEC=32 : V=34

Card Cnt: A101-2=1

yate:/usr/local/etc/yate# wanrouter version

WANPIPE Release: 3.4.9

One client is registered on yate (SIP-phone).
Problem is: calls from SIP to TDM goes fine, but from TDM to SIP i hear no voice.
Here is yate's log:

 Received 566 bytes SIP message from 194.186.123.252:5060
------
REGISTER sip:094.247.17.27 SIP/2.0
Via: SIP/2.0/UDP 194.186.123.252:5060;rport;branch=z9hG4bK1c7c458f8b
From: "6122" ;tag=6f03ba2f
To: "6122" 
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
Contact: 
CSeq: 15771 REGISTER
Expires: 60
Authorization: Digest username="6122",realm="Yate",nonce="d5ccd946bd1d03abbf190581437c4092.1272462397",response="3bdfa5bc03c4b2da77b1f59f3e8242e5",uri="sip:094.247.17.27",algorithm=MD5
User-Agent: CM5K  (706070)
Content-Length: 0

------
 Sending code 100 0x817e248 to 194.186.123.252:5060
------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 194.186.123.252:5060;rport=5060;branch=z9hG4bK1c7c458f8b;received=194.186.123.252
From: "6122" ;tag=6f03ba2f
To: "6122" 
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
CSeq: 15771 REGISTER
Server: YATE/2.1.0
Content-Length: 0

------
 Sending code 401 0x8185690 to 194.186.123.252:5060
------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 194.186.123.252:5060;rport=5060;branch=z9hG4bK1c7c458f8b;received=194.186.123.252
From: "6122" ;tag=6f03ba2f
To: "6122" 
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
CSeq: 15771 REGISTER
WWW-Authenticate: Digest realm="Yate", nonce="e4a7d6c01d405d11eca86ab3f7de8358.1272462452", stale=TRUE, algorithm=MD5
Server: YATE/2.1.0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0

------
 Received 566 bytes SIP message from 194.186.123.252:5060
------
REGISTER sip:094.247.17.27 SIP/2.0
Via: SIP/2.0/UDP 194.186.123.252:5060;rport;branch=z9hG4bK5356e5bcb5
From: "6122" ;tag=6f03ba2f
To: "6122" 
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
Contact: 
CSeq: 15772 REGISTER
Expires: 60
Authorization: Digest username="6122",realm="Yate",nonce="e4a7d6c01d405d11eca86ab3f7de8358.1272462452",response="9339379a505a0a22c83148071b83126c",uri="sip:094.247.17.27",algorithm=MD5
User-Agent: CM5K  (706070)
Content-Length: 0

------
 Sending code 100 0x817e248 to 194.186.123.252:5060
------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 194.186.123.252:5060;rport=5060;branch=z9hG4bK5356e5bcb5;received=194.186.123.252
From: "6122" ;tag=6f03ba2f
To: "6122" 
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
CSeq: 15772 REGISTER
Server: YATE/2.1.0
Content-Length: 0

------
 Registered '6122' via 'sip/sip:6122@1...:5060'
 Registered user '6122' expires in 60 s
 Sending code 200 0x8183128 to 194.186.123.252:5060
------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 194.186.123.252:5060;rport=5060;branch=z9hG4bK5356e5bcb5;received=194.186.123.252
From: "6122" ;tag=6f03ba2f
To: "6122" ;tag=291123519
Call-ID: 0e9331ea61b2011f6d67cc543997d6e9@1...
CSeq: 15772 REGISTER
Expires: 60
Contact: ;expires=60
Server: YATE/2.1.0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0

------
 Incoming call from=8127033600 to=3321909 trunk=link1 sigcall=0x8185c70 [0x818f1a0]
 Could not classify call from '8127033600', wasted 6 usec
 Got message 'call.route' for untracked id 'sig/6'
 Routing call to '3321909' in context 'default' via 'route/6155' in 105 usec
 Created assistant for 'sig/6'
 Routed '6155' via 'sip/sip:6155@1...:5060'
 Late routing call to 'route/6155' via 'sip/sip:6155@1...:5060'
 Guessed local IP '94.247.17.27' for remote '194.186.123.208'
 Session 0x818c4e8 bound to 94.247.17.27:24238 +RTCP [0x8183480]
 DataTranslator::attachChain [0x818e640] '(null)' -> [0x81716a0] 'alaw' not possible
 Channel 'sig/6' already assisted!
 On account 'yateadmin' performing query 'INSERT INTO cdr VALUES(TIMESTAMP 'EPOCH' + INTERVAL '1272462455.863 s', 'sig/6', 'link1/3', 'incoming', '1272361478-6', '8127033600', '3321909', INTERVAL '0.000 s', INTERVAL '0.000 s', INTERVAL '0.000 s', 'incoming', '', false)' expects results
 Created assistant for 'sip/6'
 On account 'yateadmin' performing query 'UPDATE cdr SET address='link1/3', direction='incoming', billid='1272361478-6', caller='8127033600', called='3321909', duration=INTERVAL '0.003 s', billtime=INTERVAL '0.000 s', ringtime=INTERVAL '0.003 s', status='incoming', reason='' WHERE chan='sig/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.863 s'' expects results
 On account 'yateadmin' performing query 'INSERT INTO cdr VALUES(TIMESTAMP 'EPOCH' + INTERVAL '1272462455.865 s', 'sip/6', '194.186.123.208:5060', 'outgoing', '1272361478-6', '8127033600', '6155', INTERVAL '0.002 s', INTERVAL '0.000 s', INTERVAL '0.002 s', 'outgoing', '', false)' expects results
 Sending 'INVITE sip:6155@1...:5060' 0x8181c90 to 194.186.123.208:5060
------
INVITE sip:6155@1...:5060 SIP/2.0
Max-Forwards: 20
Via: SIP/2.0/UDP 94.247.17.27:5060;rport;branch=z9hG4bK2114168275
From: ;tag=1412609598
To: 
Call-ID: 958619429@9...
CSeq: 173 INVITE
User-Agent: YATE/2.1.0
Contact: 
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Type: application/sdp
Content-Length: 334

v=0
o=yate 1272462455 1272462455 IN IP4 94.247.17.27
s=SIP Call
c=IN IP4 94.247.17.27
t=0 0
m=audio 24238 RTP/AVP 0 8 11 98 98 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:11 L16/8000
a=rtpmap:98 ILBC/8000
a=fmtp:98 mode=20
a=rtpmap:98 ILBC/8000
a=fmtp:98 mode=30
a=rtpmap:101 telephone-event/8000
a=ptime:30
------
 Received 317 bytes SIP message from 194.186.123.208:5060
------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 94.247.17.27:5060;rport=5060;received=94.247.17.27;branch=z9hG4bK2114168275
From: ;tag=1412609598
To: 
Call-ID: 958619429@9...
Contact: 
CSeq: 173 INVITE
Content-Length: 0

------
 Received 331 bytes SIP message from 194.186.123.208:5060
------
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 94.247.17.27:5060;rport=5060;received=94.247.17.27;branch=z9hG4bK2114168275
From: ;tag=1412609598
To: ;tag=7739796a
Call-ID: 958619429@9...
Contact: 
CSeq: 173 INVITE
Content-Length: 0

------
 Call ringing [0x818f1a0]
 On account 'yateadmin' performing query 'UPDATE cdr SET address='194.186.123.208:5060', direction='outgoing', billid='1272361478-6', caller='8127033600', called='6155', duration=INTERVAL '0.478 s', billtime=INTERVAL '0.000 s', ringtime=INTERVAL '0.004 s', status='ringing', reason='' WHERE chan='sip/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.865 s'' expects results
 On account 'yateadmin' performing query 'UPDATE cdr SET address='link1/3', direction='incoming', billid='1272361478-6', caller='8127033600', called='3321909', duration=INTERVAL '0.479 s', billtime=INTERVAL '0.000 s', ringtime=INTERVAL '0.004 s', status='incoming', reason='' WHERE chan='sig/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.863 s'' expects results
 Received 653 bytes SIP message from 194.186.123.208:5060
------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 94.247.17.27:5060;rport=5060;received=94.247.17.27;branch=z9hG4bK2114168275
From: ;tag=1412609598
To: ;tag=7739796a
Call-ID: 958619429@9...
Contact: 
CSeq: 173 INVITE
Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE
Supported: replaces
Content-Type: application/sdp
Content-Length: 209

v=0
o=CMI-SIPUA 23736 0 IN IP4 194.186.123.208
s=SIP CALL
c=IN IP4 194.186.123.208
t=0 0
m=audio 60000 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
------
 RTP starting format 'alaw' payload 8 [0x8183480]
 Sending 'ACK sip:6155@1...:5060' 0x8180108 to 194.186.123.208:5060
------
ACK sip:6155@1...:5060 SIP/2.0
Via: SIP/2.0/UDP 94.247.17.27:5060;rport;branch=z9hG4bK1697538877
From: ;tag=1412609598
To: ;tag=7739796a
Call-ID: 958619429@9...
CSeq: 173 ACK
Max-Forwards: 20
Contact: 
User-Agent: YATE/2.1.0
Content-Length: 0

------
 Call answered [0x818f1a0]
 On account 'yateadmin' performing query 'UPDATE cdr SET address='194.186.123.208:5060', direction='outgoing', billid='1272361478-6', caller='8127033600', called='6155', duration=INTERVAL '2.962 s', billtime=INTERVAL '0.003 s', ringtime=INTERVAL '2.486 s', status='answered', reason='' WHERE chan='sip/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.865 s'' expects results
 On account 'yateadmin' performing query 'UPDATE cdr SET address='link1/3', direction='incoming', billid='1272361478-6', caller='8127033600', called='3321909', duration=INTERVAL '2.963 s', billtime=INTERVAL '0.003 s', ringtime=INTERVAL '2.486 s', status='incoming', reason='' WHERE chan='sig/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.863 s'' expects results
 On account 'yateadmin' performing query 'UPDATE lines SET location=NULL,expires=NULL WHERE expires IS NOT NULL AND expires<=CURRENT_TIMESTAMP'
 Call hangup. Reason: 'normal-clearing' [0x818f1a0]
 Call destroyed. Reason: 'normal-clearing'. No signalling call  [0x818f1a0]
 Assistant for 'sig/6' hangup
 Chan 'sip/6' disconnected in state 'new', reason 'normal-clearing'
 Assistant for 'sip/6' disconnected, reason 'normal-clearing'
 On account 'yateadmin' performing query 'UPDATE cdr SET address='link1/3', direction='incoming', billid='1272361478-6', caller='8127033600', called='3321909', duration=INTERVAL '15.613 s', billtime=INTERVAL '12.653 s', ringtime=INTERVAL '2.486 s', status='hangup', reason='normal-clearing', ended=true WHERE chan='sig/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.863 s'' expects results
 Assistant for 'sip/6' hangup
 On account 'yateadmin' performing query 'UPDATE cdr SET address='194.186.123.208:5060', direction='outgoing', billid='1272361478-6', caller='8127033600', called='6155', duration=INTERVAL '15.613 s', billtime=INTERVAL '12.654 s', ringtime=INTERVAL '2.486 s', status='answered', reason='normal-clearing', ended=true WHERE chan='sip/6' AND time=TIMESTAMP 'EPOCH' + INTERVAL '1272462455.865 s'' expects results
 Sending 'BYE sip:6155@1...:5060' 0x818e780 to 194.186.123.208:5060
------
BYE sip:6155@1...:5060 SIP/2.0
Call-ID: 958619429@9...
From: ;tag=1412609598
To: ;tag=7739796a
Reason: SIP;text="normal-clearing"
Via: SIP/2.0/UDP 94.247.17.27:5060;rport;branch=z9hG4bK318324966
CSeq: 174 BYE
User-Agent: YATE/2.1.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0

------
 Received 280 bytes SIP message from 194.186.123.208:5060
------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 94.247.17.27:5060;rport=5060;received=94.247.17.27;branch=z9hG4bK318324966
From: ;tag=1412609598
To: ;tag=7739796a
Call-ID: 958619429@9...
CSeq: 174 BYE
Content-Length: 0

------
^C

Any suggestion?

Thanks in advance,
Basil Logachev