Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Soliciting Multiline SIP Searching Suggestions (state)

by tye (Sage)
on Mar 17, 2008 at 21:26 UTC ( [id://674653]=note: print w/replies, xml ) Need Help??


in reply to Soliciting Multiline SIP Searching Suggestions

my $found= 0; while( <> ) { if( 0 == $found && /^From: "\Q$Name\E"/ ) { $found++; } elsif( 1 == $found && /^To: <sip:$Number@/ ) { $found++; } elsif( 2 == $found && /^Call-ID: (.*)/ ) { return $1; } elsif( /^From: / || /^$/ ) { $found= 0; } }

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://674653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-25 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found