miguelaustro at gmail.com Guest
|
Posted: Wed Dec 10, 2014 6:17 am Post subject: [asterisk-users] UPDATE instead of RE-INVITE |
|
|
HI,
It is possible to disable/remove INVITE method in 200 OK responses?
I want to receive from another SIP/PBX the the media path redirection in a UPDATE message rather than an INVITE, after calls are transfered.
My asterisk is version 11.
e.g:
----------------------------------------
SIP/2.0 200 OK
.
From: "user <sip:+2404985962@IP>;tag=1685058321
To: user2 <sip:user2@10.20.0.22:5060>;tag=as30297c0c
..
Allow: ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE, UPDATE <--------
----------------------------------------
(INVITE should not be on the list for this 200 OK responses)
Now, the other endpoint won't see INVITE on 'Allow' list and should send the media redirection path in a UPDATE sip message, instead of a INVITE (according to the documentation).
Any idea how to do it in asterisk 11?
('canreinvite=update' doesn't seem to work on this version)
Regards,
--
"Efficiency is doing things right; effectiveness is doing the right things (Peter Drucker)"
Miguel OyarzoDevOps & VoIP EngineerLinux User: # 483188 - counter.li.orghttp://au.linkedin.com/in/mikeaustralia
Melbourne, Australia |
|