Re: [OpenSIPS-Users] Route to media-server, but reply negative

2012-10-14 Thread Remco .
Thanks Max. That does the trick for the Asterisk part. However, calls are now returned with 603-declined. Anyone on how to make opensips wait for the message to complete, and then return 404? On Sat, Oct 13, 2012 at 11:06 PM, Max Mühlbronner wrote: > Hi, > > ** ** > > regarding asterisk as m

Re: [OpenSIPS-Users] Route to media-server, but reply negative

2012-10-14 Thread Flavio Goncalves
Remco, Use hangup with a code. Example: hangup(17) generates a 486 message. A complete list can be found at http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause Flavio E. Goncalves 2012/10/14 Remco . > Thanks Max. That does the trick for the Asterisk part. However, calls are >

Re: [OpenSIPS-Users] Route to media-server, but reply negative

2012-10-14 Thread Muhammad Shahzad
What you are do is wrong. You are forwarding leg B to Asterisk and at the same time telling leg A that destination not found. So its obvious that you will get 6xx response. The right way to do it is set Asterisk as next destination in failure route and let asterisk play the IVR in 183 early media

[OpenSIPS-Users] Error "Commands out of sync; you can't run this command now "

2012-10-14 Thread David Cunningham
Hello, We recently experienced a database error "Commands out of sync; you can't run this command now". I understand this is a known issue with presence. Can anyone advise what version it was fixed in? Thank you! Oct 12 10:34:01 myhost /sbin/opensips[10735]: ERROR:db_mysql:db_mysql_submit_query:

[OpenSIPS-Users] 回复: opensips use engage_media_proxy(),cannot end_media_session() problem

2012-10-14 Thread ㄨ冷se灬
Hi: When I add BYE processing as follow : if (method==BYE) { end_media_session(); } an error occurs: Oct 15 10:36:27 opensips-1 /sbin/opensips[12894]: ERROR:mediaproxy:use_medi