Strange originate behavior in xml_rpc
Hi, I've been testing some xml_rpc scripts to make calls. (For a "click to call" application I want to write.) I'm experiencing some strange behavior in regards to setting the caller id. If I DON't pass a caller id with the originate command, the calls works perfectly and the caller id shows as "000-000-0000". If I DO pass a caller id variable, then I still get a call ringing, the caller id is still "000-000-0000" and when I answer, it hangs up immediately and the debug in freeswitch shows an error. I'm getting a "407 Proxy Authentication Required" error. I'm trying to understand why setting a caller_id triggers an error when not setting one works. Could it be something setup wrong in my dialplan? Here is the effective part of the XML I'm passing to Freeswitch: <value><string>{effective_caller_id_number=3235551212,accountcode=1}sofia/internal/13235551111@outbound1.vitelity.net &bridge(sofia/internal/3135552222%111.111.111.111)</string></ value> Thanks, -Noah
there is probably an improperly-escaped character issue somewhere. Press f8 on the console and repeat the failed call situation and post the log and it will probably explain your problem. On Fri, Oct 10, 2008 at 4:43 AM, Noah Silverman <noah@allresearch.com>wrote:
Hi,
I've been testing some xml_rpc scripts to make calls. (For a "click to call" application I want to write.)
I'm experiencing some strange behavior in regards to setting the caller id.
If I DON't pass a caller id with the originate command, the calls works perfectly and the caller id shows as "000-000-0000".
If I DO pass a caller id variable, then I still get a call ringing, the caller id is still "000-000-0000" and when I answer, it hangs up immediately and the debug in freeswitch shows an error. I'm getting a "407 Proxy Authentication Required" error.
I'm trying to understand why setting a caller_id triggers an error when not setting one works. Could it be something setup wrong in my dialplan?
Here is the effective part of the XML I'm passing to Freeswitch:
<value><string>{effective_caller_id_number=3235551212,accountcode=1}sofia/internal/ 13235551111@outbound1.vitelity.net &bridge(sofia/internal/3135552222%111.111.111.111)</string></ value>
Thanks,
-Noah
_______________________________________________ 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
participants (2)
-
Anthony Minessale
-
Noah Silverman