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.




29 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
174 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



174 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



 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software


29 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.




29 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 »

Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12


Framing Facebook: It’s not about technology
Posted 14-May-2018 16:02


Vocus works with NZ Police and telcos to stop scam calls
Posted 12-May-2018 11:12


Vista Group signs Aeon Entertainment, largest cinema chain in Japan
Posted 11-May-2018 21:41


New Privacy Trust Mark certifies privacy and customer control
Posted 10-May-2018 14:16


New app FIXR connects vehicle owners to top Mechanics at best prices
Posted 10-May-2018 14:13


Nutanix Beam gives enterprises control of the cloud
Posted 10-May-2018 14:09


D-Link ANZ launches Covr Seamless Wi-Fi System
Posted 10-May-2018 14:06


Telstra, Intel and Ericsson demonstrate a 5G future for esports
Posted 10-May-2018 13:59


Spark introduces Android One with Nokia 7 plus and Nokia 6.1
Posted 8-May-2018 05:00



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.