[Serusers] SER -> Asterisk ==> Call failed: 403 Forbidden

davor jovanovic davor.jovanovic at srce.hr
Wed May 18 09:15:52 CEST 2005


Hi,

 

I would like to say thanx to all of you that replied to my message.

 

I solved this issue. I massed up something in extensions.conf but it works
now.

 

 

Thanx

 

  _____  

From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Kaveh Aasaraai
Sent: Monday, May 16, 2005 7:12 PM
To: serusers at lists.iptel.org
Subject: Re: [Serusers] SER -> Asterisk ==> Call failed: 403 Forbidden

 

Hi,

 

I think this would solve your problem:

 

Add a user like this to your Asterisk sip.conf

 

[ser]
type=peer

context= something you want

username=ser
insecure=yes
canreinvite=no
mailbox=ser
host=ser's ip address or name

 

Please pay attention that "insecure=yes" makes it secure by host that you've
provided.

 

Regards,

 

K. Aasaraai

-----Original Message-----
From: "davor jovanovic" <davor.jovanovic at srce.hr>
To: <serusers at lists.iptel.org>
Date: Mon, 16 May 2005 17:13:03 +0200
Subject: [Serusers] SER -> Asterisk ==>  Call failed: 403 Forbidden

Hi all,

  

I have a problem with forwarding calls from SER to Asterisk.

  

XXX -> SER -> Asterisk -> YYY

  

I have XXX UAC which is registered in SER and YYY UAC which is registered in
Asterisk. When I forward call from SER to Asterisk I get  "Call failed: 403
Forbidden" from Asterisk.

  

Everything works fine if I register XXX UAC in Asterisk too (SER forwards
call to Asterisk and it works).

  

I think I don't understand this registering SER to Asterisk and other way
and I would appreciate if someone could help with this.

  

  

Best regards 

  

sip.conf 

[general] 

port=5060               ; Port to bind to

bindaddr=0.0.0.0        ; Address to bind SIP channel to

context=ser 

  

autocreatepeer=yes 

register => 2000:1234 at ser_ip_address/5678

  

[ser_ip_address] 

type=friend 

username=2000 

secret=1234 

fromdomain=srce.hr 

host= ser_ip_address 

  

[5678] 

type=friend 

username=5678 

host=dynamic 

canreinvite=no 

  

  

extensions.conf 

[ser] 

exten => 5678,1,Dial(SIP/5678,20)

exten => 5678,2,Voicemail2(u5678)

exten => 5678,3,MusicOnHold()

exten => 5678,102,Voicemail2(b5678)

exten => 5678,103,Hangup 

  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050518/ca74a128/attachment.htm>


More information about the sr-users mailing list