I'm trying to bridge using a non-registered gateway. And I get MANDATORY_IE_MISSING back. Why is that? 2008-12-15 11:06:49 [DEBUG] switch_core_state_machine.c:152 switch_core_standard_on_execute() sofia/internal/u1000044@192.168.1.112:5070Execute bridge(sofia/default/ 0236661201@sip-corporate2.tele2.se) [.....] 2008-12-15 11:06:49 [DEBUG] sofia.c:2511 sofia_handle_sip_i_state() Channel sofia/internal/0236661201@sip-corporate2.tele2.se entering state [calling] 2008-12-15 11:06:49 [ERR] sofia_reg.c:1312 sofia_reg_handle_sip_r_challenge() No Matching gateway found 2008-12-15 11:06:49 [NOTICE] sofia_reg.c:1333 sofia_reg_handle_sip_r_challenge() Hangup sofia/internal/ 0236661201@sip-corporate2.tele2.se [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING] 2008-12-15 11:06:49 [DEBUG] switch_channel.c:1478 switch_channel_perform_hangup() Send signal sofia/internal/ 0236661201@sip-corporate2.tele2.se [KILL]
On Mon, Dec 15, 2008 at 11:19:44AM +0100, Jonas Gauffin wrote:
I'm trying to bridge using a non-registered gateway. And I get MANDATORY_IE_MISSING back. Why is that?
Does the gateway allow unauthenticated clients to make calls? If you obtain a SIP trace, you'll be able to see whether it's an authentication issue. As an aside, it would be an improvement to FreeSWITCH if Sofia debugging could be turned on and off within a running FreeSWITCH instance, including SIP traces, instead of the administrator's having to restart FreeSWITCH with environment variables exported, as is presently required according to the wiki.
If you don't need auth you don't need a gateway. sofia/profile/ number@remoteip is all you should need. /b On Dec 15, 2008, at 5:03 AM, Jason White wrote:
On Mon, Dec 15, 2008 at 11:19:44AM +0100, Jonas Gauffin wrote:
I'm trying to bridge using a non-registered gateway. And I get MANDATORY_IE_MISSING back. Why is that?
Does the gateway allow unauthenticated clients to make calls? If you obtain a SIP trace, you'll be able to see whether it's an authentication issue.
As an aside, it would be an improvement to FreeSWITCH if Sofia debugging could be turned on and off within a running FreeSWITCH instance, including SIP traces, instead of the administrator's having to restart FreeSWITCH with environment variables exported, as is presently required according to the wiki.
_______________________________________________ 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
Yeah I know. That's what I'm trying to do, but with the domain name ( sip-corporate2.tele2.se) instead of the ip. I'm not sure that the gateway works without authentication and I'm wondering if MANDATORY_IE_MISSING means that the gateway wants authentication or if it means something else. It's the "No Matching gateway found" message that is confusing, since I'm not trying to use a registered gateway? On Mon, Dec 15, 2008 at 4:05 PM, Brian West <brian@freeswitch.org> wrote:
If you don't need auth you don't need a gateway. sofia/profile/ number@remoteip is all you should need.
/b
On Dec 15, 2008, at 5:03 AM, Jason White wrote:
On Mon, Dec 15, 2008 at 11:19:44AM +0100, Jonas Gauffin wrote:
I'm trying to bridge using a non-registered gateway. And I get MANDATORY_IE_MISSING back. Why is that?
Does the gateway allow unauthenticated clients to make calls? If you obtain a SIP trace, you'll be able to see whether it's an authentication issue.
As an aside, it would be an improvement to FreeSWITCH if Sofia debugging could be turned on and off within a running FreeSWITCH instance, including SIP traces, instead of the administrator's having to restart FreeSWITCH with environment variables exported, as is presently required according to the wiki.
_______________________________________________ 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
_______________________________________________ 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
posting relevant pieces of your dialplan and sofia configs would probably help a bit. -Ray Jonas Gauffin wrote:
Yeah I know. That's what I'm trying to do, but with the domain name (sip-corporate2.tele2.se <http://sip-corporate2.tele2.se>) instead of the ip.
I'm not sure that the gateway works without authentication and I'm wondering if MANDATORY_IE_MISSING means that the gateway wants authentication or if it means something else. It's the "No Matching gateway found" message that is confusing, since I'm not trying to use a registered gateway?
On Mon, Dec 15, 2008 at 4:05 PM, Brian West <brian@freeswitch.org <mailto:brian@freeswitch.org>> wrote:
If you don't need auth you don't need a gateway. sofia/profile/ number@remoteip is all you should need.
/b
On Dec 15, 2008, at 5:03 AM, Jason White wrote:
> On Mon, Dec 15, 2008 at 11:19:44AM +0100, Jonas Gauffin wrote: >> I'm trying to bridge using a non-registered gateway. And I >> get MANDATORY_IE_MISSING back. Why is that? > > Does the gateway allow unauthenticated clients to make calls? If you > obtain a > SIP trace, you'll be able to see whether it's an authentication issue. > > As an aside, it would be an improvement to FreeSWITCH if Sofia > debugging could > be turned on and off within a running FreeSWITCH instance, including > SIP > traces, instead of the administrator's having to restart FreeSWITCH > with > environment variables exported, as is presently required according > to the > wiki. > > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org <mailto: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
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org <mailto: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
------------------------------------------------------------------------
_______________________________________________ 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="dialplan" description="ModCurlDialplan"> <context name="default"> <extension name=" 0236661201 "> <condition field="destination_number" expression="^0236661201$"> <action application="set" data="gate_site_id=1"/> <action application="set" data="effective_caller_id_number=0812024481"/> <action application="set" data="gate_external_destination=+46236661201"/> <action application="bridge" data="sofia/default/ 0236661201@sip-corporate2.tele2.se" /> <action application="hangup" data="NORMAL_CLEARING"/> </condition> </extension> </context> </section> </document> That's it. the sofia configs are pretty much default. On Mon, Dec 15, 2008 at 5:53 PM, Raymond Chandler < intralanman@freeswitch.org> wrote:
posting relevant pieces of your dialplan and sofia configs would probably help a bit.
-Ray
Jonas Gauffin wrote:
Yeah I know. That's what I'm trying to do, but with the domain name ( sip-corporate2.tele2.se) instead of the ip. I'm not sure that the gateway works without authentication and I'm wondering if MANDATORY_IE_MISSING means that the gateway wants authentication or if it means something else. It's the "No Matching gateway found" message that is confusing, since I'm not trying to use a registered gateway?
On Mon, Dec 15, 2008 at 4:05 PM, Brian West <brian@freeswitch.org> wrote:
If you don't need auth you don't need a gateway. sofia/profile/ number@remoteip is all you should need.
/b
On Dec 15, 2008, at 5:03 AM, Jason White wrote:
On Mon, Dec 15, 2008 at 11:19:44AM +0100, Jonas Gauffin wrote:
I'm trying to bridge using a non-registered gateway. And I get MANDATORY_IE_MISSING back. Why is that?
Does the gateway allow unauthenticated clients to make calls? If you obtain a SIP trace, you'll be able to see whether it's an authentication issue.
As an aside, it would be an improvement to FreeSWITCH if Sofia debugging could be turned on and off within a running FreeSWITCH instance, including SIP traces, instead of the administrator's having to restart FreeSWITCH with environment variables exported, as is presently required according to the wiki.
_______________________________________________ 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
_______________________________________________ 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
------------------------------ _______________________________________________ Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ 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
participants (4)
-
Brian West
-
Jason White
-
Jonas Gauffin
-
Raymond Chandler