Discussion:
[OpenSIPS-Users] moh or in dialog media insertion with opensips as sip proxy
Dani Popa
2011-06-16 12:11:38 UTC
Permalink
Hi all,

I looked on the internet for MOH with opensips as sip proxy(not b2b) and
other media servers (sems,asterisk,etc). The answers on internet was
that is not possible because SIP implementation and because
sems,asterisk are full implemented sip servers(invite from opensips to
media server for "on hold" with to-tag and from-tag will be recognized
as reinvite without initial invite). Anyone managed to implement the MOH
with Opensips as SIP proxy ?

Also for features like "in call recharge", when the customer go to low
credit, i want to announce him that is get low credit, and that he can
recharge pressing some confirmation digits. For this features i don't
have any solution how can i implement it . Can someone give me a hint ?



Thanks,
Dani
Adrian Georgescu
2011-06-16 12:46:52 UTC
Permalink
You cannot do this reliably unless you insert a B2BUA in the call flow.

Adrian
Post by Dani Popa
Hi all,
I looked on the internet for MOH with opensips as sip proxy(not b2b) and other media servers (sems,asterisk,etc). The answers on internet was that is not possible because SIP implementation and because sems,asterisk are full implemented sip servers(invite from opensips to media server for "on hold" with to-tag and from-tag will be recognized as reinvite without initial invite). Anyone managed to implement the MOH with Opensips as SIP proxy ?
Also for features like "in call recharge", when the customer go to low credit, i want to announce him that is get low credit, and that he can recharge pressing some confirmation digits. For this features i don't have any solution how can i implement it . Can someone give me a hint ?
Thanks,
Dani
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Dani Popa
2011-06-16 12:50:18 UTC
Permalink
Hi,

I thought so, but I needed confirmation.


Thanks Adrian,
Dani
Post by Adrian Georgescu
You cannot do this reliably unless you insert a B2BUA in the call flow.
Adrian
Post by Dani Popa
Hi all,
I looked on the internet for MOH with opensips as sip proxy(not b2b) and other media servers (sems,asterisk,etc). The answers on internet was that is not possible because SIP implementation and because sems,asterisk are full implemented sip servers(invite from opensips to media server for "on hold" with to-tag and from-tag will be recognized as reinvite without initial invite). Anyone managed to implement the MOH with Opensips as SIP proxy ?
Also for features like "in call recharge", when the customer go to low credit, i want to announce him that is get low credit, and that he can recharge pressing some confirmation digits. For this features i don't have any solution how can i implement it . Can someone give me a hint ?
Thanks,
Dani
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Ovidiu Sas
2011-06-16 13:15:34 UTC
Permalink
Rtpproxy is able to play an audio file to one of the participants in the call:
http://www.rtpproxy.org/wiki/RTPproxy/Protocol#Startmediaplayback

Check out the following opensips functions to start/stop streaming to a UAC:
http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#rtpproxy_stream2xxx
http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#rtpproxy_stop_stream2xxx


Regards,
Ovidiu Sas
Post by Dani Popa
Hi all,
I looked on the internet for MOH with opensips as sip proxy(not b2b) and
other media servers (sems,asterisk,etc). The answers on internet was that is
not possible because SIP implementation and because sems,asterisk are full
implemented sip servers(invite from opensips to media server for "on hold"
with to-tag and from-tag will be recognized as reinvite without initial
invite). Anyone managed to implement the MOH with Opensips as SIP proxy ?
Also for features like "in call recharge", when the customer go to low
credit, i want to announce him that is get low credit, and that he can
recharge pressing some confirmation digits. For this features i don't have
any solution how can i implement it . Can someone give me a hint ?
Thanks,
Dani
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Loading...