Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




28 posts

Geek
+1 received by user: 2


Topic # 108722 4-Sep-2012 13:11
Send private message

HI
I would appreciate a hand with my settings.

I have no incoming call but outgoing works.

Free pbx distro with asterisk 1.8.13.0

This is behind a pfsense firewall with ports natted through and have another sip trunk with another provider working fine.

trunk settings under peer details:

disallow=all
type=peer
context=from-trunk-dvx
fromuser=995xxxxx
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=Pxxxxxxxxxxx
username=wxxxxxxxxx
fromdomain=as.wxcnz.net
dtmfmode=rfc2833
allow=ulaw&alaw
registertimeout=20
regseconds=180
if i debug the peer i get:

Reliably Transmitting (NAT) to 58.28.20.150:5060:
REGISTER sip:pan.wxnz.net SIP/2.0
Via: SIP/2.0/UDP 58.28.x.x:5060;branch=z9hG4bK7522ae49;rport
Max-Forwards: 70
From: <sip:995xxxxx@pan.wxnz.net>;tag=as0fabdfa7
To: <sip:995xxxxx@pan.wxnz.net>
Call-ID: 07f29320450c25496981f2ce6ffbef8f@127.0.0.1
CSeq: 107 REGISTER
User-Agent: FPBX-2.10.0(1.8.13.0)
Authorization: Digest username="wxxxxxxxxxx", realm="xport.co.nz", algorithm=MD5, uri="sip:pan.wxnz.net", nonce="BroadWorksXh6o9r51uTvk5pw6BW", response="axxxxxxxxxxx", qop=auth, cnonce="693a2ff6", nc=00000005
Expires: 120
Contact: <sip:995xxxx@10.11.3.10:5060>
Content-Length: 0


---


SIP/2.0 200 OK
From: <sip:995xxxxx@pan.wxnz.net>;tag=as0fabdfa7
To: <sip:995xxxxx@pan.wxnz.net>;tag=775053191-1346720194728
Call-ID: 07f29320450c25496981f2ce6ffbef8f@127.0.0.1
CSeq: 107 REGISTER
Via: SIP/2.0/UDP 58.28.x.x:5060;received=58.28.131.98;branch=z9hG4bK7522ae49;rport=4269
Contact: <sip:995xxxxx@10.11.3.10:5060>;q=0.5;expires=300
Allow-Events: call-info,line-seize,dialog,message-summary,as-feature-event,x-broadworks-hoteling,x-broadworks-call-center-status
Expires: 300
Content-Length: 0


--- (10 headers 0 lines) ---
Scheduling destruction of SIP dialog '07f29320450c25496981f2ce6ffbef8f@127.0.0.1' in 32000 ms (Method: REGISTER)
[2012-09-04 12:56:34] NOTICE[3860]: chan_sip.c:20755 handle_response_register: Outbound Registration: Expiry for pan.wxnz.net is 300 sec (Scheduling reregistration in 285 s)
Really destroying SIP dialog '07f29320450c25496981f2ce6ffbef8f@127.0.0.1' Method: REGISTER

Any help would be greatly appreciated. 
Chrs

Create new topic
173 posts

Master Geek

Trusted

  Reply # 681304 4-Sep-2012 13:19
Send private message

Hi Chris,

PM me your phone number and i'll have a look at what we see from this end.




Nicholas Cuc

Network Support
WorldxChange Communications
www.xnet.co.nz



173 posts

Master Geek

Trusted

  Reply # 681321 4-Sep-2012 13:56
Send private message

Hi Chris,

Looked into this one some more and can see we are getting a timeout on the invite after 8secs. Would appear to be a firewall issue, either you are not getting the invite or we are not getting your response.




Nicholas Cuc

Network Support
WorldxChange Communications
www.xnet.co.nz



 
 
 
 




28 posts

Geek
+1 received by user: 2


  Reply # 681391 4-Sep-2012 16:47
Send private message

Sorry was out of office for a bit.
Wow thanks that was quick Smile

Thanks will stop trunk for now and check out firewall and iptables and see if i can nut it out.

much appreciated will report back.




28 posts

Geek
+1 received by user: 2


  Reply # 682668 7-Sep-2012 08:58
Send private message

Some feed back for any others that may run into an issue with PFsense 2.01 and multiple sip trunks to different ITSP's
Appears the pfsense was dropping the sessions and could be observed in Diagnostic: Show State.

I changed the following and it appears to be working:

1. ChangedFirewall Optimization Options to conservative - System: Advanced:Firewall and Nat
2. Inbound nat rule for RTP ports
3. No inbound nat rule for 5060
4. Outbound nat rule for the internal ip to our specific wan nat address with static option ticked.

wan 10.x.x.x/31 * * * 58.28.1xx.xx * yes Voice outbound

remember to clear state after changes.

So far so good Smile

Thanks for your help
Chrs


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Red Hat unveils production-ready open source hyperconverged infrastructure
Posted 23-Jun-2017 22:10


Whatever ailed Vodafone broadband … seems to be fixed
Posted 23-Jun-2017 14:10


VMware NSX Meets Stringent Government Security Standards with Common Criteria Certification
Posted 22-Jun-2017 19:05


Brother launches next-generation colour laser printers and all-in- ones for business
Posted 22-Jun-2017 18:56


Intel and IOC announce partnership
Posted 22-Jun-2017 18:50


Samsung Galaxy Tab S3: Best Android tablet
Posted 21-Jun-2017 12:05


Wellington-based company helping secure Microsoft browsers
Posted 20-Jun-2017 20:51


Endace delivers high performance with new 1/10/40 Gbps packet capture card
Posted 20-Jun-2017 20:50


You can now integrate SMX security into Microsoft Office 365, Google and other cloud email platforms
Posted 20-Jun-2017 20:47


Ravensdown launches new decision-making tool HawkEye
Posted 19-Jun-2017 15:38


Spark planning to take on direct management of all consumer stores
Posted 19-Jun-2017 10:03


Qrious acquires Ubiquity
Posted 14-Jun-2017 12:21


Spark New Zealand prepares for 5G with Nokia
Posted 14-Jun-2017 12:16


The future-proof 10.5-inch iPad Pro
Posted 13-Jun-2017 18:16


Mandatory data breach reporting in Australia
Posted 13-Jun-2017 11:30



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.