OpenSIPS for balancing two asterisk

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OpenSIPS for balancing two asterisk

vorobyov_ms
Hi ! I read article in google about OpenSIPS . I'm installed on centos OpenSips.

I have two asterisk server:
10.1.4.108 - first server
10.1.4.109 - second server

PC for balancing as sip proxy - 10.1.4.113 (when i'm installed OpenSIPS)

Please help me:
1) What command for add new member for balancing?

In www i found this:
opensipsctl dispatcher addgw 1 sip:fs1.ext.ip.addr:5060 0 'fs1'
opensipsctl dispatcher addgw 1 sip:fs2.ext.ip.addr:5060 0 'fs2'

This command use for add for balancing????
dispatcher addgw <setid> <destination> <socket> <flags> <weight> <attrs> [description]
What means flasg ?

2) In manual i found about "resources "
 transc=30; pstn=32

Where this constants "resources" in manual i am not found (((
Please help me