This is available in the latest unstable versions.

 

Don't forget to copy to sipp-users mailing-list when replying :-)

 

Olivier Boulkroune

 

________________________________

De : RAMSAY,UNA (A-Scotland,ex1) [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 22 juin 2007 10:59
À : Boulkroune, Olivier (Non-HP:Atos Origin)
Objet : RE: [Sipp-users] How to select different pcap files for different calls

 

HI Olivier

 

Can you please tell me in which version this was added? I am currently using 
sipp-1.1rc8?

 

Thanks

 

Una

 

________________________________

From: Boulkroune, Olivier (Non-HP:Atos Origin) [mailto:[EMAIL PROTECTED] 
Sent: 22 June 2007 08:39
To: RAMSAY,UNA (A-Scotland,ex1)
Cc: [email protected]
Subject: RE: [Sipp-users] How to select different pcap files for different calls

Yes, there is. This variable manipulation feature (see 
http://sipp.sourceforge.net/doc/reference.html#Actions for more informations)  
has been recently added. You may try <assign assign_to="2" value="[field2)" /> 
, although you might probably encounter the same format problem.....

 

Olivier Boulkroune

 

Tel: +33 4 72 82 37 57

________________________________

De : RAMSAY,UNA (A-Scotland,ex1) [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 22 juin 2007 09:29
À : Boulkroune, Olivier (Non-HP:Atos Origin)
Cc : [email protected]
Objet : RE: [Sipp-users] How to select different pcap files for different calls

 

Hi Olivier

 

Is there a way to assign [field2] to, say, $1? I can see the assign_to but this 
appears to be part only of the ereg regexp.

 

Thanks


Una

 

________________________________

From: Boulkroune, Olivier (Non-HP:Atos Origin) [mailto:[EMAIL PROTECTED] 
Sent: 21 June 2007 14:41
To: RAMSAY,UNA (A-Scotland,ex1)
Cc: [email protected]
Subject: RE: [Sipp-users] How to select different pcap files for different calls

You may assign [field2] to a variable $n, and then try something like

 

<exec play_pcap_audio="$n"/>

 

Olivier Boulkroune

 

________________________________

De : RAMSAY,UNA (A-Scotland,ex1) [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 21 juin 2007 13:16
À : Boulkroune, Olivier (Non-HP:Atos Origin)
Cc : [email protected]
Objet : RE: [Sipp-users] How to select different pcap files for different calls

 

Hi Olivier

 

Thanks for your reply. The external csv file is very powerful and I am already 
using it to vary the sip From and To fields, where the substitution works fine.

 

However, for the pcap play, the command is expecting a quoted string. I have 
tried a few scenarios but cannot get sipp to accept this format So far I have 
tried

 

<exec play_pcap_audio="[field2]"/> -with field2 in the csv file  in the form 
;dtmf_2833_5.pcap
<exec play_pcap_audio=[field2]/>  -with field2 in the csv file  in the form 
;"dtmf_2833_5.pcap"
<exec play_pcap_audio="\[field2\]"/>  -with field2 in the csv file  in the form 
;"dtmf_2833_5.pcap"

Is there a way of assigning this?

 

Thanks

 

Una

 

 

________________________________

From: Boulkroune, Olivier (Non-HP:Atos Origin) [mailto:[EMAIL PROTECTED] 
Sent: 21 June 2007 11:34
To: [EMAIL PROTECTED]; [email protected]
Subject: RE: [Sipp-users] How to select different pcap files for different calls

Hi Una,

 

What about using external file fields injection ? Something like

 

<nop>
  <action>
    <exec play_pcap_audio="[field0]"/>
  </action>
</nop>

 

See 
http://sipp.sourceforge.net/doc/reference.html#Injecting+values+from+an+external+CSV+during+calls
 for more details.

 

Olivier Boulkroune

 

________________________________

De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED]
Envoyé : jeudi 21 juin 2007 12:20
À : [email protected]
Objet : [Sipp-users] How to select different pcap files for different calls

 

Hello team

 

Can you please tell me if it is possible to select different pcap files for 
different calls? I would like to do the following

 

call1 - play audio1.pcap

call2 - play  audio2.pcap

 

etc

 

for approx 30 calls

 

Is there currently any way to do this?

 

 

I have unique call-ids for each call so I was planning to read that into a 
variable and then test it to then jump to a label. However I understand that 
"test" can only be used to test that the variable is set (rather than test for 
a specific value) so I don't see how I can assign the value of the call id to 
multiple variables

 

Any help would be appreciated


Thanks very much

 

Una

 

 Una Ramsay

+44 (0) 131 331 7046

 Intelligence Support Systems
Agilent Technologies

<http://m/brand/ISS_Email_Signature.gif>  

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to