sip2sip.info.sn 1.6 KB

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