Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Understandig context


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





PostPosted: Thu Jan 08, 2009 7:33 am    Post subject: [Freeswitch-users] Understandig context Reply with quote

Hello!

I'm a bit confused how sofia profiles works.
If I did understood correctly it is something like this:
the param <param name="context" value="extern"/> inside a external sofia profile will force
to process calls via extern context (e.g. dialplan/extern.xml).

Then if I use <param name="context" value="gmail"/> inside my jingle profile, will force calls
from the specific gtalk account to be processed via gtalk context.
This works fine.

But when examining both internal and external default sofia profiles, they have:
<param name="context" value="public"/>

However when making a call between two local registered sip phones it seems to use other dialplan:
2009-01-08 13:26:19 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1003->1001 in context default

Why it uses default instead of public context?

And if you have one local (5060) and one external (5080) sip phone, when you make a call between them,
which dialplan should be executed in this case?

--
kriko



_______________________________________________
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
anthony.minessale at g...
Guest





PostPosted: Thu Jan 08, 2009 9:08 am    Post subject: [Freeswitch-users] Understandig context Reply with quote

authenticated users can override the context setting with variables in their account or domain.


On Thu, Jan 8, 2009 at 6:32 AM, kriko <kristjan.ugrin@gmail.com (kristjan.ugrin@gmail.com)> wrote:
Quote:
Hello!

I'm a bit confused how sofia profiles works.
If I did understood correctly it is something like this:
the param <param name="context" value="extern"/> inside a external sofia profile will force
to process calls via extern context (e.g. dialplan/extern.xml).

Then if I use <param name="context" value="gmail"/> inside my jingle profile, will force calls
from the specific gtalk account to be processed via gtalk context.
This works fine.

But when examining both internal and external default sofia profiles, they have:
<param name="context" value="public"/>

However when making a call between two local registered sip phones it seems to use other dialplan:
2009-01-08 13:26:19 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1003->1001 in context default

Why it uses default instead of public context?

And if you have one local (5060) and one external (5080) sip phone, when you make a call between them,
which dialplan should be executed in this case?

--
kriko



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
kristjan.ugrin at gmai...
Guest





PostPosted: Thu Jan 08, 2009 9:17 am    Post subject: [Freeswitch-users] Understandig context Reply with quote

I see, looking at users inside directory I found why.

Thanks

On Thu, 08 Jan 2009 15:07:04 +0100, Anthony Minessale <anthony.minessale@gmail.com> wrote:

Quote:
authenticated users can override the context setting with variables in
their
account or domain.


On Thu, Jan 8, 2009 at 6:32 AM, kriko <kristjan.ugrin@gmail.com> wrote:

Quote:
Hello!

I'm a bit confused how sofia profiles works.
If I did understood correctly it is something like this:
the param <param name="context" value="extern"/> inside a external sofia
profile will force
to process calls via extern context (e.g. dialplan/extern.xml).

Then if I use <param name="context" value="gmail"/> inside my jingle
profile, will force calls
from the specific gtalk account to be processed via gtalk context.
This works fine.

But when examining both internal and external default sofia profiles,
they
have:
<param name="context" value="public"/>

However when making a call between two local registered sip phones it
seems
to use other dialplan:
2009-01-08 13:26:19 [INFO] mod_dialplan_xml.c:233 dialplan_hunt()
Processing 1003->1001 in context default

Why it uses default instead of public context?

And if you have one local (5060) and one external (5080) sip phone, when
you make a call between them,
which dialplan should be executed in this case?

--
kriko



_______________________________________________
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







--
kriko



_______________________________________________
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