Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] multiple sip profile , centrex like funct


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jengjr at gmail.com
Guest





PostPosted: Fri Aug 22, 2008 3:32 am    Post subject: [Freeswitch-users] multiple sip profile , centrex like funct Reply with quote

Hello Brian :

I finally work something out !

# the dialplan
<extension name="centrex testing">
<condition field="destination_number" expression="^(1[0-9][0-9][0-9])$">
<action application="set" data="dialed_ext=$1"/>
<action application="export" data="dialed_ext=$1"/>
</condition>
<condition field="${sip_from_host}" expression="^${sip_to_host}$">
<action application="bridge" data="sofia/${sofia_profile_name}/${dialed_ext}" />
<anti-action application="bridge" data="sofia/${sip_to_host}/${dialed_ext}" />
</condition>
</extension>

# the same EXT 1528@inter2 bridged with 1528@internal
2008-08-22 15:58:06 [NOTICE] sofia.c:2491 sofia_handle_sip_i_state()
Channel [sofia/inter2/1528] has been answered
2008-08-22 15:58:06 [DEBUG] mod_sofia.c:430 sofia_answer_channel()
Local SDP sofia/internal/1528@210.243.126.69:
2008-08-22 15:58:06 [NOTICE] switch_ivr_originate.c:1298
switch_ivr_originate() Channel [sofia/internal/1528@210.243.126.69]
has been answered

But there is one issue
2008-08-22 15:06:11 [WARNING] sofia.c:3130 sofia_handle_sip_i_invite()
IP 219.81.16.134 Rejected by acl domains

I have to disable the acl in profiles
<!-- param name="apply-inbound-acl" value="domains"/ -->
otherwise it won't allow me to call "sip:1528@internal" from "sip:1528@inter2"
( PLS explain the security issue )

# the following diaplan tested , really nothing to do with ENUM
very good DNS working
<extension name="apnic Testing" continue="true">
<condition field="destination_number" expression="^(info|billing)">
<action application="bridge" data="sofia/default/$1@${sip_to_host}" />
</condition>
</extension>

1 0.000000 210.243.126.69 -> 203.119.0.97 SIP/SDP Request: INVITE
sip:billing@voip.apnic.net, with session description
2 0.246246 203.119.0.97 -> 210.243.126.69 SIP Status: 100 Trying
3 0.659271 203.119.0.97 -> 210.243.126.69 SIP Status: 180 Ringing
4 2.589506 210.243.126.69 -> 203.119.0.97 SIP Request: CANCEL
sip:billing@voip.apnic.net


Also been through these points.
http://lists.freeswitch.org/pipermail/freeswitch-users/2008-August/005531.html

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Aug 22, 2008 9:05 am    Post subject: [Freeswitch-users] multiple sip profile , centrex like funct Reply with quote

Lee,

This isn't an issue. This will fall back to digest auth. Also your
emails contain little or no text to describe what you're wanting or
what you're trying to accomplish. In the future could you take some
time to explain what you're doing and what exactly you need help
with... Your emails are very cryptic in terms of information required
for me to assist you. You may want to join us on IRC #freeswitch
@irc.freeswitch.org

/b

On Aug 22, 2008, at 3:30 AM, Lee JJ wrote:

Quote:
But there is one issue
2008-08-22 15:06:11 [WARNING] sofia.c:3130 sofia_handle_sip_i_invite()
IP 219.81.16.134 Rejected by acl domains

Brian West
sip:brian@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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services