I called m_dump() somewhere near my REGISTER block but IM in msilo are not being sent to my UA. !?
A copy of your ser.cfg, or at least the section that handle your REGISTER, would help. Output from ngrep will be even better.
I would like to use presence (subscribe/notify) to manage missed call, message store . For example i have two hardphones. If phone1 is offline or busy notify message is sent to phone2. phone1 and phone2 are always registered in location table and powered. I don't want to use "if(!lookup("location")) ... "in ser.cfg to manage missed call, message store.
I don't know how to implement such senario with subscribe/notify. It cross my mind that this is not doable. Someone better than me may be able to help you.
Most of us are gearing our knowledge base on location table. If you want to do something different, be the pioneer. Not to discourage you but IMHO, subscribe/notify better serve the IM world than call flow.
What can set in ser.cfg in order to find the phones status in ser database?
Harry
--- Zeus Ng zeus.ng@isquare.com.au wrote:
See reply inline.
Sorry i ever sent this mail last week without
reply.
Then wait for a week or two before reposting and not to cross posted.
I do hope somebody could help me.
I set up ser + serweb + asterisk with 2 ip300
Polycom.
ip300 Polycom supporting SUBSCRIBE/NOTIFY/MESSAGE methods. When i set one phone offline (phone is powered and registered in location table) i can't store IM in msilo table.IM is
sent to phone.
Add the MESSAGE method in your failure route to handle this situation. Something similar to:
if (method == "MESSAGE") { if (m_store("1")) { t_reply("202", "Accepted"); } else { t_reply("503", "Service Unavailable"); }; break;
if i switch off phone IM is stored in msilo table
but
when I switch on the phone IM is not dumped to
phone.
Have you call m_dump() somewhere near your REGISTER block. This is how the IM in msilo being sent to your UA.
Can we use presence (subscribe/notify) in order to store IM and missed calls in serweb because of hardphones don't have to be switched off !?
What exactly do you want to do? No offence but can you rephrase the sentence. I can hardly understand what you are trying to achieve.
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/