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" :-) 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 :-) Any hint is very appreciated. Best regards, kokoska.rokoska
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:
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" :-)
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 :-)
Any hint is very appreciated.
Best regards,
kokoska.rokoska
Brian West napsal(a):
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 :-) Best regards, kokoska.rokoska
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> wrote:
No problem. Just join us on IRC.. things move faster on there.
/b
On Feb 17, 2009, at 3:05 PM, kokoska.rokoska wrote:
If you have more hints, I be very happy :-)
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
done, r12138 should give you the correct behavior On Wed, Feb 18, 2009 at 8:09 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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> wrote:
No problem. Just join us on IRC.. things move faster on there.
/b
On Feb 17, 2009, at 3:05 PM, kokoska.rokoska wrote:
If you have more hints, I be very happy :-)
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale napsal(a):
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 :-)
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 :-) 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
participants (4)
-
Anthony Minessale
-
Brian West
-
kokoska rokoska
-
kokoska.rokoska