[Users] Re: Users Digest, Vol 12, Issue 83

Padmaja RV padmaja.rv at vodcalabs.com
Wed May 31 11:26:16 CEST 2006


Hi all!

         can any one tell me what is the best method to run openser out of 
all the methods mentioned in the link below?
http://openser.org/install.php


Thank you,
Regards,
Padmaja

----- Original Message ----- 
From: <users-request at openser.org>
To: <users at openser.org>
Sent: Wednesday, May 31, 2006 12:09 PM
Subject: Users Digest, Vol 12, Issue 83


> Send Users mailing list submissions to
> users at openser.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://openser.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at openser.org
>
> You can reach the person managing the list at
> users-owner at openser.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>   1. Can this work?: re. uac_auth cseq problem (G.Jacobsen)
>   2. Call Hunting: use Avpop or LCR module ? (Rafael J. Risco G.V.)
>   3. Re: Call Hunting: use Avpop or LCR module ?
>      (Daniel-Constantin Mierla)
>   4. multiple domain best practices? (Mark Kent)
>   5. Re: dispatcher module and rewritehost vs forward (Script Head)
>   6. Dialog Module & MySQL (Martin Klisch)
>   7. OpenSER and Redundancy (Martin Klisch)
>   8. Re: how to run openser through monit daemon? (Jayesh Nambiar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 May 2006 17:19:05 +0300
> From: "G.Jacobsen" <g_jacobsen at yahoo.co.uk>
> Subject: [Users] Can this work?: re. uac_auth cseq problem
> To: <users at openser.org>
> Message-ID: <06ef01c683f8$3d8da960$6501a8c0 at winmach1>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am still digging in this cseq uac problem which I need desperately to 
> solve.
>
> The problem is that the uac_auth function can create credentials for the 
> downstream proxy after being challenged with a 401 or 407 message - but 
> the downstream proxy (UAS) refuses this proxy_auth message since openser 
> does not increase the cseq number. Increasing the cseq number only 
> downstream wouldnt solve the problem since any replies of the downstream 
> proxy back to the originating UAC would have cseq numbers which are out of 
> sync.
>
> I propose: In order to keep the cseq numbers in sync upstream and 
> downstream one must generate challenges and proxy-auth responses on both 
> legs of the route - and not only respond downstream as currently.
>
> So whenever openser receives from the downstream proxy a challenge it must 
> forward this challenge the originating UAC (if necessary modify the 
> message in such a way that the UAC is guaranteed to respond). This 
> upstream challenge causes the originating UAC to increase the cseq. 
> Naturally openser must also increase the cseq number downstream  when 
> generating its own proxy_auth repsonse to the downstream proxy. Whatever 
> credentials UAC produces are discarted by openser.
>
> The scheme:
>
> 1. UAC issues invite which is routed by OS to the downstream proxy (UAS) - 
> as usual.
> 2. UAS issues challenge 401 or 407 - as usual
> 3. OS captures challenge on_failure route - as envisaged by UAC module
> 4. this is new:
> a) OS relays the challenge upstream to UAC (would it be necessary to 
> modify it before doing so ?)
> b) OS constructs with uac_auth function correct proxy_auth credentials for 
> UAS, increases the cseq with some text manipulation function and replies 
> to UAS.
> 5. UAC responds with (wrong) proxy_auth credentials via OS to UAS
> 6. OS discards the credential message it received from the UAC - to avoid 
> that the message reaches UAS.
> 7. Invite successful or failure : UAS responds with further messages which 
> are routed to UAC.
>
> Can this scheme work - or am I overlooking something here ?
>
> TIA
>
> Gerry
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://openser.org/pipermail/users/attachments/20060530/e1023120/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 30 May 2006 11:47:30 -0500
> From: "Rafael J. Risco G.V." <rafael.risco at gmail.com>
> Subject: [Users] Call Hunting: use Avpop or LCR module ?
> To: serusers at iptel.org, users at openser.org
> Message-ID:
> <119663dc0605300947t1a62d43am8897023ca684b5ca at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> hi
> I would like to read some opinions to know which method its better to
> implement Call Hunting, using serial forking with 'avpops' or 'lcr'
> module 'load_contacts()/next_contact()' functions, does someone has an
> example of any of these methods?
>
>
> rafael
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 31 May 2006 00:04:41 +0300
> From: Daniel-Constantin Mierla <daniel at voice-system.ro>
> Subject: Re: [Users] Call Hunting: use Avpop or LCR module ?
> To: rrisco at millicom.net.pe
> Cc: serusers at iptel.org, users at openser.org
> Message-ID: <447CB369.9070000 at voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> On 05/30/06 19:47, Rafael J. Risco G.V. wrote:
>> hi
>> I would like to read some opinions to know which method its better to
>> implement Call Hunting, using serial forking with 'avpops' or 'lcr'
>> module 'load_contacts()/next_contact()' functions, does someone has an
>> example of any of these methods?
> if it is a global scope you can use any of them, Which is better?
> Depends on your environment and how you organize  your data.
>
> If is per user, then avpops is more suitable. An example of using avpops
> you can find at:
>
> http://www.voice-system.ro/docs/avpops/ar01s08.html#ex_serial_forking
>
> Cheers,
> Daniel
>
>>
>>
>> rafael
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 30 May 2006 17:57:29 -0700
> From: Mark Kent <markmac at noc.mainstreet.net>
> Subject: [Users] multiple domain best practices?
> To: OpenSER-users <users at openser.org>
> Message-ID: <F83A06FB-AB27-49E1-ADAC-AA67EA0E0A5B at noc.mainstreet.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> I'm unclear on how multiple domains should be handled in sip/openser,
> etc.  The scope of my confusion may be broader than just with openser,
> and this is more of a "concept" problem, but I'm hoping someone here
> can point me in the right direction.
>
> I've read the "domain" module documentation at openser.org.
> I'm using a Linksys SPA942 IP phone for this experiment with
> my openser 1.0.1 server.
>
> The SPA942 appears to do the following:
>
> a) sends "sip:$PROXY" for the REGISTER request-uri.
>    Here $PROXY is the actual entry typed in by the user,
>    as opposed to something looked up by using DNS SRV.
>
> b) appends "@$PROXY" to the "User ID:" entry in the "From:" field
>    and appends @IP:PORT for "Contact:"
>
> That is, as the person who configures the phone, I can view the
> proxy setting as declaring the domain of the user.
>
> But it seems more natural to me to put the actual host name of the
> proxy in that setting.  That is, if I run a service on sip.foo.net and
> have customers in domains bif.net and baz.net then each of them
> listing sip.foo.net as their sip proxy is reasonable.
>
> But, if I go that route, then it seems the only way for the user to
> send the sip server their domain is as part of the userID:
> john at baz.net and if they do that then I get "From:" fields like
> john at baz.net@sip.foo.net, and similar "Contact:" settings.
>
> Now, I can strip off the trailing domain but the clumsiness of that
> uri (sip:john at baz.net@sip.foo.net) gives me the feeling that this is
> the wrong approach.  Looking at the "Contact:" pretty much convinces
> me of this: sip:john at baz.net@192.168.168.214:5060
>
> But that takes me back to using the Proxy field as dual-duty:
> specifying the proxy and also the user's domain.
>
> I just looked at a cisco 7905 and it too does not appear to have
> a way to set the user domain.
>
> I can see how I could use unique AuthIDs to look up domains at
> registration time,  but that seems misguided too.
>
> What am I missing?
>
> Thanks,
> -mark
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 30 May 2006 21:43:50 -0400
> From: "Script Head" <scripthead at gmail.com>
> Subject: Re: [Users] dispatcher module and rewritehost vs forward
> To: OpenSER-users <users at openser.org>
> Message-ID:
> <451eb55c0605301843o433cddcasbdacdee8fee3e7c9 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> My question was about the use of rewritehostport in conjunction with the
> dispatcher module.
>
> I see the syntax that's required by rewritehostport yet I am strugging to
> understand how to take the result set of the dispatcher ds_select_dst
> command and pass it to the rewritehostport. For some reason I thought that
> uri:host and uri:port where the resulting variables out of ds_select_dst,
> no?
>
>
>
> On 5/30/06, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
>>
>> Hi,
>>
>> first of all t_on_reply("1"); is useless since you do stateless forward
>> and that functionality may be used only in a stateful context.
>>
>> and yes, the syntax is wrong. See
>>
>>
>> http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook#rewritehost_sethost
>>
>> regards,
>> bogdan
>>
>> Script Head wrote:
>>
>> > I have the following in my config, which works...
>> > now if I comment forward and comment out rewritehost I get errors. Am
>> > I not using the correct syntax?
>> >
>> > route[5] {
>> >
>> >         #
>> > -----------------------------------------------------------------
>> >         # PSTN Handler
>> >         #
>> > -----------------------------------------------------------------
>> >
>> >         t_on_reply("1");
>> >
>> >         # do load balancing
>> >         ds_select_dst("1","4");
>> >         sl_send_reply("100","Trying");
>> >
>> >         #rewritehost(uri:host);
>> >         forward(uri:host,uri:port);
>> >
>> >         route(4);
>> >         route(1);
>> > }
>> >
>> >------------------------------------------------------------------------
>> >
>> >_______________________________________________
>> >Users mailing list
>> >Users at openser.org
>> >http://openser.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://openser.org/pipermail/users/attachments/20060530/07face20/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Wed, 31 May 2006 08:03:09 +0200 (CEST)
> From: "Martin Klisch" <martin at campus-merseburg.de>
> Subject: [Users] Dialog Module & MySQL
> To: users at openser.org
> Message-ID:
> <8755.212.122.42.107.1149055389.squirrel at mail.goodoldnew.de>
> Content-Type: text/plain;charset=iso-8859-1
>
> Hi,
>
> is it planned to insert a MySQL-functionality in MySQL? Would be a nice
> feature.
>
> Bye, Martin
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 31 May 2006 08:13:12 +0200 (CEST)
> From: "Martin Klisch" <martin at campus-merseburg.de>
> Subject: [Users] OpenSER and Redundancy
> To: users at openser.org
> Message-ID:
> <9935.212.122.42.107.1149055992.squirrel at mail.goodoldnew.de>
> Content-Type: text/plain;charset=iso-8859-1
>
> Hi,
>
> is anyone using openser in a redundancy enviroment? i'm planning to use
> two sunfire with a running openser on each.
>
> both openser get the same ip adress. on a cisco switch i can switch
> between too servers via hsrp. so i have a running openser on the expensive
> sunfire with redundant disk-drives and power supply. on the other cheap
> sunfire runs the backup client on standby. the backup server checks (for
> example via sipsak) the availability of the main server every second.
>
> the user-locations are written into a mysql table.
>
> so if server1 fails, server2 can recognize it in a second and can switch
> over.
> so only some transaction, which were processed at the moment of the
> failure will lost.
>
> what do you think. could this work? anyone has other ideas?
>
> bye, martin
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 31 May 2006 07:38:37 +0100 (BST)
> From: Jayesh Nambiar <voip_freak at yahoo.co.in>
> Subject: [Users] Re: how to run openser through monit daemon?
> To: users at openser.org
> Cc: padmaja.rv at vodcalabs.com
> Message-ID: <20060531063837.91977.qmail at web8401.mail.in.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
>
> Hi padmaja,
> Running openser from cvs would not solve your problem. Openser from cvs is 
> the development version which will be released after final testing is 
> done.
> To be safe, its better if you use .tar.gz file to install. For enabling 
> mysql, go to the openser directory and you'll find a makefile. In the 
> makefile there is a line exclude_modules?= somewhere around line no.49. 
> From there just remove mysql and recompile it again.
> You can start openser using openserctl start from the command line.
> To check for some errors you can set debug=9 in the openser.cfg file.
> Normally the logs are stored into /var/log/messages. You can check for 
> errors in this file.
>
>
> Hi!
> there is something I need to mention here with respect to openser not
> working.....
>
> Initially I had openser installed from .tar.gz and i could run it from
> /usr/local/sbin/openser. It worked fine that way without any 
> authentication.
> I could see local registration of my sip UAs with the openser being
> successful.  then i set up mysql. It too started successfulyy thru webmin.
> next I tried to create the openser database in mysql from
> /usr/sbin/openser_mysql.sh create. It prompted me for the root password of
> mysql, the domain name and then failed stating that the Ha1 calculation
> failed. also when i tried to modify the openser.cfg file to support mysql
> database i found that there is no mysql.so module in the
> /usr/local/lib/openser/modules/ path.
>
> Because of the above problems, I tried installing openser from CVS and 
> here
> all the modules and configuration files are present in the respective
> locations as mentioned in the web link for installing openser. I could 
> even
> create the openser database structures in mysql. i tried uncommenting the
> needed modules for database suppport. now when i try to run openser thru
> monit, there is absolutely no response and openser does not look like
> running............
>
> I am a newbie at openser......please help me which way i should run
> openser.....
>
> thanks and regards,
> Padmaja
>
>
>
>
>
>
> ---------------------------------
>  Yahoo! India Answers: Share what you know. Learn something new Click here
> Send free SMS to your Friends on Mobile from your Yahoo! Messenger 
> Download now
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://openser.org/pipermail/users/attachments/20060531/6086cd98/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 12, Issue 83
> *************************************
> 





More information about the sr-users mailing list