|
Hello, I have SER and Asterisk running on the same box. I want SER
to listen on port 5060 (it is) and Asterisk to listen on port 5062. I have
configured my phones to register with x.x.x.x:5060 (SER) and Asterisk will
purely act as a voicemail server at the moment. However I cannot get Asterisk
to listen on a different port. It is my understanding that I just need to set
the port in sip.conf (port=5062) but that doesn’t seem to be working.
When I run “netstat –tunap”
I see: x.x.x.x:5060 LISTEN ser 127.0.0.1 :5060 LISTEN ser 0.0.0.0 :2000
LISTEN asterisk . . . 0.0.0.0
:2727 asterisk 0.0.0.0:4520 asterisk 0.0.00:5060 asterisk
x.x.x.x:5060
ser
127.0.0.1:5060 ser My config is like follows ;sip.conf context=default port=5062 bindaddr=0.0.0.0 srvlookup=yes canreinvite=no autocreatepeer=yes [2092] type=friend username=2092 canreinvite=no context=default mailbox=2092 host=dynamic nat=no dtmfmode=info disallow=all allow=ulaw allow=alaw ;extensions.conf ;leave voice
messages exten => 2092,
1, Voicemail(u2092) exten => 2092,
2, Hangup ;play voice
messages exten => 9999,
1, VoiceMailMain, s2092 ;voicemail.conf 2092 => 2092, 2092, emailaddress At the moment when a user dials 9999 to access voicemail,
ser forwards to x.x.x.x:5062 and with my current config (port 5062, bindaddr=0.0.0.0) nothing reaches asterisk. However when I
change this to (port=5062, bindaddr=x.x.x.x)…the same address as ser, the phones start
registering with asterisk even though they’re configure to register with
port 5060 only! Basically I think Asterisk is still listening on 5060 and I can’t
change it. Do I need to change the asterisk port somewhere other that
sip.conf? Many thanks. |
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
