After spending all day working with carrierroute, I think I am missing something pretty
fundamental about it.
I see that I can use cr_tree_rewrite_uri() to select a new carrier, but WHY does the
carrier have to be hard coded in the cfg file, and why does it require a STRING name of
the carrier? I really don't understand that. It makes no sense whatsoever to hard code
your carriers in your config file.
Doug.
----- Original Message ----
From: Douglas Garstang <dougmig33(a)yahoo.com>
To: Ovidiu Sas <osas(a)voipembedded.com>
Cc: users(a)lists.openser.org
Sent: Monday, March 24, 2008 7:59:13 PM
Subject: Re: [OpenSER-Users] Carrierroute
Ovidiu,
Ok... thanks... now... do you know how I can change carrier mid call?
Doug.
----- Original Message ----
From: Ovidiu Sas <osas(a)voipembedded.com>
To: Douglas Garstang <dougmig33(a)yahoo.com>
Cc: users(a)lists.openser.org
Sent: Monday, March 24, 2008 7:24:31 PM
Subject: Re: [OpenSER-Users] Carrierroute
The database config is right in the README file.
Here are the trees:
+----+----------+
| id | carrier |
+----+----------+
| 1 | carrier1 |
| 2 | carrier2 |
| 3 | default |
+----+----------+
I agree with you that the names are confusing :)
You may or may not need to use the subscriber tables, based on what
functions are you using.
In the example that I gave you, you don't need the location table.
Instead, you force a routing tree (in my example is the "default"
tree).
Hope this helps,
Ovidiu Sas
On Mon, Mar 24, 2008 at 9:51 PM, Douglas Garstang <dougmig33(a)yahoo.com> wrote:
Ovidiu,
I need database config info.... your example uses the config file.
What is a 'tree'? The documentation keeps talking about it, but I don't see
it defined anywhere. Carrierroute SEEMS to need the subscriber table, but it
doesn't load it from the database.... why not?
Why should I spend days experimenting to get it to work? If the docs where
adequate, that wouldn't be required.
Doug.
----- Original Message ----
From: Ovidiu Sas <osas(a)voipembedded.com>
To: Douglas Garstang <dougmig33(a)yahoo.com>
Cc: users(a)lists.openser.org
Sent: Monday, March 24, 2008 5:43:53 PM
Subject: Re: [OpenSER-Users] Carrierroute
Hello Douglas,
The database sample is available in the README file here:
http://www.openser.org/docs/modules/1.3.x/carrierroute.html#AEN575
The entire documentation is there, you just need to read it carefully
and experiment.
You had a similar post about the documentation for the lcr module and
in the end it seems that you figure it out :)
If you think that you can improve documentation, feel free to send
patches for the README file.
Here you can find a configuration file example for carrierroute:
http://voipembedded.com/resources/openser_cr.cfg
Regards,
Ovidiu Sas
On Mon, Mar 24, 2008 at 7:52 PM, Douglas Garstang <dougmig33(a)yahoo.com>
wrote:
I have been trying to get the carrierroute module to work ALL day.
Can someone 'supplement' the openser docs with maybe some sample database
data?
The docs really aren't making sense. The docs keep talking about a routing
tree? What is a routing tree?
When I start openser, I don't see it query the subscriber table. Should
it?
Thanks,
Doug.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-----Inline Attachment Follows-----
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ