Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that search_in=hdr without start_line=true is a bad idea #238

Closed
wdoekes opened this issue Jun 14, 2016 · 0 comments
Closed

Document that search_in=hdr without start_line=true is a bad idea #238

wdoekes opened this issue Jun 14, 2016 · 0 comments

Comments

@wdoekes
Copy link
Member

wdoekes commented Jun 14, 2016

This:

      From: "Tom Jones" <sip:[email protected]>;tag=[pid]SIPpTag00[call_number]
      To: "Fromage" <sip:[email protected]>[peer_tag_param]

with this:

      <ereg regexp=": *(.*)" search_in="hdr" header="From" assign_to="_,them"/>
      <ereg regexp=": *(.*)" search_in="hdr" header="To" assign_to="_,us"/>

produces unexpected results. You need start_line="true".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant