[Freeswitch-users] freeswitch as SBC and kamailio - no route
Hristo Benev
foxb at abv.bg
Wed Aug 26 14:03:07 PDT 2009
It seems that the problem is on kamailio configuration.
Will ask on their list.
But to test i try to connect to my asterisk server and i receive 407 proxy authentication required.
I have it setup as friend in asterisk, but still ???
Any ideas?
Thanks,
>-------- Оригинално писмо --------
>От: Hristo Benev
>Относно: Re: [Freeswitch-users] freeswitch as SBC and kamailio - no route
>До: freeswitch-users at lists.freeswitch.org
>Изпратено на: Сряда, 2009, Август 26 22:02:13 EEST
> I think that the problem is here:
>-------------------------
>2009-08-26 22:56:52.725878 [INFO] mod_dialplan_xml.c:315 Processing 1001->1000 in context ROUTING
>Dialplan: sofia/internal/1001 at 209.71.254.33 parsing [ROUTING->PEER_01] continue=false
>Dialplan: sofia/internal/1001 at 209.71.254.33 Regex (FAIL) [PEER_01] ${sip_h_X-ROUTE}(LOOKUP) =~ /PEER_01/ break=on-false
>2009-08-26 22:56:52.728289 [INFO] switch_core_state_machine.c:136 No Route, Aborting
>--------------------------
>
>Actually Regex FAIL
>
>I'm not familiar, but is this stating that ${sip_h_X-ROUTE} should be PEER_01 for success?
>Here is my default.xml:
>----------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>--------------------------
>
>
>
> >-------- Оригинално писмо --------
> >От: Brian West
> >Относно: Re: [Freeswitch-users] freeswitch as SBC and kamailio - no route
> >До: freeswitch-users at lists.freeswitch.org
> >Изпратено на: Сряда, 2009, Август 26 19:47:37 EEST
>
> >We do not blindly follow 302's as that is a dangerous thing to do.
>You have to process all 302's in the dialplan.
>Set this on your sofia profile
>You can set these variables sip_redirect_profile,
>sip_redirect_context,
>sip_redirect_dialplan,
>When a redirect happens you get these variables - sip_redirect_contact_%d,
>sip_redirected_to,
>sip_redirect_contact_user_%d,
>sip_redirect_contact_host_%d,
>sip_redirect_contact_params_%d,
>sip_redirect_dialstring_%d,
>sip_redirect_dialstring,
>sip_redirected_byThen its up to you to process the redirect in your dialplan, If you don't set the
>sip_redirect_context then it'll default to redirected context and XML as the dialplan./bOn Aug 26, 2009, at 11:37 AM, Hristo Benev wrote:HelloI followed the tutorialhttp://wiki.freeswitch.org/wiki/SBC_SetupI have following problem when I dial 1000 Kamalio reports 302, but freeswitch does not routeWhere to look for problems?
> >
>
>_______________________________________________
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
More information about the FreeSWITCH-users
mailing list