Advertisement
Guest User

Agent registering

a guest
Jun 24th, 2014
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <send retrans="500">
  2. <![CDATA[
  3. REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
  4. Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  5. To: <sip:[service]@[remote_ip]:[remote_port]>
  6. From: agent <sip:[service]@[remote_ip]:[remote_port]>;tag=[pid]SIPpTag00[call_number]
  7. Contact: sip:[service]@[local_ip]:[local_port]
  8. Expires: 3600
  9. Call-ID: [call_id]
  10. CSeq: [cseq] REGISTER
  11. Max-Forwards: 70
  12. Content-Type: application/sdp
  13. Content-Length: [len]
  14.  
  15. v=0
  16. o=0123456789 53655765 2353687637 IN IP[local_ip_type] [local_ip]
  17. s=agent
  18. c=IN IP[media_ip_type] [media_ip]
  19. t=0 0
  20. m=audio [media_port] RTP/AVP 8 101
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-15
  24. a=ptime:300
  25. a=sendrecv
  26. a=sendrecv
  27.  
  28. ]]>
  29. </send>
  30.  
  31. <recv response="200"></recv>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement