Dear community, i have an asterisk connected via ooh323 to a siemens hipath 4000 with the hg3500 interface.
Inside asterisk i can talk perfectly, calling from a hipath extension to an asterisk extension works fine ok but when i call from an asterisk extension to a hipath extension it rings but i have no audio
On the log i can see this error:
[Mar 31 06:28:07] DEBUG[2705] app_macro.c: Executed application: NoOp
[Mar 31 06:28:07] VERBOSE[2705] logger.c: – Executing [s@macro-setmusic:2] SetMusicOnHold(“OOH323/10.10.12.13:1720-40cd”, “agus”) in new stack
[Mar 31 06:28:07] DEBUG[2705] app_macro.c: Executed application: SetMusicOnHold
[Mar 31 06:28:07] DEBUG[2705] app_dial.c: Macro exited with status 0
[Mar 31 06:28:07] WARNING[2705] chan_ooh323.c: Don’t know how to indicate condition 20 on ooh323c_o_1
[Mar 31 06:28:07] VERBOSE[2705] logger.c: – Packet2Packet bridging SIP/1002-00000000 and OOH323/10.10.12.13:1720-40cd
[Mar 31 06:28:07] DEBUG[2705] rtp.c: RTP Transmission error of packet to 0.0.0.0:0: Invalid argument
[Mar 31 06:28:07] DEBUG[2705] rtp.c: RTP Transmission error of packet to 0.0.0.0:0: Invalid argument
[Mar 31 06:28:07] DEBUG[2705] rtp.c: RTP Transmission error of packet to 0.0.0.0:0: Invalid argument
[Mar 31 06:28:07] DEBUG[2705] rtp.c: RTP Transmission error of packet to 0.0.0.0:0: Invalid argument
Now, if i check the traffic with tcpdump i can see this when i call from *
06:32:13.107650 IP (tos 0x48, ttl 64, id 63334, offset 0, flags [DF], proto: TCP (6), length: 144) 10.10.12.13.h323hostcall > asterisk.12032: P 577:669(92) ack 252 win 8192 <nop,nop,timestamp 1338846 1148283>
06:32:13.108975 IP (tos 0x0, ttl 64, id 8718, offset 0, flags [DF], proto: TCP (6), length: 52) asterisk.12032 > 10.10.12.13.h323hostcall: ., cksum 0x1e44 (correct), 252:252(0) ack 669 win 54 <nop,nop,timestamp 1153186 1338846>
06:32:13.160074 IP (tos 0x0, ttl 64, id 8719, offset 0, flags [DF], proto: TCP (6), length: 161) asterisk.12032 > 10.10.12.13.h323hostcall: P 252:361(109) ack 669 win 54 <nop,nop,timestamp 1153237 1338846>
06:32:13.161191 IP (tos 0x48, ttl 64, id 63335, offset 0, flags [DF], proto: TCP (6), length: 52) 10.10.12.13.h323hostcall > asterisk.12032: ., cksum 0xfe42 (correct), 669:669(0) ack 361 win 8087 <nop,nop,timestamp 1338846 1153237>
06:32:13.161227 IP (tos 0x0, ttl 64, id 8720, offset 0, flags [DF], proto: TCP (6), length: 119) asterisk.12032 > 10.10.12.13.h323hostcall: P 361:428(67) ack 669 win 54 <nop,nop,timestamp 1153238 1338846>
06:32:13.166719 IP (tos 0x48, ttl 64, id 63336, offset 0, flags [DF], proto: TCP (6), length: 114) 10.10.12.13.h323hostcall > asterisk.12032: P 669:731(62) ack 428 win 8125 <nop,nop,timestamp 1338846 1153238>
06:32:13.166762 IP (tos 0x0, ttl 64, id 8721, offset 0, flags [DF], proto: TCP (6), length: 52) asterisk.12032 > 10.10.12.13.h323hostcall: ., cksum 0x1d1c (correct), 428:428(0) ack 731 win 54 <nop,nop,timestamp 1153244 1338846>
06:32:13.173519 IP (tos 0x48, ttl 64, id 63337, offset 0, flags [DF], proto: TCP (6), length: 113) 10.10.12.13.h323hostcall > asterisk.12032: P 731:792(61) ack 428 win 8192 <nop,nop,timestamp 1338846 1153244>
06:32:13.173555 IP (tos 0x0, ttl 64, id 8722, offset 0, flags [DF], proto: TCP (6), length: 52) asterisk.12032 > 10.10.12.13.h323hostcall: ., cksum 0x1cd8 (correct), 428:428(0) ack 792 win 54 <nop,nop,timestamp 1153251 1338846>
06:32:13.195057 IP (tos 0x0, ttl 64, id 8723, offset 0, flags [DF], proto: TCP (6), length: 114) asterisk.12032 > 10.10.12.13.h323hostcall: P 428:490(62) ack 792 win 54 <nop,nop,timestamp 1153272 1338846>
06:32:13.196562 IP (tos 0x48, ttl 64, id 63338, offset 0, flags [DF], proto: TCP (6), length: 52) 10.10.12.13.h323hostcall > asterisk.12032: ., cksum 0xfcf3 (correct), 792:792(0) ack 490 win 8134 <nop,nop,timestamp 1338847 1153272>
06:32:15.320389 IP (tos 0x48, ttl 64, id 63339, offset 0, flags [DF], proto: TCP (6), length: 113) 10.10.12.13.h323hostcall > asterisk.12032: P 792:853(61) ack 490 win 8192 <nop,nop,timestamp 1338851 1153272>
06:32:15.325079 IP (tos 0x48, ttl 64, id 63340, offset 0, flags [DF], proto: TCP (6), length: 106) 10.10.12.13.h323hostcall > asterisk.12032: P 853:907(54) ack 490 win 8192 <nop,nop,timestamp 1338851 1153272>
And when i call from the hipath i get this
06:30:40.849712 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 200) asterisk.13486 > 10.10.12.13.hydap: UDP, length 172
06:30:40.875122 IP (tos 0x30, ttl 126, id 63093, offset 0, flags [none], proto: UDP (17), length: 280) 10.10.12.13.hydap > asterisk.13486: [no cksum] UDP, length 252
06:30:40.878878 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 200) asterisk.13486 > 10.10.12.13.hydap: UDP, length 172
06:30:40.905179 IP (tos 0x30, ttl 126, id 63094, offset 0, flags [none], proto: UDP (17), length: 280) 10.10.12.13.hydap > asterisk.13486: [no cksum] UDP, length 252
06:30:40.908527 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 200) asterisk.13486 > 10.10.12.13.hydap: UDP, length 172
06:30:40.909654 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 200) asterisk.13486 > 10.10.12.13.hydap: UDP, length 172
06:30:40.935237 IP (tos 0x30, ttl 126, id 63095, offset 0, flags [none], proto: UDP (17), length: 280) 10.10.12.13.hydap > asterisk.13486: [no cksum] UDP, length 252
06:30:40.938242 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 200) asterisk.13486 > 10.10.12.13.hydap: UDP, length 172
Here its my ooh323.conf
[general]
port=1720
bindaddr=10.10.12.47
h323id=ObjSysAsterisk
e164=100
callerid=asterisk
gateway=yes
gatekeeper = DISABLE
gateway = 10.10.12.13
logfile=/var/log/asterisk/h323_log
context=default
disallow=all ;Note order of disallow/allow is important.
allow=ulaw
allow=alaw
dtmfmode=rfc2833
[hipath]
type=friend
context=H323
ip=10.10.12.13 ; UPDATE with appropriate ip address
port=1720 ; UPDATE with appropriate port
disallow=all
allow=ulaw
allow=alaw
;e164=12345
rtptimeout=60
dtmfmode=rfc2833
Please tell me if you need somethig else.
Regards