[Asterisk-Users] Problems using Asterisk 1.0.3 with Vocal 1.4

Daniel Mizrachi (Globalsip) dmizrachi at globalsip.com
Wed Apr 6 12:23:47 MST 2005


Hi...

Since I upgraded the asterisk version from 0.93 to 1.0.3 I have had a lot of problems to complete calls thru Vocal Sip Proxy 1.4. 

When I just register Asterisk to receive calls from vocal it works fine. Ex.

register => 2127701002:password at mysipproxy.domain.com/2098

And

When I just regiter asterisk to send call thru Vocal it also works fine. Ex.

[sip-proxy-out]
type=peer                       ; we only want to call out, not be called
secret=pasword
username=2127701005            ; Authentication user for outbound proxies
fromuser=2127701005             ; Many SIP providers require this!
fromdomain=domain.com
host=mysipproxy.domain.com
nat=yes
insecure=yes

The problem is when I try to use either incoming or outgoing calls at the same time. For Any reason the incoming calls don´t work and the sip messages that I got are:

Sip read:
ACK sip:2098 at 210.80.132.86 SIP/2.0
Via: SIP/2.0/UDP 210.80.130.84:5060;rport=5060;received=210.80.132.86;branch=z9hG4bK61f8896885a9fa343f3bc812cb933e99.4
To: <sip:2127701002 at 210.80.130.84;user=phone;phone-context=national>;tag=as0e7e00eb
From: "2127100139"<sip:2127100139 at 210.80.130.83>
Call-ID: 65F22E50-A50011D9-97C697A6-29CF20F7 at 210.80.130.83
CSeq: 101 ACK
Max-Forwards: 70
Content-Length: 0


8 headers, 0 lines
Apr  5 07:55:18 NOTICE[10601]: chan_sip.c:4007 sip_reregister:    -- Re-registration for  2127701002 at mysipproxy.domain.com
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:mysipproxy.domain.com SIP/2.0
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK4b215889
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
To: <sip:2127701002 at mysipproxy.domain.com>
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 104 REGISTER
User-Agent: Asterisk PBX
Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1112588169", response="73f1564125d54c9982ec70a9eeee0286", opaque=""
Expires: 120
Contact: <sip:2098 at 210.80.132.86>
Event: registration
Content-Length: 0

 (no NAT) to 210.80.130.84:5060
lab-ing*CLI>

Sip read:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK4b215889
To: <sip:2127701002 at mysipproxy.domain.com>;tag=df08f10c
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 104 REGISTER
Proxy-Authenticate: Digest algorithm=MD5,domain=210.80.130.84,nonce=1113026437,realm=210.80.130.84
Content-Length: 0


8 headers, 0 lines
Responding to challenge, registration to domain/host name mysipproxy.domain.com
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:mysipproxy.domain.com SIP/2.0
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
To: <sip:2127701002 at mysipproxy.domain.com>;tag=df08f10c
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 105 REGISTER
User-Agent: Asterisk PBX
Proxy-Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1113026437", response="a173d7c8a6874f697c8dafb2d48eed13", opaque=""
Expires: 120
Contact: <sip:2098 at 210.80.132.86>
Event: registration
Content-Length: 0

 (no NAT) to 210.80.130.84:5060
Retransmitting #1 (no NAT):
REGISTER sip:mysipproxy.domain.com SIP/2.0
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
To: <sip:2127701002 at mysipproxy.domain.com>;tag=df08f10c
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 105 REGISTER
User-Agent: Asterisk PBX
Proxy-Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1113026437", response="a173d7c8a6874f697c8dafb2d48eed13", opaque=""
Expires: 120
Contact: <sip:2098 at 210.80.132.86>
Event: registration
Content-Length: 0


 to 210.80.130.84:5060
lab-ing*CLI>

Sip read:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088
To: <sip:2127701002 at mysipproxy.domain.com>;tag=df08f10c
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 105 REGISTER
Content-Length: 0


7 headers, 0 lines
lab-ing*CLI>

Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088
To: <sip:2127701002 at mysipproxy.domain.com>;tag=df08f10c
From: <sip:2127701002 at mysipproxy.domain.com>;tag=as6c056f3b
Call-ID: 12b8c0696bcc58c54fc76f3413391b7f at 17.16.6.253
CSeq: 105 REGISTER
Expires: 120
Contact: <sip:2098 at 210.80.132.86>
Content-Length: 0


9 headers, 0 lines
Apr  5 07:55:19 NOTICE[10601]: chan_sip.c:6797 handle_response: Outbound Registration: Expiry for mysipproxy.domain.com is 120 sec (Scheduling reregistration in 105000 ms)


 Thanks in advance for any support to solve it.


Best Regards,


Danil Mizrachi
Globalsip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050406/3ba4779b/attachment.htm


More information about the asterisk-users mailing list