Advertisement
trupsalms

Untitled

Aug 24th, 2013
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. username=223XXXXXX
  2. type=peer
  3. canreinvite=no
  4. secret=XXXXXX
  5. qualify=yes
  6. nat=yes
  7. insecure=invite,port
  8. disallow=all
  9. host=sip2sip.info
  10. domain=sip2sip.info
  11. fromdomain=sip2sip.info
  12. outboundproxy=proxy.sipthor.net
  13. fromuser=223XXXXXX
  14. defaultuser=223XXXXXX
  15. dtmfmode=rfc2833
  16. context=from-trunk
  17. allow=ulaw&gsm
  18.  
  19.  
  20. 223XXXXXX:XXXXXX@sip2sip.info/223XXXXXX
  21.  
  22.  
  23. echo "enable=yes" >> /etc/asterisk/dnsmgr.conf
  24. echo "srvlookup=yes" >> /etc/asterisk/sip_general_custom.conf
  25.  
  26.  
  27. vps10*CLI> sip show registry
  28. Host dnsmgr Username Refresh State Reg.Time
  29. sip2sip.info:5060 N 223XXXXXX 120 Unregistered
  30. 1 SIP registrations.
  31.  
  32.  
  33. Reliably Transmitting (NAT) to 85.17.186.7:5060:
  34. OPTIONS sip:sip2sip.info SIP/2.0
  35. Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;branch=z9hG4bK46fc09c7;rport
  36. Max-Forwards: 70
  37. From: "Unknown" <sip:223XXXXXX@174.XXX.XXX.XXX>;tag=as0c03c3aa
  38. To: <sip:sip2sip.info>
  39. Contact: <sip:223XXXXXX@174.XXX.XXX.XXX:5060>
  40. Call-ID: 541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060
  41. CSeq: 102 OPTIONS
  42. User-Agent: FPBX-2.11.0(11.4.0)
  43. Date: Sat, 24 Aug 2013 14:54:15 GMT
  44. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  45. Supported: replaces
  46. Content-Length: 0
  47.  
  48.  
  49. ---
  50.  
  51. <--- SIP read from UDP:85.17.186.7:5060 --->
  52. SIP/2.0 200 OK
  53. Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;received=174.XXX.XXX.XXX;branch=z9hG4bK46fc09c7;rport=5060
  54. From: "Unknown" <sip:223XXXXXX@174.XXX.XXX.XXX>;tag=as0c03c3aa
  55. To: <sip:sip2sip.info>;tag=ac7e0189ab09b4fde10c77c8597b662a.2e72
  56. Call-ID: 541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060
  57. CSeq: 102 OPTIONS
  58. Accept: */*
  59. Accept-Language: en
  60. Server: SIP Thor on OpenSIPS XS 1.9.0
  61. Content-Length: 0
  62.  
  63. <------------->
  64. --- (10 headers 0 lines) ---
  65. Really destroying SIP dialog '541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060' Method: OPTIONS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement