Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] call goes to wrong context


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





PostPosted: Tue Feb 17, 2009 3:22 pm    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

Make sure on outbound registrations/gateways you have the context and
extension params set.

/b

On Feb 17, 2009, at 2:17 PM, kokoska rokoska wrote:

Quote:

Hi all,

I have just "upgraded" to current trunk (before an hour or so),
configuration remain the same (served through mod_xml_curl), but
something has changed and I don'nt know "where", "what" and "why" Smile

What's going on:
I have few sofia profiles and each of them has its own context. When
call arrives, http POST is made by FreeSWITCH to get the dialplan, but
Caller-Context and Hunt-Context variables are always set to "default"
regardless what contex I set in sofia profile the call comes in
through.

May be I miss something, but really have no idea where Smile

Any hint is very appreciated.

Best regards,

kokoska.rokoska


_______________________________________________
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
kokoska.rokoska at pos...
Guest





PostPosted: Tue Feb 17, 2009 3:29 pm    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

Hi all,

I have just "upgraded" to current trunk (before an hour or so),
configuration remain the same (served through mod_xml_curl), but
something has changed and I don'nt know "where", "what" and "why" Smile

What's going on:
I have few sofia profiles and each of them has its own context. When
call arrives, http POST is made by FreeSWITCH to get the dialplan, but
Caller-Context and Hunt-Context variables are always set to "default"
regardless what contex I set in sofia profile the call comes in through.

May be I miss something, but really have no idea where Smile

Any hint is very appreciated.

Best regards,

kokoska.rokoska


_______________________________________________
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
kokoska.rokoska at pos...
Guest





PostPosted: Tue Feb 17, 2009 4:08 pm    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

Brian West napsal(a):
Quote:
Make sure on outbound registrations/gateways you have the context and
extension params set.


Thank you very much, Brian, for your suggestion!

I had context defined on all sofia profiles, but I didn't have extension
param set on gateways (but it works till I upgraded to current FS).
So I add the extension param to all gateways, but I doesn't help.
mod_xml_curl still asks for the "default" context instead of the context
defined in sofia profile...

If you have more hints, I be very happy Smile

Best regards,

kokoska.rokoska

_______________________________________________
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: Tue Feb 17, 2009 4:20 pm    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

No problem. Just join us on IRC.. things move faster on there.

/b

On Feb 17, 2009, at 3:05 PM, kokoska.rokoska wrote:

Quote:
If you have more hints, I be very happy Smile


_______________________________________________
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: Wed Feb 18, 2009 9:10 am    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

if the inbound calls are coming from a registration to a provider you will have to set a context param in the gateway itself.
All inbound calls from a gateway registration are now associated with the gateway they were registered with and inherit
the context from there.

Maybe i'll change the default context of a gateway to be the default context of it's host profile to avoid this issue.



On Tue, Feb 17, 2009 at 3:09 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
No problem. Just join us on IRC.. things move faster on there.

/b

On Feb 17, 2009, at 3:05 PM, kokoska.rokoska wrote:

Quote:
If you have more hints, I be very happy Smile




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





PostPosted: Wed Feb 18, 2009 9:14 am    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

done,

r12138 should give you the correct behavior


On Wed, Feb 18, 2009 at 8:09 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
if the inbound calls are coming from a registration to a provider you will have to set a context param in the gateway itself.
All inbound calls from a gateway registration are now associated with the gateway they were registered with and inherit
the context from there.

Maybe i'll change the default context of a gateway to be the default context of it's host profile to avoid this issue.




On Tue, Feb 17, 2009 at 3:09 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
No problem. Just join us on IRC.. things move faster on there.

/b

On Feb 17, 2009, at 3:05 PM, kokoska.rokoska wrote:

Quote:
If you have more hints, I be very happy Smile




_______________________________________________
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



--
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
kokoska.rokoska at pos...
Guest





PostPosted: Wed Feb 18, 2009 9:27 am    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

Anthony Minessale napsal(a):
Quote:
if the inbound calls are coming from a registration to a provider you
will have to set a context param in the gateway itself.
All inbound calls from a gateway registration are now associated with
the gateway they were registered with and inherit
the context from there.


Thank you very much, Anthony, for your explanation!
I got advice to setup context in gateway definition from Brian on IRC
channel and it works, so I asume the the reason is some internal FS
change Smile


Quote:
Maybe i'll change the default context of a gateway to be the default
context of it's host profile to avoid this issue.


You'll be very glad Smile
Because it is how it works in the past (at about 3-4 weeks old FS svn
trunk) and even more - it is a little bit strange if xml_curl looks for
"default" context which I don't have either...
BTW: Is "default" context mandatory for FreeSWITCH (hardcoded somewhere
in the code) or it is up to users decision how to name contexts?


Tahnks once more, Anthony!

Best regards,

kokoska.rokoska


_______________________________________________
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
kokoska.rokoska at pos...
Guest





PostPosted: Wed Feb 18, 2009 9:27 am    Post subject: [Freeswitch-users] call goes to wrong context Reply with quote

Anthony Minessale napsal(a):
Quote:
done,

r12138 should give you the correct behavior


Thank you very much, Anthony! Incredible speed Smile

Best regards,

kokoska.rokoska


_______________________________________________
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