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.



18 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:[email protected]>;tag=as0fabdfa7
To: <sip:[email protected]>
Call-ID: [email protected]
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:[email protected]:5060>
Content-Length: 0


---


SIP/2.0 200 OK
From: <sip:[email protected]>;tag=as0fabdfa7
To: <sip:[email protected]>;tag=775053191-1346720194728
Call-ID: [email protected]
CSeq: 107 REGISTER
Via: SIP/2.0/UDP 58.28.x.x:5060;received=58.28.131.98;branch=z9hG4bK7522ae49;rport=4269
Contact: <sip:[email protected]: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 '[email protected]' 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 '[email protected]' Method: REGISTER

Any help would be greatly appreciated. 
Chrs

Create new topic
172 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



172 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





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




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

Trending now »
Hot discussions in our forums right now:

Dirty Politics: Nicky Hager's New Book
Created by ajobbins, last reply by Glassboy on 20-Aug-2014 17:57 (264 replies)
Pages... 16 17 18


CGA. Is it fair?
Created by BTR, last reply by Tzoi on 20-Aug-2014 20:48 (36 replies)
Pages... 2 3


Free: Smart Button for your Android device
Created by freitasm, last reply by eXDee on 20-Aug-2014 19:21 (89 replies)
Pages... 4 5 6


It was hardly 'hacking' was it?
Created by CB_24, last reply by BarTender on 19-Aug-2014 22:36 (87 replies)
Pages... 4 5 6


Shortening the DSL loop on a long driveway
Created by hio77, last reply by hio77 on 20-Aug-2014 21:00 (27 replies)
Pages... 2


Vodafone now charging you to receive a bill via post
Created by stocksp, last reply by richms on 20-Aug-2014 19:28 (79 replies)
Pages... 4 5 6


NZ Transport Agency: Snapchat
Created by freitasm, last reply by NzBeagle on 20-Aug-2014 19:27 (44 replies)
Pages... 2 3


Vodafone TV multicast settings on pfSense?
Created by kenkeniff, last reply by hio77 on 21-Aug-2014 01:43 (64 replies)
Pages... 3 4 5



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.