In conf/dialplan/default.xml, the eavesdrop extension's condition is - expression="^88(.*)$|^\*0(.*)$">

 

Is this intended? I thought it was defined to eavesdrop on internal extensions. Why wouldn't it be something like - expression="^88(\d{3,5})$|^\*0(\d{3,5})$">? The way it is now, if I dial 888-555-1212 (rather than 1-888-555-1212), it goes into the eavesdrop extension.

 

Log:

1030 Dialplan: sofia/internal/1009@192..168.10.29 parsing [default->eavesdrop] continue=false

1031 Dialplan: sofia/internal/1009@192..168.10.29 Regex (PASS) [eavesdrop] destination_number(8885819795) =~ /^88(.*)$|^\*0(.*)$/ break=on-false

1032 Dialplan: sofia/internal/1009@192..168.10.29 Action answer()

 

Thanks, Lars