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:

Warning: Rage Ahead - Campbell Live and childhood poverty
Created by kawaii, last reply by Geektastic on 3-Sep-2014 12:16 (153 replies)
Pages... 9 10 11


Does NZ need better gun laws?
Created by mattwnz, last reply by hangon on 3-Sep-2014 12:21 (123 replies)
Pages... 7 8 9


What tyre brand/model to look at ?
Created by Mark, last reply by Oblivian on 2-Sep-2014 21:36 (35 replies)
Pages... 2 3


Judith Collins: I am resigning
Created by Presso, last reply by gzt on 2-Sep-2014 11:42 (109 replies)
Pages... 6 7 8


VideoEZY OnDemand
Created by Andib, last reply by sen8or on 3-Sep-2014 07:45 (64 replies)
Pages... 3 4 5


Cirque du Soleil Cellphone Hijack
Created by myopinion, last reply by PhantomNVD on 1-Sep-2014 18:01 (21 replies)
Pages... 2


Orcon Global Mode launched
Created by freitasm, last reply by shk292 on 1-Sep-2014 11:32 (132 replies)
Pages... 7 8 9


Lightbox press event release
Created by freitasm, last reply by IcI on 30-Aug-2014 17:54 (562 replies)
Pages... 36 37 38



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.