|Summary:||ASTERISK-02963: no audio|
|Date Opened:||2004-12-10 10:47:35.000-0600||Date Closed:||2011-06-07 14:10:48|
|Description:||have asterisk outside nat with public ip and client inside nat with private ip. Client is able to register with asterisk. Client is also able to call another phone, connection is being established with alaw or ulaw. But there is no sound.|
If client is configured to register with another asterisk server on the net it works. Client from inside nat can call asterisk outside nat. So probably its a configuration problem with my asterisk server, but noone on #asterisk could help me and for me the configuration seems to be ok.
As clients I tried a giptel phone, a topway phone and X-Lite Softphone.
****** ADDITIONAL INFORMATION ******
sip show peers:
Name/username Host Dyn Nat ACL Mask Port Status
79/79 126.96.36.199 D N 255.255.255.255 5060 Unmonitored
77/77 188.8.131.52 D N 255.255.255.255 5060 Unmonitored
--> clients are being recognized as NAT and DYNAMIC
port = 5060
context = test
username = 77
secret = 6723
I tried with CVS from yesterady, CVS from October and stable 1.0.3. Same behavior.
sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format
192.168.0.107 77 Pe3a205WkW2 00101/00002 alaw
17:44:40.535329 localhost.localdomain.19774 > 192.168.0.107.8000: udp 172 (DF)
17:44:40.555361 localhost.localdomain.19774 > 192.168.0.107.8000: udp 172 (DF)
--> this is when using giptel phone... when using x-lite it sends to the correct public ip address. .. I think asterisk recognizes 77 as NAT and DYNAMIC with its public ip address (see above) - so why is asterisk sending to 192.168.0.7?... and as I told .. with x-lite it doesnt work also but asterisk is sending to public ip!
|Comments:||By: cherso (cherso) 2004-12-10 10:53:11.000-0600|
set fromdomain in sip.conf global.
should be a router nat issue
edited on: 12-10-04 10:53
By: chrisde (chrisde) 2004-12-10 11:21:40.000-0600
fromdomain=184.108.40.206 (public ip address)
did not change anything. still no sound
By: Brian West (bkw918) 2004-12-10 11:38:34.000-0600
unload all zaptel kernel modules and tell me if it works.
By: chrisde (chrisde) 2004-12-10 11:55:55.000-0600
I have no zaptel installed at all. only asterisk. make. make install. no h323, no changes.
By: cherso (cherso) 2004-12-10 16:48:14.000-0600
try to set fromdomain=yourdomainname (a string. Not your external ip address)
the router seems to detect that the outgoing packet is a SIP packet and tries to patch it.
By: twisted (twisted) 2004-12-10 20:36:02.000-0600