[Asterisk-Users] rejected calls
Sebastian Böhm
seb at exse.net
Sun Mar 20 15:52:06 MST 2005
Hi,
Using a couple of sip phones and using asterisk to connect them to a
single sipgate.de account.
if I call a mobile I have no problem makeing conversions. If the mobile
rejects the call (by pressing hangup while it rings), something strange
happens:
the following is seen in the logfile, everytime a rejected mobile call
happens:
-----------------
Mar 20 22:52:29 WARNING[4682]: Forbidden - wrong password on
authentication for INVITE to '"0174xxxxxxx"
<sip:yyyyyyy at sipgate.de>;tag=as03bffab2'
Mar 20 22:52:40 WARNING[4682]: Maximum retries exceeded on call
3d4fb6381c1ddf6e17062fc03cb3f936 at asterisk for seqno 102 (Non-critical
Response)
----------------
on the sip phone the ringtone stops, but asterisk does not hangup the
sipphone and plays no busy or congestion tone.
it CANT be a password-problem as it only happens if a mobile gets called
and rejects the call.
What can I do to change this ?
------------------sip.conf-----------------------
[general]
disallow=all
allow=ulaw
allow=alaw
context = from_sip
defaultexpirey=160
tos=reliability
recordhistory=yes
realm=pbx.exse.net
localnet=192.168.0.0/255.255.0.0; All RFC 1918 addresses are local networks
localnet=10.0.0.0/255.0.0.0 ; Also RFC1918
register => XXXXXXXXXXXXXX at sipgate.de/1724173
register =>
XXXXXXXX at sip.broadvoice.com:YYYYYYYY:XXXXXXXXX at sip.broadvoice.com/XXXXXXXXX
[out_sipgate]
type=friend
username=XXXXXXXXXX
secret=XXXXXXXX
host=sipgate.de
fromuser=XXXXXX
fromdomain=sipgate.de
nat=no
canreinvite=yes
insecure=very
qualify=yes
context = from_sipgate
[out_broadvoice]
type=friend
username=XXXXXXXXXX
secret=YYYYYYYYYY
host=sip.broadvoice.com
fromuser=YYYYYYYYYY
outboundproxy=proxy.dca.broadvoice.com
fromdomain=sip.broadvoice.com
nat=no
canreinvite=yes
insecure=very
qualify=yes
context = from_broadvoice
dtmfmode=inband
dtmf=inband
(some lines for the internal sip-phones follow, but nothing special)
----------------------------extensions.conf------------------------------------------
[globals]
[intern]
exten => h,1,Hangup
exten => t,1,Hangup
exten => 1,1,Dial(SIP/1 at 1,30)
exten => 2,1,Dial(SIP/2 at 2,30)
exten => _0700.,1,Dial(SIP/${EXTEN}@out_sipgate,60,+)
exten => _0800.,1,Dial(SIP/${EXTEN}@out_sipgate,60,+)
exten => _0900.,1,Dial(SIP/${EXTEN}@out_sipgate,60,+)
exten => _01.,1,Dial(SIP/${EXTEN}@out_sipgate,60,+)
exten => _0N.,1,Dial(SIP/01149${EXTEN:1}@out_broadvoice,60,+)
exten => _001.,1,Dial(SIP/${EXTEN:3}@out_broadvoice,60,+)
exten => _00N.,1,Dial(SIP/011${EXTEN:2}@out_broadvoice,60,+)
exten => _.,2,congestion()
exten => _.,102,busy()
[from_sipgate]
exten => 1724173,1,Dial(SIP/1 at 1&SIP/2 at 2,30)
exten => 1724173,2,Hangup
[from_broadvoice]
exten => 2122020683,1,Dial(SIP/1 at 1&SIP/2 at 2,30)
exten => 2122020683,2,Hangup
----------------------------------------------------------------------
thank you very much
sebastian
More information about the asterisk-users
mailing list