I need help to handle incoming calls from Cisco AS5300
Hi Folks, I have a Cisco AS5300 in a different domain as FS, It will send calls to FS with format ( prefix + phone number ) through sip with codec G723. here is the configuration setting on FS. Set the default sip_profile without auth ( no need register) <param name="accept-blind-reg" value="true"/> Set the default dial-plan with expression to handle prefix <condition field="destination_number" expression="^9090180012345678$"> <action application="bridge" data=" sofia/default/180012345678@sip.gateway.com"/> </condition> </extension> what else i need to setup? AS5300 keep getting error code 27. Thanks for any help, StevenLee
Might also want to turn auth-calls to false. /b On Jan 28, 2008, at 2:52 AM, Steve Xu wrote:
Hi Folks,
I have a Cisco AS5300 in a different domain as FS, It will send calls to FS with format ( prefix + phone number ) through sip with codec G723. here is the configuration setting on FS.
Set the default sip_profile without auth ( no need register) <param name="accept-blind-reg" value="true"/> Set the default dial-plan with expression to handle prefix <condition field="destination_number" expression="^9090180012345678$"> <action application="bridge" data="sofia/default/180012345678@sip.gateway.com "/> </condition> </extension>
what else i need to setup? AS5300 keep getting error code 27.
Thanks for any help,
StevenLee
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Shouldn't it be possible to use auth-calls set to true in combination with accept-blind-reg set to true? On Jan 28, 2008 4:01 PM, Brian West <brian.west@mac.com> wrote:
Might also want to turn auth-calls to false.
/b
On Jan 28, 2008, at 2:52 AM, Steve Xu wrote:
Hi Folks,
I have a Cisco AS5300 in a different domain as FS, It will send calls to FS with format ( prefix + phone number ) through sip with codec G723. here is the configuration setting on FS.
Set the default sip_profile without auth ( no need register) <param name="accept-blind-reg" value="true"/> Set the default dial-plan with expression to handle prefix <condition field="destination_number" expression="^9090180012345678$"> <action application="bridge" data="sofia/default/180012345678@sip.gateway.com "/> </condition> </extension>
what else i need to setup? AS5300 keep getting error code 27.
Thanks for any help,
StevenLee
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I don't think so. Blind reg defeats auth-calls because it accepts ANYTHING without a challenge. While auth-calls will challenge invites. /b On Jan 28, 2008, at 9:13 AM, Jonas Gauffin wrote:
Shouldn't it be possible to use auth-calls set to true in combination with accept-blind-reg set to true?
Well. Isn't accept-blind-reg useless then? If auth-calls is false, then everyone can call, right? No need for accept-blind reg then If auth-calls is true, then accept-blind-reg doesnt work (as you said). I see accept-blind-reg true and auth-calls true as a way to force all users to register with FS. It's a bit better then having auth-calls set to false. Or am I missing something? On Jan 28, 2008 4:17 PM, Brian West <brian.west@mac.com> wrote:
I don't think so. Blind reg defeats auth-calls because it accepts ANYTHING without a challenge. While auth-calls will challenge invites.
/b
On Jan 28, 2008, at 9:13 AM, Jonas Gauffin wrote:
Shouldn't it be possible to use auth-calls set to true in combination with accept-blind-reg set to true?
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Jonas, You need to set up 2 profiles... 1 profile for registered/auth's call users and 1 profile for the 5300/IP Auth'd call users... The profile for users would work as normal The profile for the AS5300 you want to send into a different dialplan context and have it check the IP of originator then transfer it into the normal dialplan or where ever you need it to go... Ken
From: Jonas Gauffin <jonas.gauffin@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Mon, 28 Jan 2008 16:29:31 +0100 To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] I need help to handle incoming calls from Cisco AS5300
Well. Isn't accept-blind-reg useless then?
If auth-calls is false, then everyone can call, right? No need for accept-blind reg then If auth-calls is true, then accept-blind-reg doesnt work (as you said).
I see accept-blind-reg true and auth-calls true as a way to force all users to register with FS. It's a bit better then having auth-calls set to false.
Or am I missing something?
On Jan 28, 2008 4:17 PM, Brian West <brian.west@mac.com> wrote:
I don't think so. Blind reg defeats auth-calls because it accepts ANYTHING without a challenge. While auth-calls will challenge invites.
/b
On Jan 28, 2008, at 9:13 AM, Jonas Gauffin wrote:
Shouldn't it be possible to use auth-calls set to true in combination with accept-blind-reg set to true?
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Jan 28, 2008, at 9:29 AM, Jonas Gauffin wrote:
Well. Isn't accept-blind-reg useless then?
Nope, People can register and bust nat and you can call them via their registration without having to setup authentication.
If auth-calls is false, then everyone can call, right? No need for accept-blind reg then If auth-calls is true, then accept-blind-reg doesnt work (as you said).
You're confusing authentication and registration. They provide different advantages.
I see accept-blind-reg true and auth-calls true as a way to force all users to register with FS. It's a bit better then having auth-calls set to false.
Or am I missing something?
I tried, but still got failed, how to show all incoming requests which FS received? Here is the current configuration setting: Set the default sip_profile without auth ( no need register) <param name="accept-blind-reg" value="true"/> <param name="auth-calls" value="false"/> Set the default dial-plan with expression to handle prefix <extension name="AS5300 Incoming"> <condition field="destination_number" expression="^9090180012345678$"> <action application="bridge" data=" sofia/default/180012345678@sip.gateway.com"/> </condition> </extension> Please note the As5300 gateway does not belong to the default domain name. What else i need to configure? Have to create a different sip profile for the incoming AS5300? Not sure if there was a working configure sample. Thanks, Steven On Jan 28, 2008 7:01 AM, Brian West <brian.west@mac.com> wrote:
Might also want to turn auth-calls to false.
/b
On Jan 28, 2008, at 2:52 AM, Steve Xu wrote:
Hi Folks,
I have a Cisco AS5300 in a different domain as FS, It will send calls to FS with format ( prefix + phone number ) through sip with codec G723. here is the configuration setting on FS.
Set the default sip_profile without auth ( no need register) <param name="accept-blind-reg" value="true"/> Set the default dial-plan with expression to handle prefix <condition field="destination_number" expression="^9090180012345678$"> <action application="bridge" data=" sofia/default/180012345678@sip.gateway.com "/> </condition> </extension>
what else i need to setup? AS5300 keep getting error code 27.
Thanks for any help,
StevenLee
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Brian West
-
Jonas Gauffin
-
Ken Rice
-
Steve Xu