[Spce-user] trunking peer registration

Ivan Milivojevic edesibe at googlemail.com
Wed Nov 28 05:09:00 EST 2012


This is my scenario. I have lb on public address A.B.C.D on port 5060, and
proxy and sems on private 192.168.55.1.
 
reg_agent.conf.tt2
domain=<domain.ip>:<domain.port>
user=sipwise
pwd=<password>
proxy=sip:A.B.C.C:5060 ### because sems is on private IP
contact=sip:A.B.C.D:5060 ###  because sems is on private IP
 
ngcp-www-admin
peer_auth_user: = sipwise
peer_auth_pass: = <password>
peer_auth_realm: = <domain.ip>
 
log from domain (asterisk 1.4.34)
 
U A.B.C.C:5060 -> domain.ip:domain.port
REGISTER sip: domain.ip:domain.port SIP/2.0.
Via: SIP/2.0/UDP 192.168.55.1:5080;branch=z9hG4bK5gj7UaRQ;rport.
From: <sip:sipwise@ domain.ip:domain.port
>;tag=53DDB5A7-50B5E00100077317-27493700.
To: <sip:sipwise@ domain.ip:domain.port >.
CSeq: 50 REGISTER.
Call-ID: 1DDE0DC7-50B5E00100077388-27594700.
Contact: <sip:A.B.C.C:5060>.
Expires: 3600.
User-Agent:XXXX.
Max-Forwards: 70.
Content-Length: 0.
 
.
 
regards
 
From: Ali Ardestani [mailto:ali.ardestani at pnmac.com] 
Sent: Tuesday, November 27, 2012 5:47 PM
To: Ivan Milivojevic; spce-user at lists.sipwise.com
Subject: Re: [Spce-user] trunking peer registration
 
my sems log is filled with
Nov 27 17:45:13 spce sems[26980]: [#7fd6e9ec0700] [doRegistration,
AmSipRegistration.cpp:139] ERROR: failed to send registration.
Nov 27 17:45:23 spce sems[26980]: [#7fd6e9ec0700] [send, transport.cpp:114]
ERROR: sendto: Invalid argument
Nov 27 17:45:23 spce sems[26980]: [#7fd6e9ec0700] [send_request,
trans_layer.cpp:928] ERROR: Error from transport layer
 
 
Any idea?
 
 
On Tue, Nov 27, 2012 at 12:48 AM, Ivan Milivojevic <edesibe at googlemail.com>
wrote:
Hi Ali,
 
Did you try /etc/init.d/sems restart and then watch the sems log in the
/var/log/ngcp.
 
regards
 
From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Ali Ardestani
Sent: Monday, November 26, 2012 5:46 PM
To: spce-user at lists.sipwise.com
Subject: [Spce-user] trunking peer registration
 
Hi,
I have added my trunking peer registration under peer settings as below:
 
peer_auth_user:$USER
peer_auth_pass: $PASS
peer_auth_realm: $TRUNK_IP_ADDR
peer_auth_register: CHECKED
 
I have also put the same credentials in
/etc/ngcp-config/templates/etc/sems/etc/reg_agent.conf.tt2
 
and done a ngcpcfg apply
 
I do not see a REGISTER when I do a ngrep-sip -q r
 
Is there a step I have missed,
 
Can you please tell me how I can checked sipwise registry to the existing
trunking peer registrations?
 
 
-- 
-- 
Ali S Ardestani   
Telephony Systems Engineer
Private National Mortgage Acceptance Company (PennyMac)
6101 Condor Drive
Moorpark, CA 93021
 
(805) 330-6004 Office
(818) 224-7442 x2654 Office
(626) 817-3512 Mobile
(818) 224-7397 Fax
 
ali.ardestani at pnmac.com
 



 
-- 
-- 
Ali S Ardestani   
Telephony Systems Engineer
Private National Mortgage Acceptance Company (PennyMac)
6101 Condor Drive
Moorpark, CA 93021
 
(805) 330-6004 Office
(818) 224-7442 x2654 Office
(626) 817-3512 Mobile
(818) 224-7397 Fax
 
ali.ardestani at pnmac.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20121128/69d104d4/attachment-0001.html>


More information about the Spce-user mailing list