[Freeswitch-users] Can I get SIP DID working?

Ivan C Myrvold ivan at myrvold.org
Fri Jun 20 13:49:31 PDT 2008


Ah, I put the "apply-inbound-acl" in the wrong XML file. I put it in  
the external.xml.
When I instead put it in the internal.xml, I got it working. That is  
of course the correct place, because it is bound to port 5060, and the  
inbound from Voxbone comes in on port 5060, as you correctly guessed.

This is all making sense to me now.

Ivan

Den 20. juni. 2008 kl. 19:17 skrev Brian West:

> Let me guess they only send to port 5060?  If you have your ACL's
> setup correctly those two IP's will be let in without auth.
>
> If you have the profile that runs on 5060 on your FreeSWITCH box with
> auth-calls=true
>
> Add this <param name="apply-inbound-acl" value="voxbone"/> to that
> profile
>
> <list name="voxbone" default="deny">
> <node type="allow" cidr="81.201.82.20/32"/>
> <node type="allow" cidr="81.201.82.21/32"/>
> </list>
>
> This should allow them thru without auth.  If you have problems with
> that add 81.201.82.0/24 to the list and see if that makes a  
> difference.
>
> /b
>
>
>
> On Jun 20, 2008, at 11:28 AM, Ivan C Myrvold wrote:
>
>> I do not have outbound registation to Voxbone, because Voxbone is
>> only incoming. I am not registrating Voxbone at all.
>> In their FAQ, they have how to configure for Asterisk:
>>
>> [81.201.82.20]
>> host = 81.201.82.20
>> type = friend
>> insecure = very
>> context = your-context
>> canreinvite=no
>>
>> [81.201.82.21]
>> host = 81.201.82.21
>> type = friend
>> insecure = very
>> context = your-context
>> canreinvite=no
>> ...
>> ( Do it for all voxbone IPs address listed above )
>>
>> Den 20. juni. 2008 kl. 17:33 skrev Brian West:
>>
>>> Ivan,
>>> 	Do you have your outbound registration to voxbone on the default/
>>> internal profile?  If so then your acl's might be wrong.  The one
>>> sure
>>> fire way to do this is to just setup another profile without auth
>>> on a
>>> different port and run with that.
>>>
>>> /b
>>>
>>> On Jun 20, 2008, at 3:20 AM, Ivan C Myrvold wrote:
>>>
>>>> As I understand the ACL, it only controls which external machines
>>>> with
>>>> the IP address range given in the acl.conf.xml are allowed into
>>>> FreeSwitch.
>>>> So this doesn't help me much with the DID, as FreeSwitch sends a
>>>> "Proxy Authentication Required" SIP message back to the Voxbone
>>>> server.
>>>> How can I configure FreeSwitch to allow the call into FreeSwitch
>>>> without proxy authentication?
>>>>
>>>> Ivan
>>>
>>> Brian West
>>> sip:brian at freeswitch.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>





More information about the FreeSWITCH-users mailing list