Re: [Asterisk-Users] Call recording/SIP not loggin IN

2004-01-03 Thread Philipp von Klitzing
Hi!

 [xlite1]
 type=user

Make this [xlite1user]
Adjust your extension.conf accordingly.

 [xlite1]
 type=peer

Make this [xlite1peer]
Adjust your extension.conf accordingly.

The alternative is to merge both entries and use type=friend instead.

 my grandstream is also not registering to *.
You expect us to guess your SIP setup for the GS? :-

Cheers, Philipp


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call recording/SIP not loggin IN

2004-01-02 Thread Chandra
My sip.conf
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0
disallow=all; Disallow all codecs
allow=ulaw  ; Allow codecs in order of preference

dtmfmode=rfc2833

[xlite1]
type=user
host=dynamic
secret=xlite1
context=outgoing
reinvite=no
canreinvite=no
qualify=60

[xlite1]
type=peer
host=dynamic
secret=xlite1
reinvite=no
canreinvite=no
qualify=60

In xlite i have User=xlite1, Pwd=xlite1 and SIP Proxy=IP of my * box, Out
bound Proxy= IP of my * box

netstat -na gives

[EMAIL PROTECTED] root]# netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 0.0.0.0:32768   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22305   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22273   0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:32769 0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:33060.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:20000.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:56800.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22321   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22289   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:21  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:23  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:443 0.0.0.0:*   LISTEN
tcp0128 202.51.xx.xx1:22202.51.xx.xx0:3148
ESTABLISHED
udp0  0 0.0.0.0:32769   0.0.0.0:*
udp0  0 0.0.0.0:50360.0.0.0:*
udp0  0 0.0.0.0:50600.0.0.0:*
udp0  0 0.0.0.0:45690.0.0.0:*
udp0  0 0.0.0.0:111 0.0.0.0:*
udp0  0 0.0.0.0:11770   0.0.0.0:*
udp0  0 0.0.0.0:11771   0.0.0.0:*
udp0  0 0.0.0.0:24270.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags   Type   State I-Node Path
unix  2  [ ACC ] STREAM LISTENING 1504   /dev/gpmctl
unix  2  [ ACC ] STREAM LISTENING 1775
/tmp/.font-unix/fs7100
unix  2  [ ACC ] STREAM LISTENING 1520
/var/lib/mysql/mysql.sock
unix  2  [ ACC ] STREAM LISTENING 1885
/var/run/asterisk.ctl
unix  2  [ ACC ] STREAM LISTENING 1621
/tmp/.iroha_unix/IROHA
unix  2  [ ACC ] STREAM LISTENING 1593   /tmp/cd_sockV4
unix  2  [ ACC ] STREAM LISTENING 1671   /tmp/kd_sockV4
unix  2  [ ACC ] STREAM LISTENING 1699   /tmp/td_sockV4
unix  2  [ ACC ] STREAM LISTENING 1565   /tmp/jd_sockV4
unix  7  [ ] DGRAM1094   /dev/log
unix  3  [ ] STREAM CONNECTED 1889
/var/lib/mysql/mysql.sock
unix  3  [ ] STREAM CONNECTED 1888
unix  2  [ ] DGRAM1778
unix  2  [ ] DGRAM1645
unix  2  [ ] DGRAM1406
unix  2  [ ] DGRAM1160
unix  2  [ ] DGRAM1110
[EMAIL PROTECTED] root]#


my grandstream is also not registering to *.

- Original Message -
From: CW_ASN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 02, 2004 9:14 PM
Subject: Re: [Asterisk-Users] Call recording


 - Original Message -
 From: Chandra [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 02, 2004 9:30 AM
 Subject: Re: [Asterisk-Users] Call recording


  xlite saying login timed out. contact network admin.
 
  how to get rid of this. * is not behind NAT.
 
  DIAX works fine
 

 Could you especify a bit more?
 Send sip.conf, 'netstat -na' from you linux box, xlite config, etc...

 Regards,

 Gus


 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call recording/SIP not loggin IN

2004-01-02 Thread CW_ASN

- Original Message -
From: Chandra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 1:34 AM
Subject: Re: [Asterisk-Users] Call recording/SIP not loggin IN


 My sip.conf
 [general]
 port = 5060 ; Port to bind to
 bindaddr = 0.0.0.0
 disallow=all; Disallow all codecs
 allow=ulaw  ; Allow codecs in order of preference

 dtmfmode=rfc2833

 [xlite1]
 type=user
 host=dynamic
 secret=xlite1
 context=outgoing
 reinvite=no
 canreinvite=no
 qualify=60

 [xlite1]
 type=peer
 host=dynamic
 secret=xlite1
 reinvite=no
 canreinvite=no
 qualify=60

 In xlite i have User=xlite1, Pwd=xlite1 and SIP Proxy=IP of my * box, Out
 bound Proxy= IP of my * box

 netstat -na gives

 [EMAIL PROTECTED] root]# netstat -na
 Active Internet connections (servers and established)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 tcp0  0 0.0.0.0:32768   0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:22305   0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:22273   0.0.0.0:*   LISTEN
 tcp0  0 127.0.0.1:32769 0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:33060.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:20000.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:56800.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:22321   0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:22289   0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:21  0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:23  0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:443 0.0.0.0:*   LISTEN
 tcp0128 202.51.xx.xx1:22202.51.xx.xx0:3148
 ESTABLISHED
 udp0  0 0.0.0.0:32769   0.0.0.0:*
 udp0  0 0.0.0.0:50360.0.0.0:*
 udp0  0 0.0.0.0:50600.0.0.0:*
 udp0  0 0.0.0.0:45690.0.0.0:*
 udp0  0 0.0.0.0:111 0.0.0.0:*
 udp0  0 0.0.0.0:11770   0.0.0.0:*
 udp0  0 0.0.0.0:11771   0.0.0.0:*
 udp0  0 0.0.0.0:24270.0.0.0:*
 Active UNIX domain sockets (servers and established)
 Proto RefCnt Flags   Type   State I-Node Path
 unix  2  [ ACC ] STREAM LISTENING 1504   /dev/gpmctl
 unix  2  [ ACC ] STREAM LISTENING 1775
 /tmp/.font-unix/fs7100
 unix  2  [ ACC ] STREAM LISTENING 1520
 /var/lib/mysql/mysql.sock
 unix  2  [ ACC ] STREAM LISTENING 1885
 /var/run/asterisk.ctl
 unix  2  [ ACC ] STREAM LISTENING 1621
 /tmp/.iroha_unix/IROHA
 unix  2  [ ACC ] STREAM LISTENING 1593   /tmp/cd_sockV4
 unix  2  [ ACC ] STREAM LISTENING 1671   /tmp/kd_sockV4
 unix  2  [ ACC ] STREAM LISTENING 1699   /tmp/td_sockV4
 unix  2  [ ACC ] STREAM LISTENING 1565   /tmp/jd_sockV4
 unix  7  [ ] DGRAM1094   /dev/log
 unix  3  [ ] STREAM CONNECTED 1889
 /var/lib/mysql/mysql.sock
 unix  3  [ ] STREAM CONNECTED 1888
 unix  2  [ ] DGRAM1778
 unix  2  [ ] DGRAM1645
 unix  2  [ ] DGRAM1406
 unix  2  [ ] DGRAM1160
 unix  2  [ ] DGRAM1110
 [EMAIL PROTECTED] root]#


 my grandstream is also not registering to *.


You have two entries for [xlite1].
In order to test, first remove 'qualify' and 'reinvite' from the sip.conf,
reload and try again.
If you don't use NAT, then you should delete OutBoundProxy from xlite
config., and set 'Use OutboundProxy' as 'Never'.
Make sure that xlite is setted as Send internal IP Always.

Assuming that you have only one IP address (and a loopback) in your box,
'netstat' looks good.

Next steps could be dump the traces in xlites, and * box, to see whats wrong
more deeply.


Hope this helps, please advice.

Gus




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users