[asterisk-users] OfficeSIP Softphone

Olle E. Johansson oej at edvina.net
Fri Jan 22 05:41:09 CST 2010


22 jan 2010 kl. 11.51 skrev Vitali Fomine:

>>> report 491 Request Pending on invite message. Why server report the 
>>> error?
>> The server reports this when we already have an INVITE to handle.
>> Please check that you did not transmit two invites without waiting for
>> a response and sending an ACK from your softphone.
> 
> Yes, here is two INVITEs (I have missed first invite before), but the server 
> respond 401 on first invite and softphone send ACK. Here is softphone log. 
> Unfortunately, I do not know how to enable (where to find) log of SIP 
> messages at server?
I would like to see that log with Asterisk messages in between, so I understand when Asterisk receives the ACK. 
If Asterisk receives the ACK *after* the second INVITE I understand it.

> 
> I have find one more issue, the server sends two replies on register 
> message, first with 200 and second one 403 with same CSeq. I am not sure is 
> that relayted to INVITE issue. But the asterisk show user as 
> connected-unmonitored in control panel (trixbox).

I would like to see this as well, from an Asterisk CLI log perspective with "sip debug" turned on.

/O
> 
> Best regards,
> Vitali Fomine
> 
> 01/22/2010|13:37:36.097
> INVITE sip:58 at trixbox1.local SIP/2.0
> Via: SIP/2.0/TCP 192.168.1.15:58238
> Max-Forwards: 70
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 1 INVITE
> Contact: 
> <sip:56 at trixbox1.local:58238;maddr=192.168.1.15;transport=tcp>;proxy=replace;+sip.instance="<urn:uuid:D37BDEE9-53F8-5FD6-8CE0-51307C216D28>"
> User-Agent: UCCAPI/2.0.6362.67
> Supported: timer
> Supported: ms-sender
> Supported: ms-early-media
> Supported: Replaces
> ms-keep-alive: UAC;hop-hop=yes
> Authorization: Digest username="56", realm="asterisk", algorithm=MD5, 
> uri="sip:58 at trixbox1.local", nonce="1746fc14", 
> response="c57700c482c83cbeb411398d92f94113"
> Content-Type: application/sdp
> Content-Length: 2147
> 
> v=0
> o=- 0 0 IN IP4 192.168.1.15
> s=session
> [...session description removed...]
> 
> 
> 01/22/2010|13:37:36.102
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/TCP 192.168.1.15:58238;received=192.168.1.15
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>;tag=as63c5f412
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 1 INVITE
> User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Supported: replaces, timer
> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="39ce8842"
> Content-Length: 0
> 
> 
> 
> 01/22/2010|13:37:36.102
> ACK sip:58 at trixbox1.local SIP/2.0
> Via: SIP/2.0/TCP 192.168.1.15:58238
> Max-Forwards: 70
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>;tag=as63c5f412
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 1 ACK
> User-Agent: UCCAPI/2.0.6362.67
> Authorization: Digest username="56", realm="asterisk", algorithm=MD5, 
> uri="sip:58 at trixbox1.local", nonce="1746fc14", 
> response="a3e2da49ec1a432115871eb965f4aad3"
> Content-Length: 0
> 
> 
> 
> 01/22/2010|13:37:36.103
> INVITE sip:58 at trixbox1.local SIP/2.0
> Via: SIP/2.0/TCP 192.168.1.15:58238
> Max-Forwards: 70
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 2 INVITE
> Contact: 
> <sip:56 at trixbox1.local:58238;maddr=192.168.1.15;transport=tcp>;proxy=replace;+sip.instance="<urn:uuid:D37BDEE9-53F8-5FD6-8CE0-51307C216D28>"
> User-Agent: UCCAPI/2.0.6362.67
> Supported: timer
> Supported: ms-sender
> Supported: ms-early-media
> Supported: Replaces
> ms-keep-alive: UAC;hop-hop=yes
> Authorization: Digest username="56", realm="asterisk", algorithm=MD5, 
> uri="sip:58 at trixbox1.local", nonce="39ce8842", 
> response="5925e73eeaf067412c6b1c73cf520d0e"
> Content-Type: application/sdp
> Content-Length: 2147
> 
> v=0
> o=- 0 0 IN IP4 192.168.1.15
> s=session
> c=IN IP4 192.168.1.15
> [...removed..]
> 
> 
> 01/22/2010|13:37:36.106
> SIP/2.0 491 Request Pending
> Via: SIP/2.0/TCP 192.168.1.15:58238;received=192.168.1.15
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>;tag=as63c5f412
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 2 INVITE
> User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Supported: replaces, timer
> Content-Length: 0
> 
> 
> 01/22/2010|13:37:36.106
> ACK sip:58 at trixbox1.local SIP/2.0
> Via: SIP/2.0/TCP 192.168.1.15:58238
> Max-Forwards: 70
> From: <sip:56 at trixbox1.local>;tag=60b512cec9;epid=08fd7dc31f
> To: <sip:58 at trixbox1.local>;tag=as63c5f412
> Call-ID: 16a3a30998874ae98538d221a2567fe1
> CSeq: 2 ACK
> User-Agent: UCCAPI/2.0.6362.67
> Authorization: Digest username="56", realm="asterisk", algorithm=MD5, 
> uri="sip:58 at trixbox1.local", nonce="39ce8842", 
> response="2ebb3595b1af94e67f7e880478c82171"
> Content-Length: 0
> 
> 
> 
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-users mailing list