Re: [Sipp-users] regexp understanding assistance

2014-05-25 Thread Rob Day
On 25/05/14 08:15, Paul Miller wrote: Using the following regex in the website I get my desired outcome: .*:([0-9]{4,5})[:;] I am sure that this will not be the best way but certainly it works in the website just fine. however when I use it an SIPp xml file I never get the same match as the

[Sipp-users] Link between Extensions.conf and SIPp XML scenario

2014-05-25 Thread Marija Mia
Hello everyone, I have a question about the link between the configuration files in asterisk and SIPp XML scenario. If I have something like this in my extensions.conf: *[*sipp*]* exten *=>* 2005*,*1*,*Answer exten *=>* 2005,2*,*Wait*(*60*)* exten *=>* 2005*,*3*,*Hangup but if I run the test

[Sipp-users] regexp understanding assistance

2014-05-25 Thread Paul Miller
Hi All. Firstly I am not good at regex, so I have been reading tutorials and looking at this site (http://regex101.com/) to practise my matching techniques. using the following example Via headers I want to match the port number when it is available. e.g. TEST1: Via: SIP/2.0/UDP 192.168.0.65;rpor