[Asterisk-bsd] assorted questions
Aristedes Maniatis
ari at ish.com.au
Sat Mar 26 08:19:27 CST 2005
I am brand new to Asterisk and so I've spent a couple of hours getting
it going under FreeBSD 4.10. It wasn't terribly hard, although some
little things made it more difficult than necessary.
1. First, there is an error in the startup script. I've submitted a
patch:
http://www.freebsd.org/cgi/query-pr.cgi?pr=79246
2. Then the Makefile could be tidier. In particular mysql is not
required but an option and musiconhold.conf.sample doesn't have correct
paths in it. I've submitted another patch for these:
Problem 1:
Now, I have some problems for which I couldn't find answers. What does
the following mean?
Mar 26 23:56:45 NOTICE[49618]: res_musiconhold.c:309 monmp3thread:
Request to schedule in the past?!?!
Problem 2:
I am trying to use X-Lite on OSX to connect to Asterisk. I can connect
and even dial Digium. Very cool. But the client will not authenticate
with the server. I get lots of errors like this on the server:
Mar 26 23:56:48 NOTICE[49618]: chan_sip.c:7716 handle_request:
Registration from 'Ari Maniatis <sip:ari at ish.com.au>' failed for
'203.29.62.188'
On the client, the message looks like this:
SEND TIME: 2198703044
SEND >> 203.29.62.9:5060
REGISTER sip:ish.com.au SIP/2.0
Via: SIP/2.0/UDP
203.29.62.188:5060;rport;branch=z9hG4bK2B4867169E0111D9A632000D93399EF8
From: Ari Maniatis <sip:ari at ish.com.au>;tag=1381690930
To: Ari Maniatis <sip:ari at ish.com.au>
Contact: "Ari Maniatis" <sip:ari at 203.29.62.188:5060>
Call-ID: BA2137CC9DFB11D9A632000D93399EF8 at ish.com.au
CSeq: 7934 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
RECEIVE TIME: 2198703080
RECEIVE << 203.29.62.9:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP
203.29.62.188:5060;branch=z9hG4bK2B4867169E0111D9A632000D93399EF8
From: Ari Maniatis <sip:ari at ish.com.au>;tag=1381690930
To: Ari Maniatis <sip:ari at ish.com.au>;tag=as45ace88e
Call-ID: BA2137CC9DFB11D9A632000D93399EF8 at ish.com.au
CSeq: 7934 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ari at 203.29.62.9>
Content-Length: 0
I've tried with and without passwords. I've tried adding the network of
the client under "localnet" in sip.conf (the server and clients are on
different subnets). I've got a SIP that looks like this:
[xlite1]
;Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
;Note that Xlite sends NAT keep-alive packets, so qualify=yes is not
needed
type=friend
regexten=1234 ; When they register, create extension
1234
username=ari
callerid="Ari Maniatis" <5678>
host=dynamic
nat=no ; X-Lite is behind a NAT router
;canreinvite=yes ; Typically set to NO if behind NAT
disallow=all
allow=gsm ; GSM consumes far less bandwidth than
ulaw
allow=ulaw
allow=alaw
What do I need to do to allow registration to succeed?
Cheers
Ari Maniatis
-------------------------->
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400 fax +61 2 9660 7400
PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
More information about the Asterisk-BSD
mailing list