cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
943
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: MARCUS STOLZENBERG on 29-08-2013 07:15:10 AM
HI,

I try to add a Phone. Everything is fine and working without BLF

If I try to add BLF I get an error:

["busyLampFields"]=>  object(stdClass)#16 (1)
    { ["busyLampField"]=>  array(2)
        { [0]=>  object(stdClass)#17 (6)
            { ["blfDirn"]=>  string(3) "123"
              ["routePartition"]=>  string(11) "Intern"
              ["label"]=>  string(17) "James, T"
              ["asciiLabel"]=>  string(1) "V"
                ["associatedBLFSDFeatures"]=>  object(stdClass)#18 (1)
                { ["feature"]=>  string(6) "Pickup" }
              ["index"]=>  int(1) }
          [1]=>  object(stdClass)#19 (6)
            { ["blfDirn"]=>  string(3) "345"
              ["routePartition"]=>  string(11) "Intern"
              ["label"]=>  string(13) "Bert, Null"
              ["asciiLabel"]=>  string(1) "P"
                ["associatedBLFSDFeatures"]=>  object(stdClass)#20 (1)
                { ["feature"]=>  string(6) "Pickup" }
              ["index"]=>  int(2) }
              ...
 
Fatal error: Uncaught SoapFault exception:  SOAP-ERROR: Encoding: object has no 'blfDest' property in

If I add blfDest property in the same code there is no error and the blf field is added but I need blfDirn / routePartition.

Best Regards,
Marcus

Subject: RE: AddPhone BLF fails 9.1
Replied by: Arthur Stuivenberg on 12-09-2013 02:56:51 AM
I've got the same issue with cucm 8.5.1. 

Also, when I add blfDest with value NULL I get the following error message:
"Either an existing internal DN or an external destination can be specified for BLF Speed Dial, but not both."

Someone knows what we're doing wrong?

Subject: RE: AddPhone BLF fails 9.1
Replied by: MARCUS STOLZENBERG on 12-09-2013 03:59:41 AM
HI Arthur,

I solved my problem. I collected traces on CUCM and found that the request never reached the CUCM. So I had a deep look on the PHP side and found that PHP generated the error and never send the Soap Call to the server.

I modfied the the xsd file a little bit After this the PHP side was OK and the call was successfully passed to CUCM....

Your "Problem" is that you can not set blfDest to NULL. You must leave it out completely.

Allowed is:
 <!--You have a CHOICE of the next 2 items at this level-->
                  <blfDirn>?</blfDirn>
 
Or:

<!--Optional:-->
                  <routePartition>?</routePartition>
                  <blfDest>?</blfDest>

Best Regards,
Marcus

Subject: RE: AddPhone BLF fails 9.1
Replied by: Arthur Stuivenberg on 12-09-2013 04:11:11 AM
Thanks for your reply, Marcus.

When I did not specify (just left it out) the blfDest field, I got the error that blfDest wasn't specified..
So I edited the .xsd aswell, just changed the minOccurs of the blfDest from 1 to 0, and now it works perfectly.

Thanks, Arthur.

Subject: RE: AddPhone BLF fails 9.1
Replied by: Arthur Stuivenberg on 12-09-2013 04:29:31 AM
Yeah, I also use PHP. I'm not sure, but happy enough it works now!

Subject: RE: AddPhone BLF fails 9.1
Replied by: MARCUS STOLZENBERG on 12-09-2013 04:26:37 AM


Do you use PHP? This is exactly the same change I did.

The only thing I don't know is if the .xsd is OK and PHP is buggy or the otherway round.

Marcus
Comments
Adam Cohn
Community Member

Hey guys,

I am also having this issue and tried modifying the AXLSoap.xsd file but am not having any luck.  I changed this line:

<xsd:element maxOccurs='1' name='blfDest' minOccurs='1' type='xsd:string'>

to:

<xsd:element maxOccurs='1' name='blfDest' minOccurs='0' type='xsd:string'>

But still get the "object has no 'blfDest' property".  Any help would be appreciated.

Thank you,

Adam

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links