Fix xavp checks in the registration tests.

vseva/3.0
Andrew Pogrebennyk 13 years ago
parent 929d94b67d
commit ceffaeb938

@ -29,7 +29,7 @@ flow:
- caller
$xavp(caller_real_prefs[0]=>ac): 1
$xavp(caller_real_prefs[0]=>account_id): '\d+'
$xavp(caller_real_prefs[0]=>allowed_ips_grp): 1
$xavp(caller_real_prefs[0]=>allowed_ips_grp): '\d+'
$xavp(caller_real_prefs[0]=>cc): 43
$xavp(caller_real_prefs[0]=>cli): 4311003
$xavp(caller_real_prefs[0]=>dummy[*]):
@ -37,12 +37,11 @@ flow:
$xavp(caller_real_prefs[0]=>man_allowed_ips_grp): 0
$xavp(caller_usr_prefs[0]=>ac): 1
$xavp(caller_usr_prefs[0]=>account_id): '\d+'
$xavp(caller_usr_prefs[0]=>allowed_ips_grp): 1
$xavp(caller_usr_prefs[0]=>allowed_ips_grp): '\d+'
$xavp(caller_usr_prefs[0]=>cc): 43
$xavp(caller_usr_prefs[0]=>cli): 4311003
$xavp(caller_usr_prefs[0]=>dummy[*]):
- caller
$xavp(caller_usr_prefs[0]=>allowed_ips_grp): 1
sip_in:
- '^REGISTER'
- 'Contact: sip:testuser1003@'

@ -15,6 +15,34 @@ flow:
- end|ROUTE_AUTH:
- start|ROUTE_PREFERENCES:
- end|ROUTE_PREFERENCES:
$xavp(callee_dom_prefs[0]=>dummy[*]):
- callee
$xavp(callee_peer_prefs[0]=>dummy[*]):
- callee
$xavp(callee_real_prefs[0]=>dummy[*]):
- callee
$xavp(callee_usr_prefs[0]=>dummy[*]):
- callee
$xavp(caller_dom_prefs[0]=>dummy[*]):
- caller
$xavp(caller_peer_prefs[0]=>dummy[*]):
- caller
$xavp(caller_real_prefs[0]=>ac): 1
$xavp(caller_real_prefs[0]=>account_id): '\d+'
$xavp(caller_real_prefs[0]=>allowed_ips_grp): '\d+'
$xavp(caller_real_prefs[0]=>ignore_allowed_ips): 1
$xavp(caller_real_prefs[0]=>cc): 43
$xavp(caller_real_prefs[0]=>cli): 4311003
$xavp(caller_real_prefs[0]=>dummy[*]):
- caller
$xavp(caller_usr_prefs[0]=>ac): 1
$xavp(caller_usr_prefs[0]=>account_id): '\d+'
$xavp(caller_usr_prefs[0]=>allowed_ips_grp): '\d+'
$xavp(caller_usr_prefs[0]=>ignore_allowed_ips): 1
$xavp(caller_usr_prefs[0]=>cc): 43
$xavp(caller_usr_prefs[0]=>cli): 4311003
$xavp(caller_usr_prefs[0]=>dummy[*]):
- caller
- exit|ROUTE_REG_HANDLE:
sip_in:
- '^REGISTER'

Loading…
Cancel
Save