Quantcast
Channel: VoiceXML
Viewing all 19 articles
Browse latest View live

When will Broadworks release 19 Service Pack 1 be available?


Controlling prefetch behaviour

$
0
0

the fetchint attribute setting to "safe" seems to have no effect in <goto> or <submit> statements.

I need to have control over when requests for forms are being sent to the vxml server. The mediaserver agent appears to always do full prefetch of all resource elements, regardless of the fetchhint setting..

Hints, anybody?

regards

Kári 

Use VXML to save recording on BroadWorks MS

$
0
0
Currently we are trying to use the VXML record element to capture recording and then use perl script to save the recordings on the disk. The requirements are to run the VXML scripts, perl scripts and save the save recordings on the MS itself, not using external webserver. 
  
We have been told by BroadSoft TAC that the MS actually doesn't run a webserver. In this case it seems we are not able to do HTTP post to a perl script on the MS to save the recordings. 
  
I am wondering if there is there is any way to save VXML recorded audios on the BroadWorks MS itself, not using external webserver? And also what if we separately install Apache on the MS, does it affect the MS? 
  
Thanks,
Chris

VXML and no failover?

$
0
0

Hi all

I might be wrong here, but I have come to the conclusion that it is the application server that directly implements a failover mechanism when a media server fails.

In the case of VXML applications it appears that there is no way to have any failover to the media servers because you fill in the address field with only ONE media server address.

Is this really so? Is there another way of doing this, perhaps having the DNS server check the hosts on lookup or something?

regards

Kári 

CCXML Script Receiving Messages from Web Server is not working

$
0
0

Hi,

I want to get all extension and corresponding phone numbers in ccxml. Hence I have created the website which responses back plain/text output required for ccxml <send>.

some how <send> is not working. the IVR is not getting connected saying 'Your call can not be completed at this time' and ccxml session gets destroyed.

Please find below the ccxml script and logs. Any help is more appreciated.

I send two parameters two web page as 'http://82.112.226.108:9095/MediaServerResponse.plaintext?Method=GetExtension&PhoneNumber=02089030278'

which responses back with

GetExtensionSuccessful
SiteExtensions=636,637,618
SitePhoneNumbers=02086340636,02086340637,02086340618

media server version is  Rel_17.0_1.458.

---------- ccxml script is --------------

<?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml">
    <var name="incomingCallConnId" expr="''" />
    <var name="outgoingCallConnId" expr="''" />
    <var name="currentState" expr="'initial'" />
    <var name="confID" expr="''"/>
    <var name="dialogId" expr="''" />
    <var name="vxml_maxtime"/>
    <var name="URI"/>
    <var name="maxtime_sendid"/>
    <var name="results"/>
    <var name="callerId" expr="''" />
    <var name="transferId" expr="''" />
    <var name="site_phonenumbers" expr="''" />
    <var name="site_extensions" expr="''" />
    <var name="Method" expr="'GetExtension'" />
    <var name="PhoneNumber" expr="'01241730117'" />
    <eventprocessor statevariable="currentState" >
        <transition state="initial" event="connection.alerting">
            <log expr="'We like you! We are going to answer the call.'"/>
            <log expr="'SIP request URI user=' + event$.info.sip.requesturi.user" />
            <log expr="'SIP request URI host=' + event$.info.sip.requesturi.host" />
            <assign name="incomingCallConnId" expr="event$.connectionid"/>
            <assign name="callerId" expr="event$.connection.remote.replace('@bbtnet.co.uk', '')" />
            <accept/>
            <send target="'http://82.112.226.108:9095/MediaServerResponse.plaintext?Method=GetExtension&PhoneNumber=02089030278'" targettype="'basichttp'" name="'GetExtensionSuccessful'" namelist="PhoneNumber" />
        </transition>
        <transition state="initial" event="send.successful" >
            <log expr="'Sent authorization request to basic http processor successfully.'"/>
        </transition>        
        <transition state="initial" event="send.failed" >
            <log expr="'Sending events to external basic http processor failed.'"/>
        </transition>
        <transition state="initial" event="GetExtensionSuccessful">
            <assign name="site_extensions" expr="event$.SiteExtensions"/>
            <log expr="'Site Extensions are ---- ' + event$.SiteExtensions" />
            <assign name="site_phonenumbers" expr="event$.SitePhoneNumbers"/>
            <log expr="'Site phone numbers are ---- ' + event$.SitePhoneNumbers" />
        </transition>
        <transition event="GetExtensionFailed">
            <log expr="'GetExtensionFailed --- '" />
        </transition>
        <transition event="InvalidMethodFailed">
            <log expr="'InvalidMethodFailed --- '" />
        </transition>
        <transition event="error.send">
            <log expr="'Sending failed ----- '" />
        </transition>        
        <transition state="initial" event="connection.connected">
            <log expr="'Incoming call is answered; originating call to other party'" />
            <send targettype="'ccxml'" name="'start.dialog'" target="session.id" delay="'0s'"/>
        </transition>
        <transition event="start.dialog"  state="initial">
            <dialogprepare connectionid="incomingCallConnId" type="'application/voicexml+xml'" src="'main.vxml'" />  
        </transition>     
        <transition event="dialog.prepared"  state="initial">
            <log expr="'-- ' + event$.name +' -- [' + currentState +']'"/>
            <assign name="dialogId" expr="event$.dialogid"/>
            <dialogstart prepareddialogid="dialogId" connectionid="incomingCallConnId" />
            <assign name="currentState" expr="'connestablished'" />
        </transition>    
        <transition event="dialog.started" >
            <log expr="'Dialog is running...'"/>
        </transition>
        <transition state="connestablished" event="dialog.transfer">            
            <assign name="transferId" expr="event$.URI" />
            <log expr="' -- Transfering Call to : ' + transferId + ' ----------- '"/>
                
            <redirect dest="transferId"/>             
        </transition>
        <transition state="redirecting" event="connection.redirected">
        </transition>
        <transition state="redirecting" event="connection.failed">
        </transition>
        <transition state="redirecting" event="dialog.exit">
            <exit/>
        </transition>
        <transition event="connection.disconnected">
            <log expr="'Call has been disconnected. Ending CCXML Session.'"/>
            <exit/>
        </transition>
        <transition event="connection.failed">
            <log expr="'Connection '+ event$.connectionid + ' failed, ending CCXML Session.'"/>
            <exit/>
        </transition>
    </eventprocessor>
</ccxml>

---------- vxml script -----------------

<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml">
  <meta name="maintainer" content="abc@inclarity.co.uk" />
  <menu id="menu0">
    <prompt>
      <audio src="/group/broadsoft/01620500833/secret_sales_menu_1.wav" />
    </prompt>
    <choice dtmf="1" next="#menu0_2" />
    <choice dtmf="2" next="#menu0_3" />
  </menu>
  <form id="menu0_2">
    <block>
      <goto next="#ask0_2_1" />
    </block>
  </form>
  <form id="menu0_3">
    <block>
      <goto next="#tfr0_3_1" />
    </block>
  </form>
  <form id="ask0_2_1">
    <field name="requestedExtension">
      <grammar type="application/sgrs+xml" src="/group/broadsoft/dtmf3digits.grxml" />
      <prompt>
        <audio src="/group/broadsoft/PromptForExtension.wav">
            Please dial the four digit extension of the party you want to reach.
          </audio>
      </prompt>
      <noinput>
        <log label="autoattendant - getextension">noinput</log>
        <prompt>
          <audio src="/group/broadsoft/PromptForExtension.wav" />
        </prompt>
      </noinput>
      <filled>
        <log label="autoattendant - getextension">
            xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ------------- wwwwwwwwwwww digits entered <value expr="requestedExtension" /></log>
        <assign name="transferToParty" expr="requestedExtension$.utterance.replace('','', 'g' )" />
        <log label="autoattendant - getextension">
            xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ------------- wwwwwwwwwwww digits entered <value expr="requestedExtension" /></log>
        <log label="autoattendant - transferToParty">
            xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ------------- wwwwwwwwwwww digits entered <value expr="transferToParty" /></log>
        <goto next="#transfer" />
      </filled>
    </field>
  </form>
  <form id="tfr0_3_1">
    <transfer name="tfr0_3_1" dest="01620500998" bridge="true" />
  </form>
  <var name="transferToParty" />
  <form id="transfer">
    <block>
      <log label="autoattendant - transfer">
          Initiating transfer to <value expr="transferToParty" /></log>
    </block>
    <transfer name="transferresult" connecttimeout="30s" destexpr="transferToParty" bridge="true" />
    <catch event="error.unsupported.transfer.blind">
      <log label="autoattendant - transfer">blind transfer is not supported</log>
      <prompt>
        <audio src="/group/broadsoft/InvalidMenuInput.wav" />
      </prompt>
      <goto next="#askDigits" />
    </catch>
    <catch event="error.connection.baddestination">
      <log label="autoattendant - transfer">Wrong number</log>
      <prompt>
        <audio src="/group/broadsoft/InvalidMenuInput.wav" />
      </prompt>
      <goto next="#askDigits" />
    </catch>
    <catch event="error.connection.noresource">
      <log label="autoattendant - transfer">Network busy</log>
      <prompt>
        <audio src="/group/broadsoft/NetworkUnavailable.wav" />
      </prompt>
      <exit expr="'error.connection.noresource'" />
    </catch>
  </form>
</vxml>

---------- ccxml logs are ---------------

2013.03.08 13:56:10:295 GMT | Info       | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" : init

2013.03.08 13:56:10:295 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" :  CcxmlSession::msgProcThreadFn

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [BroadWorks CCXML Connection] "N/A" : initCcxmlSession

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Connection] "N/A" : Connection::init connectionId:ccxmlConn_10308

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" : add - creating binding for callId: 892

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" :  CcxmlSession::msgProcThreadFn - sending CcxmlSessionCreated

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [BroadWorks CCXML Connection] "N/A" : alerting

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [BroadWorks CCXML Connection] "N/A" : alerting connectionInfo details:
{
  local_uri: "ivr_11893_0@bbtnet.co.uk",
  remote_uri: "01620500997@bbtnet.co.uk",
  protocol_name: "sip",
  protocol_version: "2.0",
  redirect: [
    {
      uri: "unknown",
      pi: "unknown",
      si: "unknown",
      reason: "unknown"
    }
  ],
  aai: "unknown",
  remote_originator: true,
  sip: {
    requesturi: {
      user: "dialog",
      host: "ms1",
      ccxml: "http://82.112.234.48/group/broadsoft/01620500833/main.ccxml"
    },
    media: {
      0: {
        type: "audio",
        direction: "sendrecv"
      }
    },
    headers: {
      via: "SIP/2.0/UDP 10.1.0.11;branch=z9hG4bKBroadWorks.-1p9vvku-10.1.0.31V5060-0-623168734-1792188045-1362750970298-
",
      from: ""Dhanaji Shinge Pune Office"<sip:01620500997@bbtnet.co.uk;user=phone>;tag=1792188045-1362750970298-
",
      to: ""Test Ext ivr_11893_0"<sip:ivr_11893_0@bbtnet.co.uk;ccxml=http://82.112.234.48/group/broadsoft/01620500833/main.ccxml>
",
      call-id: "BW135610298080313200615308@10.1.0.11
",
      cseq: "623168734 INVITE
",
      contact: "<sip:10.1.0.11:5060>
",
      supported: "100rel,timer
",
      allow: "ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
",
      accept: "multipart/mixed,application/dtmf-relay,application/media_control+xml,application/sdp,application/x-broadworks-call-center+xml
",
      min-se: "60
",
      session-expires: "1800;refresher=uac
",
      max-forwards: "60
",
      content-type: "application/sdp
",
      content-length: "340
"
    }
  }
}

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [CCXML Session Interpreter] "BEGIN" : IOtCcxmlTelHwConnEvents::sendConnectionAlerting()

    protocol : sip
    local : ivr_11893_0@bbtnet.co.uk
    remote : 01620500997@bbtnet.co.uk
    aai : aai
    substate : N/A
    connectionId : ccxmlConn_10308

2013.03.08 13:56:10:296 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [CCXML Session Interpreter] "END" : IOtCcxmlTelHwConnEvents::sendConnectionAlerting()

    retValue : 0
    connectionId : ccxmlConn_10308

2013.03.08 13:56:10:300 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" : destroyCcxmlSession

2013.03.08 13:56:10:300 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Session] "N/A" : msgProcThreadFn terminating upon request

2013.03.08 13:56:10:300 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Method call> [CCXML Session Interpreter] "BEGIN" : IOtTelHwConnection::destroy()

    connectionId : ccxmlConn_10308

2013.03.08 13:56:10:300 GMT | Debug      | SessionFile

{main.ccxml-01620500997-2013.03.08-13.56.10-298} <Session tracking> [BroadWorks CCXML Connection] "N/A" : Connection::destroy callid:892

 

createcall before accept in CCXML

$
0
0

Is it possible to create an outbound call without giving an answer to the caller until the outbound call is connected, using CCXML/VoiceXML?
Both parties will be joined to a conference after both are connected.

Media caching in BW 18

$
0
0

What caching mechanism works for audio files in VoiceXML in Broadworks 18 sp1.

I read somewhere I should use HTTP Expires headers from the webserver but, they do not seem to work. The files are fetched for each call?

conference no hold

$
0
0

Hi,
I'd like to know if there is a way to conference a third party without placing on hold the caller.
I'm thinking that it might be possible using CCXML that whenever somebody calls my number, he should be in some sort of a conference and using a feature access code to be able to call a third party without placing on hold the other participants.
Please advise.
Thanks and regards,
Mihai Radulescu


VXML capture DTMF

$
0
0

Hello,

I'm trying to get DTMF from a VXML script which is called in its turn form a CCXML via dialogstart and joined to a conference via conferenceid="myconfid"

If I do the same thing joined to a single caller, DTMF capture works like a charm, however when trying as stated above it fails to detect the input.

The VXML code I'm using to achieve this, is partly derived from the Meet Me conf. example

<field name="confPin">

<grammar mode="dtmf" version="1.0" root="atLeastOneDigit">

<rule id="digit">

<one-of>

<item>0</item>

<item>1</item>

<item>2</item>

<item>3</item>

<item>4</item>

<item>5</item>

<item>6</item>

<item>7</item>

<item>8</item>

<item>9</item>

<item>*</item>

</one-of>

</rule>

<rule id="atLeastOneDigit" scope="public" >

<one-of>

<item repeat="3">

<ruleref uri="#digit"/>

</item>

</one-of>

</rule>

</grammar>

 

<filled>

<log label="get pin">digits entered <value expr="confPin$.utterance" /></log>

<assign name="conferenceID" expr="confPin$.utterance.replace('','', 'g' )" />

<if cond="conferenceID != '*12'&amp;&amp; conferenceID != '*98'">

<goto next="#enterAccessCode" />

<else/>

<goto next="#SayDigit" />

</if>

</filled>

</field>

 

Any thoughts on how could I get this working, or if I'm missing something?

 

best regards,

Ciprian Radu 

ASP.NET integration...

$
0
0

We
need register with SIP line credential on flash sip phone, In-bound calling,
Out-Bound Calling on any Digital and Analog phone using SIP Lines. We also need
recording feature of any call and recorded file should be saved on our windows
server where our web application will be host with a unique id which we will
pass in record javascript function. Recorded file will be in MP3 or MP4 format.
These feature we need to work on any html page using javascript. This index
page should work on our windows server where our web application host. For this
you have to configure linux server. We need also Asterisks server credential.
Red 5 Server credential and links.  We no need to display flash sip phone
on index.html page. So its should be hide.

 

Then they said:

our requirement is making
inbound and outbound calling from our web application which built in ASP.Net.

Intercept user outbound call re route not working

$
0
0

i have provisoned an user via OCI and set the intercept user service on and re routed outbound calls to a particular number which is a voice xml. But now when i try to make an outbound call, instead of being re routed to that particular number, i get an IVR saying ur number has been made out of service and pls contact ur admin. I guess this is a default IVR, but not sure why its being played instead of re routing the call. Is there any other config that has to be set to achieve what i am intending to?

Voice XML not able to capture DTMF

$
0
0

Hi,
I wrote up a basic vxml, its not capturing the dtmf input. Can someone please let me know is there anything am doing the wrong way?
main.vxml:
"""








CAPTURED:










"""
grammar.vxml:
"""


0123456789*#

"""
Logs:
2013.07.14 07:34:06:013 CDT | Info | vxmlfe
{main.vxml-6007008001-2013.07.14-07.34.06-100} [Resource Loader] "file:///export/home/bwadmin/activator/main.vxml" : Resource loading finished.
2013.07.14 07:34:06:014 CDT | Info | vxmlfe
{main.vxml-6007008001-2013.07.14-07.34.06-100} [Resource Loader] "file:///export/home/bwadmin/activator/grammar.xml" : Resource loading finished.
2013.07.14 07:34:06:014 CDT | Info | vxmlfe
{main.vxml-6007008001-2013.07.14-07.34.06-100} [curl stream] "http://shriram:AnpiDesign11@fabric01ram01.anpisolutions.net/live/static/one_two_star.wav" : Data to submit: no
Data encoding:
Submit method:
2013.07.14 07:34:06:809 CDT | Info | confbe
[pid:27794] RTP: ssrc=7B66B6F0 Accepting RTP stream from 172.31.17.105:23892
2013.07.14 07:34:06:867 CDT | Info | ivrbe
[pid:27798] RTP: ssrc=D97C99E0 Accepting RTP stream from 127.0.0.1:10910
2013.07.14 07:34:09:301 CDT | Info | confbe
[pid:27794] RTP: ssrc=1B170822 Accepting RTP stream from 127.0.0.1:10912
2013.07.14 07:34:09:828 CDT | Info | confbe
[pid:27794] RTP: ssrc=(D97C99E0) RTCP Receiver Info: totallost=0 fractionlost=0 maxSeqNum=59376 jitter=1
2013.07.14 07:34:13:008 CDT | Info | ivrbe
[pid:27798] RTP: ssrc=(1B170822) RTCP Receiver Info: totallost=0 fractionlost=0 maxSeqNum=3800 jitter=4.062
2013.07.14 07:34:13:867 CDT | Info | confbe
[pid:27794] RTP: ssrc=(D97C99E0) RTCP Receiver Info: totallost=0 fractionlost=0 maxSeqNum=59631 jitter=0.062
2013.07.14 07:34:18:008 CDT | Info | ivrbe
[pid:27798] RTP: ssrc=(1B170822) RTCP Receiver Info: totallost=0 fractionlost=0 maxSeqNum=3865 jitter=2
2013.07.14 07:34:19:107 CDT | Info | vxmlfe
{main.vxml-6007008001-2013.07.14-07.34.06-100} [BroadWorks VoiceXML Session] "N/A" : Interpretation completed, disconnecting...
2013.07.14 07:34:19:107 CDT | Info | vxmlfe
{main.vxml-6007008001-2013.07.14-07.34.06-100} [BroadWorks VoiceXML Session] "N/A" : releasing session 100
2013.07.14 07:34:19:108 CDT | Info | confbe
[pid:27794] RTP: CLOSE ssrc=7B66B6F0 receiver stats: packet expected=615 received=615 jitter=0.253281 resyncs=0 outoforder=0 badpayload=0 badssrc=0 rtcp=0 plc=0
2013.07.14 07:34:19:108 CDT | Info | confbe
[pid:27794] RTP: CLOSE ssrc=(170ABFB3) sender stats: packets sent=242 bytes sent=38720 rtcp=0 totallost=0 fractionlost=0
2013.07.14 07:34:19:114 CDT | Warn | msfe
ProgrammableMixer::deregisterHandle Orphaned handle 0
2013.07.14 07:34:19:112 CDT | Info | ivrbe
[pid:27798] RTP: CLOSE ssrc=D97C99E0 receiver stats: packet expected=611 received=611 jitter=0.0776691 resyncs=0 outoforder=0 badpayload=0 badssrc=0 rtcp=3 plc=0
2013.07.14 07:34:19:112 CDT | Info | ivrbe
[pid:27798] RTP: CLOSE ssrc=(1B170822) sender stats: packets sent=242 bytes sent=154880 rtcp=2 totallost=0 fractionlost=0
2013.07.14 07:34:19:112 CDT | Info | confbe
[pid:27794] RTP: CLOSE ssrc=1B170822 receiver stats: packet expected=242 received=242 jitter=1.97992 resyncs=0 outoforder=0 badpayload=0 badssrc=0 rtcp=1 plc=0
2013.07.14 07:34:19:112 CDT | Info | confbe
[pid:27794] RTP: CLOSE ssrc=(D97C99E0) sender stats: packets sent=612 bytes sent=391680 rtcp=2 totallost=0 fractionlost=0
2013.07.14 07:34:19:129 CDT | Info | msfe
SipUdpSocket::sendSipMessage sending message to 172.31.110.201 port 5060
BYE sip:172.31.110.201:5060 SIP/2.0
Via: SIP/2.0/UDP 172.31.110.210:5060;branch=z9hG4bK-BroadWorks-MS-1083249438
From: "user activator" ;tag=1032949694
To: "shriram ramamurthy" ;tag=1608250081-1373805245811-
Call-ID: BW073405811140713-78056300@172.31.110.201
CSeq: 1225090361 BYE
Max-Forwards: 70
Content-Length: 0
2013.07.14 07:34:19:134 CDT | Info | msfe
SipUserAgent received message from 172.31.110.201
SIP/2.0 200 OK
Via:SIP/2.0/UDP 172.31.110.210:5060;branch=z9hG4bK-BroadWorks-MS-1083249438
From:"user activator";tag=1032949694
To:"shriram ramamurthy";tag=1608250081-1373805245811-
Call-ID:BW073405811140713-78056300@172.31.110.201
CSeq:1225090361 BYE
Content-Length:0

Intercept user is on,intercept inbound calls is working fine but allow outbound calls is not working.

$
0
0

i have provisoned an user via OCI and set the intercept user service on.and intercept inboud calls on and allow outbound calls on.terminal result is inbound call is disable but outbound calls also block.So please let me know is any other way around to allow outgoing calls and only block incoming calls?

Can VoiceXML URI contain Query String Params?

$
0
0

I'm attempting to integrate with a VoiceXML webapp. This webapp requires some query string parameters. I've attempted to configure them as follows under the Profile-Addresses of the user that will connect to the webapp:

dialog@ms1.xdp.broadsoft.com;voicexml=http://<webapp-address>?param1=value1&param2=value2

This doesn't work. The query string parameters just get stripped off when the request is sent. Is there any way to do this using some other syntax? The VXML/CCXML Developers Guide only shows options for passing params to an actual script.

Troubles with uploading a CPL script

$
0
0

I am having trouble uploading and/or even linking to a URL of a CPL script. I've tried different extensions like .xml and .cpl but none seem to work. The error i'm getting when either uploading the script to the "Service Scripts" menu in Broadworks or pointing the URL to the script.xml is:

**Parsing Error** Line: 2 Message: Document is invalid: no grammar found.

Here is the actual script:

http://0c31ac7857e819701732-7c102875f448c5383a11c1d07426cb3e.r86.cf1.rac...

This is just a test cpl script and I tried moving the code around to satisfy broadworks parsing engine but this error always occured no matter what.

I also tried just creating a CPL script that points to a voicexml script but got the same error. Does anyone have advice here?

 

Lastly, I'm looking for someone who can write a CPL/VoiceXML script for a project. Please email me at joe at gawlabs dot com.

 

Thanks. 


VoiceXML and Answer Machine Detection

$
0
0

Hi All,

I'm in the final stages of wrapping up an integration
into Broadsoft Media server by means of CCXML and VoiceXML, however,
have the following two questions and their viability?

1) Does the
Broadsoft Media Server support a createsession request. I'm setup the
ccxml http server on the MS and its working by loading a defaultccxml
script, however, I'd like to rather have my system perform an HTTP POST
to the ccxmlhttpserver and create a new session that will then call the
CCXML script I want it to use (instead of using the default ccxml script
thats loaded on start up and listens for http events)

2) Is it
possible to do Answer Machine detection / Fax machine detection within
the VoiceXML dialog on the Broadsoft Media server? I'd like the ability
for the MS to tell me if the device answering the call is human or not.

 

I'm
really hoping the question 2 is possible, as this will finalize my
integration. It would be really nice if question 1 is possible too as
this will mean that I could offer seamless integration into the
Broadsoft product offering without having the need to request a
defaultccxmlscript on startup setup on the media servers.

I look forward to your responses.

Many thanks,

Doug

VXML script not retrieved/running

$
0
0

I am trying to run a simple VXML dialog in the Sandbox, but the media server is not retrieving the file from my web server.

My group User1 is configured per the documentation with:

- Device: BroadWorks Media Server (System)

- Contact: dialog@ms1.xdp.broadsoft.com;voicexml=http://-----/prompt.xml

First of all, is the media server ("ms1.xdp.broadsoft.com") correct?  That is from the Sandbox docs and I believe it did work the last time I was testing (2 months ago). 

When I call User1 from another user (User2) I see in the basic logs that are available that User2 placed a call but User1 missed the call.  I'm not sure what this means, technically.  Are there any other logs that provide better call detail in order to debug what is happening?

My web server's logs show that no attempt was made to retrieve the file. 

Any idea as to why this doesn't work?  I'm a BroadWorks newbie so any help would be appreciated.

Is there a way to get an alert via XSI when a Voicemail is left in the users mailbox.

get call-id from header by ccxml script

$
0
0

hello

how to get call id from header? i'm trying to get from connection.alerting.info.sip.headers (which is "Associative array where each key in the array is the non-compact name...." by manual) and for example
connection.alerting.info.sip.headers.to contains TO

connection.alerting.info.sip.headers.contact contains CONTACT
but

connection.alerting.info.sip.headers.call-id - UNDEFINED.

here is part of log 

 2014.05.13 18:28:22:626 MSK | Info       | SessionFile

 

        {ext_collect_2.ccxml-53783-2014.05.13-18.28.22-1172[collectingEXT.vxml].116} <Session tracking> [BroadWorks VoiceXML Session] "N/A" : session.connection:

{

  local_uri: "99999@corp.lukoil.com",

  remote_uri: "53783@10.155.0.7",

  protocol_name: "sip",

  protocol_version: "2.0",

  redirect: [

    {

      uri: "unknown",

      pi: "unknown",

      si: "unknown",

      reason: "unknown"

    }

  ],

  aai: "unknown",

  remote_originator: true,

  sip: {

    requesturi: {

      user: "dialog",

      host: "ms2.msk.lukoil.net",

      ccxml: "file:///bw/install/vxml/ext_collect_2.ccxml"

    },

    media: {

      0: {

        type: "audio",

        direction: "sendrecv"

      }

    },

    headers: {

",    via: "SIP/2.0/UDP 10.155.0.7;branch=z9hG4bKBroadWorks.sfkdmn-10.155.0.12V5060-0-989723843-1735555190-1399991302533-

",    from: ""Andrey Lozovoy"<sip:53783@10.155.0.7;user=phone>;tag=1735555190-1399991302533-

",    to: ""test3 sten"<sip:99999@corp.lukoil.com;ccxml=file:///bw/install/vxml/ext_collect_2.ccxml>

",    call-id: "BW182822533130514527580825@10.155.0.7

",    cseq: "989723843 INVITE

",    contact: "<sip:10.155.0.7:5060>

",    p-asserted-identity: ""Andrey Lozovoy"<sip:53783@10.155.0.7;user=phone>

",    privacy: "none

",    allow: "ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY

",    accept: "application/media_control+xml,application/sdp,multipart/mixed

",    supported: "

",    max-forwards: "10

",    content-type: "application/sdp

"     content-length: "313

    }

  },

  ccxml: {

    sessionid: "",

    dialogid: "",

    connectionid: undefined,

    conferenceid: undefined,

    values: {

      DialedNumber: "99999"

    }

  },

  values: undefined

}

 .......

 

 2014.05.13 18:28:22:529 MSK | Warn       | SessionFile

 

        {ext_collect_2.ccxml-53783-2014.05.13-18.28.22-1172} <Application message> [CCXML Session Interpreter] "N/A" : Extension collect - Receiving call from 53783@10.155.0.7 to"test3 sten"<sip:99

 CALL ID undefinedm;ccxml=file:///bw/install/vxml/ext_collect_2.ccxml>

any ideas?

Viewing all 19 articles
Browse latest View live