Plantronics + Polycom. Now together as Poly Logo

how to receive instant messages out of call?

Occasional Advisor

how to receive instant messages out of call?

Hi,

 

after enabling the instant message feature, the VVX 1500d does receive instant message that were sent by asterisk with its MessageSend() application.  Unfortunately, it does not receive such messages outside of phone calls: When a message is being sent, the phone shows an incoming phone call, and I need to pick up the call for the message to arrive.  If I don't pick up the call, the phone only shows a missed call, and the message is not received.

 

That makes instant messages rather pointless :(

 

How can I make it so that instant messages can be received without having to pick up a phone call?

 

Message 1 of 7
6 REPLIES 6
Highlighted
Polycom Employee & Community Manager

Re: how to receive instant messages out of call?

Hello @hw ,

 

welcome back to the Poly Community.

Both the communities Must Read First and the FAQ reference the basic minimum information a new or follow up post should contain.

This ensures the questions having to be asked are limited and any new or follow up post contains the right amount of details to ensure any voluntary participant within the community does not spend additional time chasing basic information.

As a reminder the basic information asked for:

 

  • Provide the exact Software Version of your Phone
  • Provide the Phone Model
  • Provide the Call Platform (aka openSIP,Teams, Skype for Business Online, Skype for Business on Premise, Lync)
  • Additional Poly Infrastructure (RPRM,PDMS or BToE)
  • If applicable provide a backup of the phone in question

UC Software 4.0.0 or later via the Web Interface Utilities > Phone Backup & Restore > Phone Backup > Phone Backup. Please rename into .TXT or Zip the file to attach.
Since UC Software 5.9.0 simply provide this via the Web Interface Diagnostics > Download Support Information Package

  • If possible provide a Log and either attach them or use the Code Tag.Consult the Troubleshooting Section found within the FAQ if applicable
  • If possible provide the MAC Address or Serial of the device
  • Provide details for example if the issue is a day 1 issue or only happened after an upgrade or any other relevant details
  • For questions around Support please check here

 

 

Whilst providing some of these details may not directly impact any possible answer the community can provide, it does enable Poly to have an overview of the current software used. In addition, providing all details at the same time allow us to check logs or look up potential support partners if an issue needs to come into support. It also enables us to verify the entitlement for using features.

 


Please ensure you always check the FAQ's and/or utilize the community search before posting any new topics or follow up posts.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 2 of 7
Occasional Advisor

Re: how to receive instant messages out of call?

Hi,

 

thank you for your reply.  I'm not sure what exactly you need to know.  I have provided the phone model and the calling platform, and I don't even know what "RPRM,PDMS or BToE" mean.  The UC-admin-guide 5.0.6 says on page 110 "All VVX business media phones can send and receive instant text messages."

 

Hence my question does not apply to a particular phone model, software version, calling plattform etc..  I'm not keen on publicly giving out MAC addresses or serial numbers, especially when this doesn't seem necessary at all.

 

Updater Version 5.9.7.19340

UC Software Version 5.9.2.3446

 

In asterisks extensions.conf, I'm using:

 

[msg2phone]

exten => sendinfo,1,Set(MESSAGE(body)="${information}")
same => n,MessageSend(sip:vvx1500d)
same => n,HangUp()

 

Calls to this context and extension are initiated via automatically created call files within which the variable 'information' is being set.  This is to automatically send text messages to phones to inform users of something.

 

Applications like csipsimple and gswave for Android phones simply accept such messages without any phone calls involved, as is the very point of having this feature.

 

Message 3 of 7
Polycom Employee & Community Manager

Re: how to receive instant messages out of call?

Hello @hw ,

 

All these details are valid and are important.

 

Sending an Instant Message from a VVX 501 phone running 5.9.2.3446:

 

0701160210|sip  |0|00|    MESSAGE sip:3034@10.252.149.60 SIP/2.0
0701160210|sip  |0|00|    Via: SIP/2.0/UDP 10.252.149.69;branch=z9hG4bK536f15d61CD53871
0701160210|sip  |0|00|    From: "VVX 501" <sip:VVX501@10.252.149.69>;tag=2740FFE8-823F5B1B
0701160210|sip  |0|00|    To: "3034" <sip:3034@10.252.149.60>;tag=45FFB2B-6F6B3EA6
0701160210|sip  |0|00|    CSeq: 2 MESSAGE
0701160210|sip  |0|00|    Call-ID: e555ffb901cdaaed0dc8d5229a02012b
0701160210|sip  |0|00|    Contact: <sip:VVX501@10.252.149.69>
0701160210|sip  |0|00|    Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
0701160210|sip  |0|00|    User-Agent: PolycomVVX-VVX_501-UA/5.9.2.3446
0701160210|sip  |0|00|    Accept-Language: en
0701160210|sip  |0|00|    Max-Forwards: 70
0701160210|sip  |0|00|    Content-Type: text/plain
0701160210|sip  |0|00|    Content-Length: 17
0701160210|sip  |0|00|    
0701160210|sip  |0|00|    Got your message.
0701160210|sip  |0|00|<<< End of data send

Receiving this on a VVX 301 running 5.8.4.0681:

 

0701160210|sip  |0|00|<<<Data Received UDP
0701160210|sip  |0|00|    MESSAGE sip:3034@10.252.149.60 SIP/2.0
0701160210|sip  |0|00|    Via: SIP/2.0/UDP 10.252.149.69;branch=z9hG4bK536f15d61CD53871
0701160210|sip  |0|00|    From: "VVX 501" <sip:VVX501@10.252.149.69>;tag=2740FFE8-823F5B1B
0701160210|sip  |0|00|    To: "3034" <sip:3034@10.252.149.60>;tag=45FFB2B-6F6B3EA6
0701160210|sip  |0|00|    CSeq: 2 MESSAGE
0701160210|sip  |0|00|    Call-ID: e555ffb901cdaaed0dc8d5229a02012b
0701160210|sip  |0|00|    Contact: <sip:VVX501@10.252.149.69>
0701160210|sip  |0|00|    Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
0701160210|sip  |0|00|    User-Agent: PolycomVVX-VVX_501-UA/5.9.2.3446
0701160210|sip  |0|00|    Accept-Language: en
0701160210|sip  |0|00|    Max-Forwards: 70
0701160210|sip  |0|00|    Content-Type: text/plain
0701160210|sip  |0|00|    Content-Length: 17
0701160210|sip  |0|00|    
0701160210|sip  |0|00|    Got your message.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 4 of 7
Occasional Advisor

Re: how to receive instant messages out of call?

Hi,

 

I'm not sending instant messages from phone to phone but from asterisk to phone.  I have enabled SIP debugging, sent a message and accepted the call.  All I'm getting in the log is:

 

1907011813|log |*|00|changed log level of 1198 to 0
1907011814|brow |4|00|CPolyWebPage - javaScriptAlert() Hide #012
1907011814|app1 |4|00|AppHybridC::termLclChg failed to find pCall
1907011814|brow |4|00|CPolyWebPage - javaScriptAlert() Hide #012

 

That tells me nothing ...

 

Message 5 of 7
Polycom Employee & Community Manager

Re: how to receive instant messages out of call?

Hello @hw,

 

I simply posted the logs from a Poly perspective aka what we send and what we receive. You can use these to compare.

 

In my test, the phone simply sends the message and the other phone receives it without ringing. It does emit a tone signalling it has received a message.

 

I have no Idea if Asterisk / Digium is sending the same format so you would need to take this up with them.

 

if you still believe this to be a Poly issue, or we are violating any RFC we claim to follow or you see this as a bug, please open a ticket.

 

In order to raise a support ticket, you need to work with your Poly reseller as they may need to do this for you.


End Customers are usually unable to open a ticket directly with Poly support.

If this is some sort of an Internet discounter providing your MAC address or your Poly devices serial will enable us to look up who would be able to support you. This may not be who you purchased the Poly device from.

If the unit is no longer within the warranty please be prepared to Pay Per Incident / PPI. This is all outlined in detail here

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 6 of 7
Occasional Advisor

Re: how to receive instant messages out of call?

Hi,

 

I see what you mean, and I found that I was looking in the wrong direction:  The way I was using the call file, asterisk would first make a call to the phone supposed to receive the instant message I was trying to send (which at first seems the logical thing to do), and only if the call would go through, asterisk would go to the extension which would actually send the message (which at first seems not logical).

 

Fortunately, making a call to a phone can be substituted by making a call to a Local channel when only the call file is made up to do so.  That means asterisk can be made to go to an extension in  the dialplan depending on what Channel is given in the call file, which can be the extension that sends the instant message.  The phone then receives the instant message without recieving a call, which is what I intended.  Documentation towards this can be found here:

 

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files

https://wiki.asterisk.org/wiki/display/AST/Trivial+Local+Channel+Example

https://wiki.asterisk.org/wiki/display/AST/Using+Callfiles+and+Local+Channels

 

Message 7 of 7