[Home]

Summary:ASTERISK-19559: No sound in calls after 1-2 seconds (SIP to IAX2)
Reporter:Aleksander Mischenko (mealstrom)Labels:
Date Opened:2012-03-19 10:01:43Date Closed:2012-04-02 15:32:17
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2 Channels/chan_sip/General
Versions:1.8.9.3 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 10.04 2.6.32-39-generic-paeAttachments:( 0) iax2tosip-OK
( 1) sip2iax2
Description:It is not constant. Occures 1/5 calls

Ive got issu with sound, after 1-2 seconds it disapears.
ok: SIP(sflphone) -> Asterisk -> (IAX2 transport) -> Asterisk -> SIP(sflphone)
fail: SIP(sflphone) -> Asterisk -> IAX2 client(sflphone)
ok: IAX2(sflphone) -> Asterisk -> SIP(sflphone)



#iax2.conf
;client
[1221]
type=friend
host=dynamic
secret=123456
requirecalltoken=no
disallow=all
;allow=all
;allow=alaw
allow=ulaw
allow=gsm
;allow=slin
trunk=no ;(or yes)
qualify=yes
context=myone
auth=plaintext,md5,rsa
callerid="Heloworld" <1221>
directmedia=no ;(or yes)
nat=no ;(yes/no/commented)
notransfer=yes ;(yes or no)

#sip.conf
;client
[agent]
callerid="MyAgent" <2112>
incominglimit=1
call-limit=1
type=friend
secret=123321
qualify=yes
qualifyfreq=30
port=5060
nat=yes ;(or no)
host=dynamic
dtmfmode=rfc2833
context=myone
directmedia=yes ;(or no)
disallow=all
allow=ulaw
allow=gsm
deny=0.0.0.0/0.0.0.0
permit=192.168.2.0/255.255.255.0


Comments:By: Aleksander Mischenko (mealstrom) 2012-03-19 10:10:33.101-0500

wireshark iax2->sip
all ok

By: Aleksander Mischenko (mealstrom) 2012-03-19 10:11:11.485-0500

wireshark dumps

By: Aleksander Mischenko (mealstrom) 2012-03-19 10:11:26.214-0500

IAX2->SIP works ok
SIP->IAX2 -- no sound after 1 second


By: Matt Jordan (mjordan) 2012-03-19 10:25:18.822-0500

We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

This will require the DEBUG logs from both Asterisk machines that are trunked with IAX2.  Both should have iax2 set debug on turned on for both machines.  Please also attach the full iax.conf configuration files from both Asterisk instances.



By: Matt Jordan (mjordan) 2012-04-02 15:31:59.294-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines