Re: [SR-Users] kamctl dialplan addrule

2011-10-24 Thread Arthur Alkhasyan
Thank you Daniel, I tried different combination but still have problem: kamctl dialplan addrule \\ 10 100 1 ^123+ 0 '^(123)(.+)' \2 ERROR: dialplan - unexpected 100 for operating matching. Use 'equal' or 'regexp'! I proceed with PHPMyAdmin and was able to insert values directly to db: kamctl di

Re: [SR-Users] kamctl dialplan addrule

2011-10-21 Thread Daniel-Constantin Mierla
Hello, On 10/21/11 3:36 PM, Arthur Alkhasyan wrote: Hi all, I'm new to the list and new to the Kamailio. We are using Kamailio with Mysql to route calls between clients asterisks and SIP PSTN gateways. We have two inbound gateways and one outbound. I need to add outbound gateway and a few new

[SR-Users] kamctl dialplan addrule

2011-10-21 Thread Arthur Alkhasyan
Hi all, I'm new to the list and new to the Kamailio. We are using Kamailio with Mysql to route calls between clients asterisks and SIP PSTN gateways. We have two inbound gateways and one outbound. I need to add outbound gateway and a few new features: 1. Call routing between carriers based at pre