Hi Paul,
I've placed an example implementation online at the following location:
http://openser.org/dokuwiki/doku.php?id=avp_examples
Hope it helps.
Regards, Norm
Norm,
Thank you very much,
I guess the routing part that actually performs the forward should look somewhat like this.
route[7] {
/* check for forward feature settings for this user */
avp_db_load("$ruri","s:fwd"); avp_print();/* for debugging */
/* check if fwd exists for this user */
if ( avp_check("s:fwd","re/sip:[0-9]+.+/g")) {
/* it exists now redirect the call */
avp_pushto("$ruri","s:fwd"); append_hf("P-hint: call forwarded by user\r\n");
setflag(3); /*indicate forwarded call */ log(1,"LOG: forward found in database call will be forwarded\n");
/* uri has been changed , continue */
} else
{
log(1,"LOG: no forward found..... continuing");
} }
What do you suggest to use for the spoken noticications in your example ? Is there a module capable of doing this with Openser ?
Best regards Paul
-----Oorspronkelijk bericht----- Van: users-bounces@openser.org [mailto:users-bounces@openser.org] Namens Norman Brandinger Verzonden: zaterdag 3 december 2005 19:03 Aan: users@openser.org Onderwerp: [Users] Features support cfg file ?
Hi Paul,
I've placed an example implementation online at the following location:
http://openser.org/dokuwiki/doku.php?id=avp_examples
Hope it helps.
Regards, Norm
_______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
The idea of using audio clips to notify users of various situations is more of a PBX function than a PROXY function. OpenSER, being a PROXY doesn't natively support this, however, it works well with other packages that do natively support this function. I use a an Asterisk box to provide audio clips. Haven't worked with SEMS but I'll bet that it can be used also.
An example of the important line to add in the configuration is below:
rewriteuri("sip:destination_busy@CLIP_SERVER_HOST:CLIP_SERVER_PORT");
Depending on the situation, you will also have to add an:
append_branch();
Hope this helps Norm
Paul van Schagen wrote:
Norm,
Thank you very much,
I guess the routing part that actually performs the forward should look somewhat like this.
route[7] {
/* check for forward feature settings for this user */ avp_db_load("$ruri","s:fwd"); avp_print();/* for debugging */ /* check if fwd exists for this user */ if ( avp_check("s:fwd","re/sip:[0-9]+.+/g")) { /* it exists now redirect the call */ avp_pushto("$ruri","s:fwd"); append_hf("P-hint: call forwarded by user\r\n"); setflag(3); /*indicate forwarded call */ log(1,"LOG: forward found in database call will be
forwarded\n");
/* uri has been changed , continue */ } else { log(1,"LOG: no forward found..... continuing"); }
}
What do you suggest to use for the spoken noticications in your example ? Is there a module capable of doing this with Openser ?
Best regards Paul
-----Oorspronkelijk bericht----- Van: users-bounces@openser.org [mailto:users-bounces@openser.org] Namens Norman Brandinger Verzonden: zaterdag 3 december 2005 19:03 Aan: users@openser.org Onderwerp: [Users] Features support cfg file ?
Hi Paul,
I've placed an example implementation online at the following location:
http://openser.org/dokuwiki/doku.php?id=avp_examples
Hope it helps.
Regards, Norm
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi guys,
Sems has support for 183 early media, witch will make it a very very nice announcement box :-)
-atle
* Norman Brandinger norm@goes.com [051204 16:38]:
The idea of using audio clips to notify users of various situations is more of a PBX function than a PROXY function. OpenSER, being a PROXY doesn't natively support this, however, it works well with other packages that do natively support this function. I use a an Asterisk box to provide audio clips. Haven't worked with SEMS but I'll bet that it can be used also.
An example of the important line to add in the configuration is below:
rewriteuri("sip:destination_busy@CLIP_SERVER_HOST:CLIP_SERVER_PORT");
Depending on the situation, you will also have to add an:
append_branch();
Hope this helps Norm
Paul van Schagen wrote:
Norm, Thank you very much, I guess the routing part that actually performs the forward should look somewhat like this.
route[7] { /* check for forward feature settings for this user */ avp_db_load("$ruri","s:fwd"); avp_print();/* for debugging */ /* check if fwd exists for this user */
if ( avp_check("s:fwd","re/sip:[0-9]+.+/g")) { /* it exists now redirect the call */ avp_pushto("$ruri","s:fwd"); append_hf("P-hint: call forwarded by user\r\n"); setflag(3); /*indicate forwarded call */ log(1,"LOG: forward found in database call will be
forwarded\n");
/* uri has been changed , continue */ } else { log(1,"LOG: no forward found..... continuing"); } }
What do you suggest to use for the spoken noticications in your example ? Is there a module capable of doing this with Openser ?
Best regards Paul
-----Oorspronkelijk bericht----- Van: users-bounces@openser.org [mailto:users-bounces@openser.org] Namens Norman Brandinger Verzonden: zaterdag 3 december 2005 19:03 Aan: users@openser.org Onderwerp: [Users] Features support cfg file ?
Hi Paul,
I've placed an example implementation online at the following location:
http://openser.org/dokuwiki/doku.php?id=avp_examples
Hope it helps.
Regards, Norm
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users