[Freeswitch-users] xml lib curl - transfer isn't working

can_man at gmx.de can_man at gmx.de
Mon Dec 29 08:31:52 PST 2008


    
> >
> > FS complains that: Context default not found
> >
> >
> > XML:
> >
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> > <document type="freeswitch/xml">
> > <section name="dialplan" description="RE Dial Plan For FreeSwitch">
> > <context name="public">

> Pay close attention here.... notice the context name in your XML and the 
> context name that FreeSWITCH is saying it can't find....

>From what I understand the forward rule for my external SIP number should be in context public and the internal "music on hold" should be in context default.

However, I got everything to work now by removing the crypto checks. It works when I reply:

    '''<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n'''\
    '''<document type="freeswitch/xml">\n'''\
    '''<section name="dialplan" description="RE Dial Plan For FreeSwitch">\n'''\
    '''<context name="default">\n'''\
    '''<extension name="9999">\n'''\
    '''<condition field="destination_number" expression="^(9999)$">\n'''\
    '''<action application="answer"/>\n'''\
    '''<action application="playback" data="$${hold_music}"/>\n'''\
    '''</condition>\n'''\
    '''</extension>\n'''\
    '''</context>\n'''\
    '''</section>\n'''\
    '''</document>\n''' 

But I don't understand why it works with crypto checks on when I use the xml dial plan config files and not with xml curl. Anyway, I am happy that it works now and I can continue.

Thanks for your help.
Phil
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger




More information about the FreeSWITCH-users mailing list