<?xml version="1.0" encoding="UTF-8"?><Response><Speak>Connecting</Speak><Dial timeLimit="90"><Number gateways="sofia/gateway/trunk/"></Number></Dial></Response>
:_: is being appended to the bridge string and result in URL errorproviding two numbers to dial will solve this issue but our bridge strings are gateway and according to freeswitch documentation :_: should be used for usersthe later test will simply fail with DESTINATION_OUT_OF_ORDERGetting following error: No origination URL specified!Seems to come from the fact that bridge strings ends with :_: and bridge is expecting a second destination to dial.
2012-04-13 12:04:09.940585 [DEBUG] switch_ivr.c:591 sofia/external/88888...@72.55.158.159 Command Execute bridge(<api_on_ring='uuid_setvar fd456be5-4518-461c-800b-2c68dc282524 plivo_dial_rang true',api_on_pre_answer='uuid_setvar fd456be5-4518-461c-800b-2c68dc282524 plivo_dial_rang true',api_on_answer_1='sched_api +90 4e0905b8-8582-11e1-9c1f-00096bb57bee uuid_transfer fd456be5-4518-461c-800b-2c68dc282524 -bleg hangup:ALLOTTED_TIMEOUT inline'>sofia/gateway/trunk/8888888888:_:)EXECUTE sofia/external/8888...@72.55.158.159 bridge(<api_on_ring='uuid_setvar fd456be5-4518-461c-800b-2c68dc282524 plivo_dial_rang true',api_on_pre_answer='uuid_setvar fd456be5-4518-461c-800b-2c68dc282524 plivo_dial_rang true',api_on_answer_1='sched_api +90 4e0905b8-8582-11e1-9c1f-00096bb57bee uuid_transfer fd456be5-4518-461c-800b-2c68dc282524 -bleg hangup:ALLOTTED_TIMEOUT inline'>sofia/gateway/trunk/8888888888:_:)2012-04-13 12:04:09.940585 [WARNING] switch_ivr_originate.c:1903 No origination URL specified!2012-04-13 12:04:09.940585 [DEBUG] switch_ivr_originate.c:3364 Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]
dont take care of this warning logs, it is generated cause after :_:
separator you dont have any dialstring
cause you are only calling one number and freeswitch is trying to make
a bridge with this empty string (maybe need a small patch to avoid
that and just warn about an empty dialstring passed) .
just check if
originate sofia/gateway/trunk/8888888888 &park()
is working from the freeswitch fs_cli .
Mike
--
--
Michael Ricordeau
Co-Founder Plivo
mi...@plivo.com
http://www.plivo.com
twitter @mricordeau
linkedin http://fr.linkedin.com/in/michaelricordeau