open-ims.test.sn 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ## For more information about scenarios, please refer to the Programmer's Guide
  2. # 2233392625mamadoud3sb7j4fb8
  3. # user's parameters (like ANSI-C #define)
  4. %%domain doubango.org
  5. %%user 002
  6. %%pwd 002
  7. #%%proxy_ip 2a01:e35:8b32:7050:212:f0ff:fe99:c9fc # IP address or FQDN
  8. %%proxy_ip 192.168.0.9
  9. %%proxy_port 5060
  10. %%proxy_trans udp # udp, tcp, tls or sctp
  11. %%expires 300 # expires used by all dialogs
  12. %%sleep-sec 1.0 # number of seconds to wait before sending next sip message
  13. %%reg-sid
  14. %%sub-reg-sid
  15. %%sub-pres-sid
  16. %%pub-sid
  17. %%inv_audio_sid
  18. #--ipv6
  19. # Configure the stack
  20. # Realm, IMPI and IMPU are mandatory
  21. ++cst --realm $$(domain) --impi $$(user) --impu sip:$$(user)@$$(domain) --pwd $$(pwd) \
  22. --pcscf-ip $$(proxy_ip) --pcscf-port $$(proxy_port) --pcscf-trans $$(proxy_trans) \
  23. --header Privacy=none --header Allow=INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER \
  24. --header P-Access-Network-Info=ADSL;utran-cell-id-3gpp=00000000 \
  25. --header User-Agent=IM-client/OMA1.0 doubango/v1.0.0 # last should not have backslash
  26. # Run the engine
  27. ++r
  28. # OPTIONS to hack AOR
  29. #++opt
  30. #++sleep --sec $$(sleep-sec)
  31. # REGISTER
  32. ++reg --xp $$(expires) --caps +g.oma.sip-im --caps +g.3gpp.smsip --caps language="en,fr" \
  33. --header Action-Header=Myheader-value @@action \
  34. >>(reg-sid)
  35. # Press ENTER
  36. ++sleep --sec -1
  37. ++av --to sip:001@$$(domain) \
  38. --header Action-Header=Myheader-value @@action \
  39. >>(inv_audio_sid)
  40. ++sleep --sec -1
  41. #++hu --sid $$(inv_audio_sid)
  42. # Exit the application
  43. ++e