Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Strange originate behavior in xml_rpc


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
noah at allresearch.com
Guest





PostPosted: Fri Oct 10, 2008 4:55 am    Post subject: [Freeswitch-users] Strange originate behavior in xml_rpc Reply with quote

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
&amp;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
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Oct 10, 2008 8:22 am    Post subject: [Freeswitch-users] Strange originate behavior in xml_rpc Reply with quote

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 (noah@allresearch.com)> wrote:
Quote:
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 (13235551111@outbound1.vitelity.net)
&amp;bridge(sofia/internal/3135552222%111.111.111.111)</string></
value>


Thanks,

-Noah




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services