Summary: | ASTERISK-02963: no audio | ||
Reporter: | chrisde (chrisde) | Labels: | |
Date Opened: | 2004-12-10 10:47:35.000-0600 | Date Closed: | 2011-06-07 14:10:48 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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 80.138.12.111 D N 255.255.255.255 5060 Unmonitored 77/77 217.81.135.48 D N 255.255.255.255 5060 Unmonitored --> clients are being recognized as NAT and DYNAMIC sip.conf: [general] port = 5060 disallow=all allow=alaw allow=ulaw srvlookup=yes context = test [77] type=friend username = 77 secret = 6723 host=dynamic dtmfmode=rfc2833 canreinvite=no context=test nat=yes --- 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 --- tcpdump 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 sip.conf [global] ... fromdomain=62.11.12.13 (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. bkw 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 Configuration issue |