[sr-dev] kamcmd dialplan.dump
Daniel-Constantin Mierla
miconda at gmail.com
Mon Dec 1 23:58:50 CET 2014
Hello,
On 29/11/14 14:52, Olle E. Johansson wrote:
> Hi!
> I've written code that dumps one dialplan over the RPC interface. I think it's a useful addition.
> Ok to commit?
yes.
Daniel
>
> Cheers,
> /O
>
>
>
> /usr/local/sbin/kamcmd dialplan.dump 100
> {
> DPID: 100
> ENTRIES: {
> ENTRY: {
> PRIO: 1
> MATCHOP: 1
> MATCHEXP: ^sip:edvina at .*$
> MATCHLEN: 0
> SUBSTEXP: ^(.*)$
> REPLEXP: sip:pinefrog1 at sipguru.no
> ATTRS: Pepparkaka blåbär
> }
> ENTRY: {
> PRIO: 1
> MATCHOP: 1
> MATCHEXP: ^sip:oej at .*$
> MATCHLEN: 0
> SUBSTEXP: ^(.*)$
> REPLEXP: sip:pinefrog1 at sipguru.no
> ATTRS: Pinefrogalias
> }
> ENTRY: {
> PRIO: 2
> MATCHOP: 2
> MATCHEXP: Blåbär.*
> MATCHLEN: 0
> SUBSTEXP: Subst
> REPLEXP: Replace me
> ATTRS: hej attribute hey hey hey 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
> }
> ENTRY: {
> PRIO: 20
> MATCHOP: 0
> MATCHEXP: Hej*
> MATCHLEN: 0
> SUBSTEXP:
> REPLEXP:
> ATTRS: pelle
> }
> ENTRY: {
> PRIO: 25
> MATCHOP: 1
> MATCHEXP:
> MATCHLEN: 0
> SUBSTEXP:
> REPLEXP:
> ATTRS: gurka
> }
> }
> }
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
More information about the sr-dev
mailing list