ftocc

480i - sample xml files please

PBInTO
Posts: 35
Member Since:
2006-06-16

Hi,

I am sorry; I am not a big xml programmer. That being said I have an idea of its use etc. I, like many others, likely, could use some help with some sample xml files / applications:

1) Is it possible to use xml to send info to phone about what did / trunk was called by inbound caller? If so, could you please provide an example of how to do this? I.e. "Calling ABC Dept" / "Calling in on XXX-XXX-XXXX" .

In my case, I have two companies and 4 departments for which I would like to see who is being called. Some of my people where more than one hat and work for more than one company / department and I would like them to know how to answer the phone. Also we have two languages, so I would like people to know which language to answer in.

2) In opposite route to above, is there a way to use xml to set cid for outgoing calls? I would like to be able to either use soft / hard keys to dial out and have it show relevent applicable i.e. "ABC Department".

Alternative 1, I would like to be able to use xml to set outgoing route/trunk.

Alternate 2, I would like xml to help send proper info so right dial plan is used.

Alternate 3, the one I am trying to avoid, is to require typing prefix ie 8 or 9 etc to pick cid to be used. Also, this last option is very limiting.

3) I suspect parts of this are quite easy but ... I have one of the Nortel retail phones preceded the 480i. My home pots provider "Bell Canada" is constantly flashing up little messages / promo information on screen while it is not in use. How do you push the 480i these types of messages from time to time.

How do you cycle through these messages (this may be the more complicated part).

Thanks.

Regards

Peter

--

2 x AMD 64 - Asus A8N VM 1 Gig Ram 160 Gig SATA HD
Both have TDM card ..11 & ..13
1 x PIII 450 512 k ram 40 gig HD
Using IAX2 trunks.



aastra3
Posts: 95
Member Since:
2006-11-07
Re: 480i - sample xml files please

check out the Aastra Telecom SIP IP Phone XML Development Guide - Release 1.4.1
The Sticky note lets you know how to download it.

Quote:
1) Is it possible to use xml to send info to phone about what did / trunk was called by inbound caller? If so, could you please provide an example of how to do this? I.e. "Calling ABC Dept" / "Calling in on XXX-XXX-XXXX" .

Take a look at the action URIs in the documentation. basically the answer is probably yes, but you need to tailor it to fit you app. ( the XML is very powerful)

Quote:
2) In opposite route to above, is there a way to use xml to set cid for outgoing calls? I would like to be able to either use soft / hard keys to dial out and have it show relevent applicable i.e. "ABC Department".

Alternative 1, I would like to be able to use xml to set outgoing route/trunk.

Alternate 2, I would like xml to help send proper info so right dial plan is used.

Alternate 3, the one I am trying to avoid, is to require typing prefix ie 8 or 9 etc to pick cid to be used. Also, this last option is very limiting.

not sure what you mean by using XML in this case. you could write an app that changes the display name of the user and then make a call. but may be better just to add several lines to you 480i - each phone can handle up to 9 lines. Play with the XML and see what it can do then it will probably become obvious what you should do.

Quote:
3) I suspect parts of this are quite easy but ... I have one of the Nortel retail phones preceded the 480i. My home pots provider "Bell Canada" is constantly flashing up little messages / promo information on screen while it is not in use. How do you push the 480i these types of messages from time to time.

yes - just push an xml page to the phone. see the guide.



PBInTO
Posts: 35
Member Since:
2006-06-16
Re: 480i - sample xml files please

Thanks,

I am aware of manual and have read it but based on experience in using this xml stuff with this phone I have had a hard time turning guide into something I could use. I was hoping there were some more samples I could read over to see if I could make some headway.

It would be appreciated of others are using XML on their systems if they could post some sample files to help others gets some ideas and to build on.

Thanks.

Regards

Peter

--

2 x AMD 64 - Asus A8N VM 1 Gig Ram 160 Gig SATA HD
Both have TDM card ..11 & ..13
1 x PIII 450 512 k ram 40 gig HD
Using IAX2 trunks.



aastra3
Posts: 95
Member Since:
2006-11-07
Re: 480i - sample xml files please

Read this post - in the near future we should be adding some more XML/php to trixbox



PBInTO
Posts: 35
Member Since:
2006-06-16
Re: 480i - sample xml files please

[d]Sorry cannot find post referred to.[/d]

--

2 x AMD 64 - Asus A8N VM 1 Gig Ram 160 Gig SATA HD
Both have TDM card ..11 & ..13
1 x PIII 450 512 k ram 40 gig HD
Using IAX2 trunks.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.