Failed to register SIP Trunk from Softswitch

I got some problem on connecting SIP Trunk using my FreePBX and Huawei Softswitch. I always got in SIP Registry state “Request Send”. Below are my current configuration:

Peer Details:
Trunk Name: softswitch-XX
username=XXXX4401
type=friend
secret=XXXXXXX
nat=yes
insecure=very
host=211.25.XX.XX
fromuser=XXXX4401
fromdomain=211.25.XX.XX
dtmfmode=rfc2833
disallow=all
allow=g726&g729&ilbc&ulaw&alaw

User Context: XXXX4401
username=XXXX4401
type=user
secret=XXXXXXX
nat=yes
insecure=very
host=211.25.XX.XX
fromdomain=211.25.XX.XX
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g726&g729&ulaw&alaw&ilbc

Register String:
XXXX4401:[email protected]

I also capture some of SIP debug as below:

Retransmitting #3 (no NAT) to 211.25.XX.XX:5060:
OPTIONS sip:211.25.XX.XX SIP/2.0
Via: SIP/2.0/UDP 211.25.XX.XX:5060;branch=z9hG4bK3eea26a4;rport
From: “Unknown” sip:[email protected];tag=as0bc1610e
To: sip:211.25.XX.XX
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 07 Jul 2010 03:53:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


Retransmitting #4 (no NAT) to 211.25.XX.XX:5060:
OPTIONS sip:211.25.XX.XX SIP/2.0
Via: SIP/2.0/UDP 211.25.XX.XX:5060;branch=z9hG4bK3eea26a4;rport
From: “Unknown” sip:[email protected];tag=as0bc1610e
To: sip:211.25.XX.XX
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 07 Jul 2010 03:53:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


Really destroying SIP dialog ‘[email protected]’ Method: OPTIONS
Retransmitting #5 (NAT) to 211.25.XX.XX:5060:
REGISTER sip:211.25.XX.XX SIP/2.0
Via: SIP/2.0/UDP 211.25.XX.XX:5060;branch=z9hG4bK3b1df220;rport
From: sip:[email protected];tag=as6277f085
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: sip:[email protected]
Event: registration
Content-Length: 0

Please assist…Thanks.

Try type=peer in the peer details…

www.asteriskguru.com/tutorials/63735/sip.conf


hi phonebuff,

It’s the same…I have change to type=peer instead friend…I got a same result…

Hi

Were you able to resolve the issue on registering to the huawei softswitch from asterisk?
If yes can you tell us how you did it

Issue have been solved…I just group the SIP trunk into one configuration…Then I allow IP of softswitch on Asterisk…

sip_nat.conf
externhost=

sip_general_custom.conf
externip=

please email me for more detail
man dot evolution at gmail dot com