[OpenSIPS-Users] Custom E164 Dialplan on CDRTool

2011-08-30 Thread Mike Tesliuk
Hello Guys, Im trying to change the E164 rule used by cdrtool to charge my calls (is a test enviroment), i create on library/cdr_generic.php the class E164_Brazil Below the code that i insert on cdr_generic class E164_Brazil extends E164 { function E164_Brazil ($intAccessCode='00',

[OpenSIPS-Users] Automatic acceptance of calls for some users

2011-08-30 Thread Carmelo D
Hi all In my system I have about twenty SIP clients all registered to the same OpenSIPS. Only two of these clients have high priority and should be served as fast as possible. The idea was to implement a logic so that for these two clients I have automatic call acceptance. Other calls from other

[OpenSIPS-Users] avp set in branch_route

2011-08-30 Thread Jeff Pyle
Hello, If an avp is set in a branch_route, does that avp still exist if a failure_route catches a negative reply and sends the call back into request routing for a serial fork? Or, does the avp go away once that branch goes away? - Jeff ___ Users

Re: [OpenSIPS-Users] avp set in branch_route

2011-08-30 Thread Dave Singer
avps are per transaction. A branch is just part of a transaction. Until the transaction is terminated the avp stays active. Be aware that a call's avp is write-able in all branches and assigning a value to an existing avp pushes the new value on the top of the avp array. Calls do not go back to

[OpenSIPS-Users] Pre append area code to dialed phone number

2011-08-30 Thread Mike O'Connor
Hi All I need to pre append an area code to phone numbers as configuring the clients dial plans is driving me mad. How do I update just the phone number in an invite. The match is complicated as each state in Australia has a different set of prefixes which would require the addition of a