trupsalms

Sip2Sip Conf and Errors

Aug 22nd, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  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:[email protected]/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. root@vps10:~ $ tcpdump dst 85.17.186.7 -vv
  34. tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
  35. 23:51:07.984858 IP (tos 0x60, ttl 64, id 13319, offset 0, flags [none], proto UDP (17), length 559)
  36. vps10.sip > node07.dns-hosting.info.sip: [bad udp cksum c03!] SIP, length: 531
  37. OPTIONS sip:sip2sip.info SIP/2.0
  38. Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;branch=z9hG4bK2093600e;rport
  39. Max-Forwards: 70
  40. From: "Unknown" <sip:[email protected]>;tag=as15746292
  41. To: <sip:sip2sip.info>
  42. Contact: <sip:[email protected]:5060>
  43. Call-ID: [email protected]:5060
  44. CSeq: 102 OPTIONS
  45. User-Agent: FPBX-2.11.0(11.4.0)
  46. Date: Fri, 23 Aug 2013 04:51:07 GMT
  47. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  48. Supported: replaces
  49. Content-Length: 0
Advertisement
Add Comment
Please, Sign In to add comment