返回列表 發帖

Asterisk 11.5.0 + NWT Internet NetTalk (依然不成功)

本帖最後由 角色 於 2013-12-27 01:33 編輯

因为有member要用Asterisk 11,但是怎样注册,只能打出,而不能打入。而我用Plain Asterisk 11.5.0,只能打入,而不能打出。(用Asterisk 1.8.22试过是没有问题的)

我的Asterisk sip.conf 和 extensions.conf configuration files

注意:

1、 由于我的NAS安装了好几个Asterisk servers,所以我把我的Asterisk 11放在 /opt/asterisk11的子目录下面。而port number用5080,我NAS的IP是10.0.88.6。

2、在/opt/asterisk11/etc/asterisk/rtp.conf,大家要根据自己的需要,可以作出修改,而在WAN router里的ports要作出应当的调整。

sip.conf contains
  1. [general]
  2. srvlookup = yes
  3. realm=hostname_of_your_wan_port
  4. externhost=hostname_of_your_wan_port
  5. fromdomain=hostname_of_your_wan_port
  6. address
  7. localnet=10.0.88.0/255.255.255.0 ;change it as per your Asterisk network address
  8. externrefresh = 1
  9. defaultexpirey=360
  10. bindport=5080
  11. bindaddr=10.0.88.6
  12. nat=force_rport,comedia
  13. qualify=yes
  14. disallow=all
  15. allow=ulaw,alaw,gsm
  16. alwaysauthreject=yes
  17. tos_sip=cs3
  18. tos_audio=ef
  19. tos_video=af41
  20. pedantic=yes
  21. context=front-desk


  22. register => 333445566:password@ngn2.nwtbb.com/333445566

  23. [nwt-nettalk]
  24. username=333445566
  25. type=peer
  26. secret=password
  27. qualify=yes
  28. port=5060
  29. nat=force_rport,comedia
  30. insecure = port,invite
  31. host=ngn2.nwtbb.com
  32. fromusername=333445566
  33. fromuser=333445566
  34. fromdomain=ngn2.nwtbb.com
  35. dtmfmode = rfc2833
  36. canreinvite = no
  37. defaultexpirey=300
  38. context = from-nwt-nettalk

  39. [2004]
  40. type=friend
  41. secret=password_for_2004
  42. qualify=yes
  43. host=dynamic
  44. nat=force_rport,comedia
  45. insecure=invite
  46. canreinvit=no
  47. context=internal
複製代碼
extensions.conf contains
  1. [front-desk]

  2. [internal]

  3. exten => _XXX.,1,Dial(SIP/${EXTEN}@nwt-nettalk,,r)
  4. exten => 2004,1,Dial(SIP/2004,,r)

  5. [from-nwt-nettalk]
  6. exten => 33445566,1,Dial(SIP/2004)
  7. exten => 33445566,2,Hangup
複製代碼

本帖最後由 角色 於 2013-8-4 10:12 編輯

Outbound Call Simple Log
  1. TWTS-269PRO*CLI>
  2.   == Using SIP RTP TOS bits 184
  3.   == Using SIP RTP CoS mark 5
  4.     -- Executing [99663311@internal:1] Dial("SIP/2004-0000003c", "SIP/96331527@nwt-nettalk,,r") in new stack
  5.   == Using SIP RTP TOS bits 184
  6.   == Using SIP RTP CoS mark 5
  7.     -- Called SIP/99663311@nwt-nettalk
  8. [Aug  4 09:50:39] WARNING[15750][C-0000001f]: chan_sip.c:10092 process_sdp: Ignoring audio media offer because port number is zero
  9. [Aug  4 09:50:39] WARNING[15750][C-0000001f]: chan_sip.c:10473 process_sdp: Failing due to no acceptable offer found
  10.     -- SIP/nwt-nettalk-0000003d is ringing
  11.     -- SIP/nwt-nettalk-0000003d is making progress passing it to SIP/2004-0000003c
  12. TWTS-269PRO*CLI>
  13. TWTS-269PRO*CLI>
複製代碼
..
..
我的手机响!我一接电话就出现下面的log
..
..
  1. TWTS-269PRO*CLI>
  2. TWTS-269PRO*CLI>
  3. [Aug  4 09:50:47] WARNING[15750][C-0000001f]: chan_sip.c:10092 process_sdp: Ignoring audio media offer because port number is zero
  4. [Aug  4 09:50:47] WARNING[15750][C-0000001f]: chan_sip.c:10473 process_sdp: Failing due to no acceptable offer found
  5.     -- SIP/nwt-nettalk-0000003d answered SIP/2004-0000003c
  6.   == Spawn extension (internal, 99663311, 1) exited non-zero on 'SIP/2004-0000003c'
  7.     -- Got SIP response 500 "Server Internal Error" back from 203.176.254.198:5060
  8. TWTS-269PRO*CLI>
複製代碼

TOP

Inbound (Incoming)call without any problem.
  1. TWTS-269PRO*CLI>
  2.   == Using SIP RTP TOS bits 184
  3.   == Using SIP RTP CoS mark 5
  4.     -- Executing [33445566@from-nwt-nettalk:1] Dial("SIP/nwt-nettalk-0000003e", "SIP/2004") in new stack
  5.   == Using SIP RTP TOS bits 184
  6.   == Using SIP RTP CoS mark 5
  7.     -- Called SIP/2004
  8.     -- SIP/2004-0000003f is ringing
  9. ..
  10. ..
  11. 我接电话后出现下面的信息:
  12. ..
  13. ..
  14.     -- SIP/2004-0000003f answered SIP/nwt-nettalk-0000003e
  15.     -- Locally bridging SIP/nwt-nettalk-0000003e and SIP/2004-0000003f
  16. ..
  17. ..
  18. 我说完收线
  19. ..
  20. ..
  21.   == Spawn extension (from-nwt-nettalk, 33445566, 1) exited non-zero on 'SIP/nwt-nettalk-0000003e'
複製代碼

TOP

本帖最後由 角色 於 2013-8-4 14:59 編輯

Please note the following three posts describing the location of problem.
  1. TWTS-269PRO*CLI>
  2. TWTS-269PRO*CLI>
  3. TWTS-269PRO*CLI>
  4. TWTS-269PRO*CLI>
  5. TWTS-269PRO*CLI>
  6. TWTS-269PRO*CLI>

  7. <--- SIP read from UDP:10.0.88.22:5060 --->
  8. INVITE sip:99663311@10.0.88.6:5080 SIP/2.0
  9. Via: SIP/2.0/UDP 10.0.88.22:5060;rport;branch=z9hG4bKff918c1e86
  10. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  11. To: <sip:99663311@10.0.88.6:5080>
  12. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  13. Contact: <sip:2004@10.0.88.22:5060>
  14. CSeq: 1 INVITE
  15. Max-Forwards: 70
  16. Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE,UPDATE
  17. Supported: replaces
  18. Content-Type: application/sdp
  19. User-Agent: DGP306-O (1304100)
  20. Content-Length: 217

  21. v=0
  22. o=CMI-SIPUA 477 0 IN IP4 10.0.88.22
  23. s=SIP CALL
  24. c=IN IP4 10.0.88.22
  25. t=0 0
  26. m=audio 21864 RTP/AVP 0 8 4 18 101
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-15
  29. a=fmtp:18 annexb=no
  30. a=rtcp:21865
  31. a=sendrecv
  32. <------------->
  33. --- (13 headers 11 lines) ---
  34. Sending to 10.0.88.22:5060 (NAT)
  35. Sending to 10.0.88.22:5060 (NAT)
  36. Using INVITE request as basis request - [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  37. Found peer '2004' for '2004' from 10.0.88.22:5060
  38.   == Using SIP RTP TOS bits 184
  39.   == Using SIP RTP CoS mark 5
  40. Found RTP audio format 0
  41. Found RTP audio format 8
  42. Found RTP audio format 4
  43. Found RTP audio format 18
  44. Found RTP audio format 101
  45. Found audio description format telephone-event for ID 101
  46. Capabilities: us - (gsm|ulaw|alaw), peer - audio=(g723|ulaw|alaw|g729)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
  47. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  48. Peer audio RTP is at port 10.0.88.22:21864
  49. Looking for 99663311 in internal (domain 10.0.88.6)
  50. list_route: hop: <sip:2004@10.0.88.22:5060>

  51. <--- Transmitting (NAT) to 10.0.88.22:5060 --->
  52. SIP/2.0 100 Trying
  53. Via: SIP/2.0/UDP 10.0.88.22:5060;branch=z9hG4bKff918c1e86;received=10.0.88.22;rport=5060
  54. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  55. To: <sip:99663311@10.0.88.6:5080>
  56. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  57. CSeq: 1 INVITE
  58. Server: Asterisk PBX 11.5.0
  59. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  60. Supported: replaces, timer
  61. Contact: <sip:99663311@10.0.88.6:5080>
  62. Content-Length: 0


  63. <------------>
  64.     -- Executing [99663311@internal:1] Dial("SIP/2004-00000042", "SIP/99663311@nwt-nettalk,,r") in new stack
  65.   == Using SIP RTP TOS bits 184
  66.   == Using SIP RTP CoS mark 5
  67. Audio is at 12134
  68. Adding codec 100003 (ulaw) to SDP
  69. Adding codec 100004 (alaw) to SDP
  70. Adding codec 100002 (gsm) to SDP
  71. Adding non-codec 0x1 (telephone-event) to SDP
  72. Reliably Transmitting (NAT) to 203.176.254.198:5060:
  73. INVITE sip:99663311@ngn2.nwtbb.com:5060 SIP/2.0
  74. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK3fdc0df9;rport
  75. Max-Forwards: 70
  76. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  77. To: <sip:99663311@ngn2.nwtbb.com:5060>
  78. Contact: <sip:33445566@219.73.68.130:5080>
  79. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  80. CSeq: 102 INVITE
  81. User-Agent: Asterisk PBX 11.5.0
  82. Date: Sun, 04 Aug 2013 06:26:14 GMT
  83. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  84. Supported: replaces, timer
  85. Content-Type: application/sdp
  86. Content-Length: 311

  87. v=0
  88. o=root 1811917192 1811917192 IN IP4 219.73.68.130
  89. s=Asterisk PBX 11.5.0
  90. c=IN IP4 219.73.68.130
  91. t=0 0
  92. m=audio 12134 RTP/AVP 0 8 3 101
  93. a=rtpmap:0 PCMU/8000
  94. a=rtpmap:8 PCMA/8000
  95. a=rtpmap:3 GSM/8000
  96. a=rtpmap:101 telephone-event/8000
  97. a=fmtp:101 0-16
  98. a=silenceSupp:off - - - -
  99. a=ptime:20
  100. a=sendrecv

  101. ---
  102.     -- Called SIP/99663311@nwt-nettalk

  103. <--- Transmitting (NAT) to 10.0.88.22:5060 --->
  104. SIP/2.0 180 Ringing
  105. Via: SIP/2.0/UDP 10.0.88.22:5060;branch=z9hG4bKff918c1e86;received=10.0.88.22;rport=5060
  106. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  107. To: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  108. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  109. CSeq: 1 INVITE
  110. Server: Asterisk PBX 11.5.0
  111. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  112. Supported: replaces, timer
  113. Contact: <sip:99663311@10.0.88.6:5080>
  114. Content-Length: 0


  115. <------------>

  116. <--- SIP read from UDP:203.176.254.198:5060 --->
  117. SIP/2.0 100 Trying
  118. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK3fdc0df9;rport=5080
  119. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  120. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  121. To: <sip:99663311@ngn2.nwtbb.com:5060>
  122. CSeq: 102 INVITE
  123. Content-Length: 0

  124. <------------->
  125. --- (7 headers 0 lines) ---

  126. <--- SIP read from UDP:203.176.254.198:5060 --->
  127. SIP/2.0 407 Proxy Authentication Required
  128. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK3fdc0df9;rport=5080
  129. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  130. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  131. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=hcxvyhoy
  132. CSeq: 102 INVITE
  133. Proxy-Authenticate: Digest realm="Huawei",nonce="14:25:51:59515",stale=false,algorithm=MD5
  134. Content-Length: 0

  135. <------------->
  136. --- (8 headers 0 lines) ---
  137. Transmitting (NAT) to 203.176.254.198:5060:
  138. ACK sip:99663311@ngn2.nwtbb.com:5060 SIP/2.0
  139. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK3fdc0df9;rport
  140. Max-Forwards: 70
  141. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  142. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=hcxvyhoy
  143. Contact: <sip:33445566@219.73.68.130:5080>
  144. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  145. CSeq: 102 ACK
  146. User-Agent: Asterisk PBX 11.5.0
  147. Content-Length: 0


  148. ---
  149. Audio is at 12134
  150. Adding codec 100003 (ulaw) to SDP
  151. Adding codec 100004 (alaw) to SDP
  152. Adding codec 100002 (gsm) to SDP
  153. Adding non-codec 0x1 (telephone-event) to SDP
  154. Reliably Transmitting (NAT) to 203.176.254.198:5060:
  155. INVITE sip:99663311@ngn2.nwtbb.com:5060 SIP/2.0
  156. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK01c6bfea;rport
  157. Max-Forwards: 70
  158. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  159. To: <sip:99663311@ngn2.nwtbb.com:5060>
  160. Contact: <sip:33445566@219.73.68.130:5080>
  161. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  162. CSeq: 103 INVITE
  163. User-Agent: Asterisk PBX 11.5.0
  164. Proxy-Authorization: Digest username="33445566", realm="Huawei", algorithm=MD5, uri="sip:99663311@ngn2.nwtbb.com:5060", nonce="14:25:51:59515", response="e7c53f4651865f857b5f4d567752819e"
  165. Date: Sun, 04 Aug 2013 06:26:14 GMT
  166. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  167. Supported: replaces, timer
  168. Content-Type: application/sdp
  169. Content-Length: 311

  170. v=0
  171. o=root 1811917192 1811917193 IN IP4 219.73.68.130
  172. s=Asterisk PBX 11.5.0
  173. c=IN IP4 219.73.68.130
  174. t=0 0
  175. m=audio 12134 RTP/AVP 0 8 3 101
  176. a=rtpmap:0 PCMU/8000
  177. a=rtpmap:8 PCMA/8000
  178. a=rtpmap:3 GSM/8000
  179. a=rtpmap:101 telephone-event/8000
  180. a=fmtp:101 0-16
  181. a=silenceSupp:off - - - -
  182. a=ptime:20
  183. a=sendrecv
複製代碼

TOP

本帖最後由 角色 於 2013-8-4 15:00 編輯
  1. <--- SIP read from UDP:203.176.254.198:5060 --->
  2. SIP/2.0 100 Trying
  3. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK01c6bfea;rport=5080
  4. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  5. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  6. To: <sip:99663311@ngn2.nwtbb.com:5060>
  7. CSeq: 103 INVITE
  8. Content-Length: 0

  9. <------------->
  10. --- (7 headers 0 lines) ---

  11. <--- SIP read from UDP:203.176.254.198:5060 --->
  12. SIP/2.0 180 Ringing
  13. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK01c6bfea;rport=5080
  14. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  15. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  16. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  17. CSeq: 103 INVITE
  18. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
  19. Contact: <sip:203.176.254.198:5060;user=phone>
  20. Content-Length: 301
  21. Content-Type: application/sdp

  22. v=0
  23. o=HuaweiSoftX3000 30838616 30838616 IN IP4 203.176.254.198
  24. s=Sip Call
  25. c=IN IP4 0.0.0.0
  26. t=0 0
  27. m=audio 0 RTP/AVP 0 8 101
  28. a=rtpmap:0 PCMU/8000
  29. a=rtpmap:8 PCMA/8000
  30. a=rtpmap:101 telephone-event/8000
  31. a=ptime:20
  32. a=silenceSupp:off - - - -
  33. a=ecan:fb on -
  34. a=X-fax
  35. a=fmtp:101 0-15
  36. a=inactive
  37. <------------->
  38. --- (10 headers 15 lines) ---
  39. list_route: hop: <sip:203.176.254.198:5060;user=phone>
  40. [Aug  4 14:26:18] WARNING[15750][C-00000022]: chan_sip.c:10092 process_sdp: Ignoring audio media offer because port number is zero
  41. [Aug  4 14:26:18] WARNING[15750][C-00000022]: chan_sip.c:10473 process_sdp: Failing due to no acceptable offer found
  42.     -- SIP/nwt-nettalk-00000043 is ringing

  43. <--- Transmitting (NAT) to 10.0.88.22:5060 --->
  44. SIP/2.0 180 Ringing
  45. Via: SIP/2.0/UDP 10.0.88.22:5060;branch=z9hG4bKff918c1e86;received=10.0.88.22;rport=5060
  46. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  47. To: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  48. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  49. CSeq: 1 INVITE
  50. Server: Asterisk PBX 11.5.0
  51. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  52. Supported: replaces, timer
  53. Contact: <sip:99663311@10.0.88.6:5080>
  54. Content-Length: 0


  55. <------------>
  56.     -- SIP/nwt-nettalk-00000043 is making progress passing it to SIP/2004-00000042
  57. Reliably Transmitting (NAT) to 203.176.254.198:5060:
  58. OPTIONS sip:ngn2.nwtbb.com SIP/2.0
  59. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK5095bc48;rport
  60. Max-Forwards: 70
  61. From: "asterisk" <sip:33445566@vpntw.homeftp.org>;tag=as69c8458c
  62. To: <sip:ngn2.nwtbb.com>
  63. Contact: <sip:33445566@219.73.68.130:5080>
  64. Call-ID: [email]46cfd6b96d486efd1ef09f185beb0fc2@vpntw.homeftp.org[/email]
  65. CSeq: 102 OPTIONS
  66. User-Agent: Asterisk PBX 11.5.0
  67. Date: Sun, 04 Aug 2013 06:26:21 GMT
  68. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  69. Supported: replaces, timer
  70. Content-Length: 0


  71. ---

  72. <--- SIP read from UDP:203.176.254.198:5060 --->
  73. SIP/2.0 200 OK
  74. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK5095bc48;rport=5080
  75. Call-ID: [email]46cfd6b96d486efd1ef09f185beb0fc2@vpntw.homeftp.org[/email]
  76. From: "asterisk"<sip:33445566@vpntw.homeftp.org>;tag=as69c8458c
  77. To: <sip:ngn2.nwtbb.com>;tag=culhbyoh
  78. CSeq: 102 OPTIONS
  79. Content-Length: 0

  80. <------------->
  81. --- (7 headers 0 lines) ---
  82. Really destroying SIP dialog '46cfd6b96d486efd1ef09f185beb0fc2@vpntw.homeftp.org' Method: OPTIONS
  83. TWTS-269PRO*CLI>
  84. TWTS-269PRO*CLI>
  85. TWTS-269PRO*CLI>
複製代碼
..
..
The called telephone rings
..
..
  1. TWTS-269PRO*CLI>
  2. TWTS-269PRO*CLI>
  3. TWTS-269PRO*CLI>
  4. TWTS-269PRO*CLI>
  5. TWTS-269PRO*CLI>
  6. TWTS-269PRO*CLI>
  7. TWTS-269PRO*CLI>
  8. TWTS-269PRO*CLI>
  9. TWTS-269PRO*CLI>
  10. TWTS-269PRO*CLI>
  11. TWTS-269PRO*CLI>
  12. TWTS-269PRO*CLI>
  13. TWTS-269PRO*CLI>
  14. TWTS-269PRO*CLI>
  15. TWTS-269PRO*CLI>
  16. TWTS-269PRO*CLI>
  17. TWTS-269PRO*CLI>
  18. Really destroying SIP dialog '5f3cf05319c609fe18ba0fea5f6ad854@10.0.88.22' Method: REGISTER

  19. <--- SIP read from UDP:203.176.254.198:5060 --->
  20. SIP/2.0 200 OK
  21. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK01c6bfea;rport=5080
  22. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  23. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  24. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  25. CSeq: 103 INVITE
  26. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
  27. Contact: <sip:203.176.254.198:5060;user=phone>
  28. Content-Length: 301
  29. Content-Type: application/sdp

  30. v=0
  31. o=HuaweiSoftX3000 30838616 30838617 IN IP4 203.176.254.198
  32. s=Sip Call
  33. c=IN IP4 0.0.0.0
  34. t=0 0
  35. m=audio 0 RTP/AVP 0 8 101
  36. a=rtpmap:0 PCMU/8000
  37. a=rtpmap:8 PCMA/8000
  38. a=rtpmap:101 telephone-event/8000
  39. a=ptime:20
  40. a=silenceSupp:off - - - -
  41. a=ecan:fb on -
  42. a=X-fax
  43. a=fmtp:101 0-15
  44. a=inactive
  45. <------------->
  46. --- (10 headers 15 lines) ---
  47. [Aug  4 14:26:33] WARNING[15750][C-00000022]: chan_sip.c:10092 process_sdp: Ignoring audio media offer because port number is zero
  48. [Aug  4 14:26:33] WARNING[15750][C-00000022]: chan_sip.c:10473 process_sdp: Failing due to no acceptable offer found
  49. list_route: hop: <sip:203.176.254.198:5060;user=phone>
  50. set_destination: Parsing <sip:203.176.254.198:5060;user=phone> for address/port to send to
  51. set_destination: set destination to 203.176.254.198:5060
  52. Transmitting (NAT) to 203.176.254.198:5060:
  53. ACK sip:203.176.254.198:5060;user=phone SIP/2.0
  54. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK734c65bc;rport
  55. Max-Forwards: 70
  56. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  57. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  58. Contact: <sip:33445566@219.73.68.130:5080>
  59. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  60. CSeq: 103 ACK
  61. User-Agent: Asterisk PBX 11.5.0
  62. Content-Length: 0


  63. ---
  64. set_destination: Parsing <sip:203.176.254.198:5060;user=phone> for address/port to send to
  65. set_destination: set destination to 203.176.254.198:5060
  66. Reliably Transmitting (NAT) to 203.176.254.198:5060:
  67. BYE sip:203.176.254.198:5060;user=phone SIP/2.0
  68. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK392c49ed;rport
  69. Max-Forwards: 70
  70. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  71. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  72. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  73. CSeq: 104 BYE
  74. User-Agent: Asterisk PBX 11.5.0
  75. Proxy-Authorization: Digest username="33445566", realm="Huawei", algorithm=MD5, uri="sip:203.176.254.198:5060", nonce="14:25:51:59515", response="19d6ae396e735c889d4a12b4db6b92b8"
  76. X-Asterisk-HangupCause: Unknown
  77. X-Asterisk-HangupCauseCode: 0
  78. Content-Length: 0
複製代碼

TOP

本帖最後由 角色 於 2013-8-4 15:00 編輯
  1. ---
  2. Scheduling destruction of SIP dialog '2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com' in 6400 ms (Method: INVITE)
  3.     -- SIP/nwt-nettalk-00000043 answered SIP/2004-00000042
  4. Audio is at 12990
  5. Adding codec 100003 (ulaw) to SDP
  6. Adding codec 100004 (alaw) to SDP
  7. Adding non-codec 0x1 (telephone-event) to SDP

  8. <--- Reliably Transmitting (NAT) to 10.0.88.22:5060 --->
  9. SIP/2.0 200 OK
  10. Via: SIP/2.0/UDP 10.0.88.22:5060;branch=z9hG4bKff918c1e86;received=10.0.88.22;rport=5060
  11. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  12. To: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  13. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  14. CSeq: 1 INVITE
  15. Server: Asterisk PBX 11.5.0
  16. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  17. Supported: replaces, timer
  18. Contact: <sip:99663311@10.0.88.6:5080>
  19. Content-Type: application/sdp
  20. Content-Length: 278

  21. v=0
  22. o=root 837645094 837645094 IN IP4 10.0.88.6
  23. s=Asterisk PBX 11.5.0
  24. c=IN IP4 10.0.88.6
  25. t=0 0
  26. m=audio 12990 RTP/AVP 0 8 101
  27. a=rtpmap:0 PCMU/8000
  28. a=rtpmap:8 PCMA/8000
  29. a=rtpmap:101 telephone-event/8000
  30. a=fmtp:101 0-16
  31. a=silenceSupp:off - - - -
  32. a=ptime:20
  33. a=sendrecv

  34. <------------>
  35. Scheduling destruction of SIP dialog '2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com' in 6400 ms (Method: INVITE)
  36. set_destination: Parsing <sip:203.176.254.198:5060;user=phone> for address/port to send to
  37. set_destination: set destination to 203.176.254.198:5060
  38. Reliably Transmitting (NAT) to 203.176.254.198:5060:
  39. BYE sip:203.176.254.198:5060;user=phone SIP/2.0
  40. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK20935ba0;rport
  41. Max-Forwards: 70
  42. From: "Eric_Ast-11.5" <sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  43. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  44. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  45. CSeq: 105 BYE
  46. User-Agent: Asterisk PBX 11.5.0
  47. Proxy-Authorization: Digest username="33445566", realm="Huawei", algorithm=MD5, uri="sip:203.176.254.198:5060", nonce="14:25:51:59515", response="19d6ae396e735c889d4a12b4db6b92b8"
  48. X-Asterisk-HangupCause: Normal Clearing
  49. X-Asterisk-HangupCauseCode: 16
  50. Content-Length: 0


  51. ---
  52.   == Spawn extension (internal, 99663311, 1) exited non-zero on 'SIP/2004-00000042'
  53. Scheduling destruction of SIP dialog '790da6076f0f53a7573d31e77297616f@10.0.88.22' in 6400 ms (Method: INVITE)

  54. <--- SIP read from UDP:203.176.254.198:5060 --->
  55. SIP/2.0 500 Server Internal Error
  56. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK20935ba0;rport=5080
  57. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  58. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  59. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  60. CSeq: 105 BYE
  61. Warning: 399 SE2000 "SSF00157L02501[5645] Unexpected message received"
  62. Content-Length: 0

  63. <------------->
  64. --- (8 headers 0 lines) ---
  65.     -- Got SIP response 500 "Server Internal Error" back from 203.176.254.198:5060

  66. <--- SIP read from UDP:203.176.254.198:5060 --->
  67. SIP/2.0 200 OK
  68. Via: SIP/2.0/UDP 219.73.68.130:5080;branch=z9hG4bK392c49ed;rport=5080
  69. Call-ID: [email]2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com[/email]
  70. From: "Eric_Ast-11.5"<sip:33445566@ngn2.nwtbb.com>;tag=as61ed4c9d
  71. To: <sip:99663311@ngn2.nwtbb.com:5060>;tag=yguxc3m3-CC-23
  72. CSeq: 104 BYE
  73. Content-Length: 0

  74. <------------->
  75. --- (7 headers 0 lines) ---
  76. Really destroying SIP dialog '2504a5517f8b28f432e2a79a554ebc7e@ngn2.nwtbb.com' Method: INVITE
  77. Retransmitting #1 (NAT) to 10.0.88.22:5060:
  78. SIP/2.0 200 OK
  79. Via: SIP/2.0/UDP 10.0.88.22:5060;branch=z9hG4bKff918c1e86;received=10.0.88.22;rport=5060
  80. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  81. To: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  82. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  83. CSeq: 1 INVITE
  84. Server: Asterisk PBX 11.5.0
  85. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  86. Supported: replaces, timer
  87. Contact: <sip:99663311@10.0.88.6:5080>
  88. Content-Type: application/sdp
  89. Content-Length: 278

  90. v=0
  91. o=root 837645094 837645094 IN IP4 10.0.88.6
  92. s=Asterisk PBX 11.5.0
  93. c=IN IP4 10.0.88.6
  94. t=0 0
  95. m=audio 12990 RTP/AVP 0 8 101
  96. a=rtpmap:0 PCMU/8000
  97. a=rtpmap:8 PCMA/8000
  98. a=rtpmap:101 telephone-event/8000
  99. a=fmtp:101 0-16
  100. a=silenceSupp:off - - - -
  101. a=ptime:20
  102. a=sendrecv

  103. ---

  104. <--- SIP read from UDP:10.0.88.22:5060 --->
  105. ACK sip:99663311@10.0.88.6:5080 SIP/2.0
  106. Via: SIP/2.0/UDP 10.0.88.22:5060;rport;branch=z9hG4bKba10cf7ffe
  107. From: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  108. To: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  109. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  110. Contact: <sip:2004@10.0.88.22:5060>
  111. CSeq: 1 ACK
  112. Max-Forwards: 70
  113. Content-Length: 0

  114. <------------->
  115. --- (9 headers 0 lines) ---
  116. set_destination: Parsing <sip:2004@10.0.88.22:5060> for address/port to send to
  117. set_destination: set destination to 10.0.88.22:5060
  118. Reliably Transmitting (NAT) to 10.0.88.22:5060:
  119. BYE sip:2004@10.0.88.22:5060 SIP/2.0
  120. Via: SIP/2.0/UDP 10.0.88.6:5080;branch=z9hG4bK1bbfa85a;rport
  121. Max-Forwards: 70
  122. From: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  123. To: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  124. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  125. CSeq: 102 BYE
  126. User-Agent: Asterisk PBX 11.5.0
  127. X-Asterisk-HangupCause: Normal Clearing
  128. X-Asterisk-HangupCauseCode: 16
  129. Content-Length: 0


  130. ---
  131. Scheduling destruction of SIP dialog '790da6076f0f53a7573d31e77297616f@10.0.88.22' in 6400 ms (Method: ACK)
  132. Retransmitting #1 (NAT) to 10.0.88.22:5060:
  133. BYE sip:2004@10.0.88.22:5060 SIP/2.0
  134. Via: SIP/2.0/UDP 10.0.88.6:5080;branch=z9hG4bK1bbfa85a;rport
  135. Max-Forwards: 70
  136. From: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  137. To: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  138. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  139. CSeq: 102 BYE
  140. User-Agent: Asterisk PBX 11.5.0
  141. X-Asterisk-HangupCause: Normal Clearing
  142. X-Asterisk-HangupCauseCode: 16
  143. Content-Length: 0


  144. ---

  145. <--- SIP read from UDP:10.0.88.22:5060 --->
  146. SIP/2.0 200 OK
  147. Via: SIP/2.0/UDP 10.0.88.6:5080;rport=5080;received=10.0.88.6;branch=z9hG4bK1bbfa85a
  148. From: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  149. To: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  150. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  151. CSeq: 102 BYE
  152. Content-Length: 0

  153. <------------->
  154. --- (7 headers 0 lines) ---
  155. SIP Response message for INCOMING dialog BYE arrived
  156. Really destroying SIP dialog '790da6076f0f53a7573d31e77297616f@10.0.88.22' Method: ACK

  157. <--- SIP read from UDP:10.0.88.22:5060 --->
  158. SIP/2.0 200 OK
  159. Via: SIP/2.0/UDP 10.0.88.6:5080;rport=5080;received=10.0.88.6;branch=z9hG4bK1bbfa85a
  160. From: <sip:99663311@10.0.88.6:5080>;tag=as512c33a1
  161. To: "Eric_Ast-11.5" <sip:2004@10.0.88.6:5080>;tag=307df92f
  162. Call-ID: [email]790da6076f0f53a7573d31e77297616f@10.0.88.22[/email]
  163. CSeq: 102 BYE
  164. Content-Length: 0

  165. <------------->
  166. --- (7 headers 0 lines) ---
  167. TWTS-269PRO*CLI>
複製代碼

TOP

返回列表