VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
omakhileshchand at gma... Guest
|
Posted: Fri Nov 21, 2014 11:36 am Post subject: [asterisk-users] Not able to register an Extension |
|
|
Hi folk,
I'm trying to register an extension through softphone and got stuck.I got below error:-
[Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("", "(null)", ...): Name or service not known
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:16056 check_via: Could not resolve socket address for ''
Sending to 192.168.1.2:5060 (NAT)
[Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: chan_sip.c:7897 process_via: error processing via header
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:10420 respprep: error processing via header, will send response to originating address
Please let me know how could i solve the same and I will appreciate your suggestion.
Thanks & Regards
Akhilesh |
|
Back to top |
|
|
alonso at planetfone.c... Guest
|
Posted: Fri Nov 21, 2014 1:22 pm Post subject: [asterisk-users] Not able to register an Extension |
|
|
----- Mensagem original -----
Quote: | De: "akhilesh chand" <omakhileshchand@gmail.com>
Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Enviadas: Sexta-feira, 21 de novembro de 2014 14:36:05
Assunto: [asterisk-users] Not able to register an Extension
|
Quote: | I'm trying to register an extension through softphone and got stuck.I got
below error:-
|
Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing
sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: netsock2.c:269 ast_sockaddr_resolve:
getaddrinfo("", "(null)", ...): Name or service not known
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:16056 check_via: Could not
resolve socket address for ''
Sending to 192.168.1.2:5060 (NAT)
[Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing
sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: chan_sip.c:7897 process_via: error processing
via header
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:10420 respprep: error processing
via header, will send response to originating address
|
Quote: | Please let me know how could i solve the same and I will appreciate your
suggestion.
|
Please, send us your sip.conf, i suspect is a problem with your bindaddr or name resolution.
Alonso.
Quote: | Thanks & Regards
Akhilesh
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
omakhileshchand at gma... Guest
|
Posted: Fri Nov 21, 2014 1:54 pm Post subject: [asterisk-users] Not able to register an Extension |
|
|
Hi Alonso,
sip.conf
[general]
context=hunt_incoming
port=5060
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=all
nat=yes
callerid = LITE
externip=
externhost=
autocreatepeer=yes
autodomain=yes
localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
canreinvite=yes
language=En
allowtransfer=yes
realm=telunet
domain=192.168.1.5
maxexpiry=3600
defaultexpiry=200
useragent=LITE PBX
usereqphone = yes
dtmfmode = rfc2833
alwaysauthreject = no
regcontext=sipregistrations
rtptimeout=3600
rtpholdtimeout=300
rtcachefriends=yes
;--------------------------- SIP DEBUGGING ---------------------------------------------------
sipdebug = yes
registertimeout=60
registerattempts=5
callgroup=1
pickupgroup=1
callevents=yes
;register => <username>:<password>:<username>@<Sip Proxy IP or domain name>
[authentication]
[4001]
type=friend
context=outbound
defaultuser=4001
secret=4001
callerid="EXT1"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
[4002]
type=friend
context=outbound
defaultuser=4002
secret=4002
callerid="EXT2"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
[4003]
type=friend
context=outbound
defaultuser=4003
secret=4003
callerid="EXT3"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
On Fri, Nov 21, 2014 at 11:52 PM, Alonso Genis <alonso@planetfone.com.br (alonso@planetfone.com.br)> wrote:
Quote: |
----- Mensagem original -----
Quote: | De: "akhilesh chand" <omakhileshchand@gmail.com (omakhileshchand@gmail.com)>
Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)>
Enviadas: Sexta-feira, 21 de novembro de 2014 14:36:05
Assunto: [asterisk-users] Not able to register an Extension
|
Quote: | I'm trying to register an extension through softphone and got stuck.I got
below error:-
|
Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing
sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: netsock2.c:269 ast_sockaddr_resolve:
getaddrinfo("", "(null)", ...): Name or service not known
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:16056 check_via: Could not
resolve socket address for ''
Sending to 192.168.1.2:5060 (NAT)
[Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via: missing
sent-by in Via header
[Nov 22 07:31:28] ERROR[3522]: chan_sip.c:7897 process_via: error processing
via header
[Nov 22 07:31:28] WARNING[3522]: chan_sip.c:10420 respprep: error processing
via header, will send response to originating address
|
Quote: | Please let me know how could i solve the same and I will appreciate your
suggestion.
|
Please, send us your sip.conf, i suspect is a problem with your bindaddr or name resolution.
Alonso.
Quote: | Thanks & Regards
Akhilesh
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
alonso at planetfone.c... Guest
|
Posted: Fri Nov 21, 2014 3:07 pm Post subject: [asterisk-users] Not able to register an Extension |
|
|
----- Mensagem original -----
Quote: | De: "akhilesh chand" <omakhileshchand@gmail.com>
Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Enviadas: Sexta-feira, 21 de novembro de 2014 16:54:35
Assunto: Re: [asterisk-users] Not able to register an Extension
|
Quote: | [general]
context=hunt_incoming
port=5060
bindaddr=0.0.0.0
srvlookup=yes
|
Did you try to set srvlookup=no? http://www.voip-info.org/wiki/view/Asterisk+SIP+srvlookup
Quote: | disallow=all
allow=all
nat=yes
callerid = LITE
externip=
externhost=
autocreatepeer=yes
autodomain=yes
localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
canreinvite=yes
language=En
allowtransfer=yes
realm=telunet
domain=192.168.1.5
maxexpiry=3600
defaultexpiry=200
useragent=LITE PBX
usereqphone = yes
dtmfmode = rfc2833
alwaysauthreject = no
regcontext=sipregistrations
|
Quote: | rtptimeout=3600
rtpholdtimeout=300
rtcachefriends=yes
;--------------------------- SIP DEBUGGING
---------------------------------------------------
sipdebug = yes
registertimeout=60
registerattempts=5
callgroup=1
pickupgroup=1
callevents=yes
|
Quote: | ;register => <username>:<password>:<username>@<Sip Proxy IP or domain name>
|
Quote: | [4001]
type=friend
context=outbound
defaultuser=4001
secret=4001
callerid="EXT1"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | [4002]
type=friend
context=outbound
defaultuser=4002
secret=4002
callerid="EXT2"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | [4003]
type=friend
context=outbound
defaultuser=4003
secret=4003
callerid="EXT3"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | Quote: | ----- Mensagem original -----
|
|
Quote: |
Quote: | Quote: | Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
|
|
Quote: | Quote: | Enviadas: Sexta-feira, 21 de novembro de 2014 14:36:05
|
|
Quote: | Quote: | Assunto: [asterisk-users] Not able to register an Extension
|
|
|
Quote: | Quote: | Quote: | I'm trying to register an extension through softphone and got stuck.I got
|
|
|
Quote: | Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via:
missing
|
|
Quote: | Quote: | sent-by in Via header
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: netsock2.c:269 ast_sockaddr_resolve:
|
|
Quote: | Quote: | getaddrinfo("", "(null)", ...): Name or service not known
|
|
Quote: | Quote: | [Nov 22 07:31:28] WARNING[3522]: chan_sip.c:16056 check_via: Could not
|
|
Quote: | Quote: | resolve socket address for ''
|
|
Quote: | Quote: | Sending to 192.168.1.2:5060 (NAT)
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via:
missing
|
|
Quote: | Quote: | sent-by in Via header
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: chan_sip.c:7897 process_via: error
processing
|
|
Quote: | Quote: | [Nov 22 07:31:28] WARNING[3522]: chan_sip.c:10420 respprep: error
processing
|
|
Quote: | Quote: | via header, will send response to originating address
|
|
|
Quote: | Quote: | Quote: | Please let me know how could i solve the same and I will appreciate your
|
|
|
Quote: | Quote: | Please, send us your sip.conf, i suspect is a problem with your bindaddr or
name resolution.
|
|
Quote: |
Quote: | Quote: | _____________________________________________________________________
|
|
Quote: | Quote: | New to Asterisk? Join us for a live introductory webinar every Thurs:
|
|
Quote: | Quote: | http://www.asterisk.org/hello
|
|
|
Quote: | Quote: | Quote: | asterisk-users mailing list
|
|
Quote: | Quote: | To UNSUBSCRIBE or update options visit:
|
|
Quote: | Quote: | http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Quote: |
Quote: | _____________________________________________________________________
|
Quote: | New to Asterisk? Join us for a live introductory webinar every Thurs:
|
Quote: | http://www.asterisk.org/hello
|
|
Quote: | Quote: | asterisk-users mailing list
|
Quote: | To UNSUBSCRIBE or update options visit:
|
Quote: | http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
omakhileshchand at gma... Guest
|
Posted: Sat Nov 22, 2014 12:23 pm Post subject: [asterisk-users] Not able to register an Extension |
|
|
Hi Alonso,
Thanks for your reply but after setting the value of srvlookup=no i got same error.
On Sat, Nov 22, 2014 at 1:37 AM, Alonso Genis <alonso@planetfone.com.br (alonso@planetfone.com.br)> wrote:
Quote: |
----- Mensagem original -----
Quote: | De: "akhilesh chand" <omakhileshchand@gmail.com (omakhileshchand@gmail.com)>
Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)>
Enviadas: Sexta-feira, 21 de novembro de 2014 16:54:35
Assunto: Re: [asterisk-users] Not able to register an Extension
|
Quote: | [general]
context=hunt_incoming
port=5060
bindaddr=0.0.0.0
srvlookup=yes
|
Did you try to set srvlookup=no? http://www.voip-info.org/wiki/view/Asterisk+SIP+srvlookup
Quote: | disallow=all
allow=all
nat=yes
callerid = LITE
externip=
externhost=
autocreatepeer=yes
autodomain=yes
localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
canreinvite=yes
language=En
allowtransfer=yes
realm=telunet
domain=192.168.1.5
maxexpiry=3600
defaultexpiry=200
useragent=LITE PBX
usereqphone = yes
dtmfmode = rfc2833
alwaysauthreject = no
regcontext=sipregistrations
|
Quote: | rtptimeout=3600
rtpholdtimeout=300
rtcachefriends=yes
;--------------------------- SIP DEBUGGING
---------------------------------------------------
sipdebug = yes
registertimeout=60
registerattempts=5
callgroup=1
pickupgroup=1
callevents=yes
|
Quote: | ;register => <username>:<password>:<username>@<Sip Proxy IP or domain name>
|
Quote: | [4001]
type=friend
context=outbound
defaultuser=4001
secret=4001
callerid="EXT1"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | [4002]
type=friend
context=outbound
defaultuser=4002
secret=4002
callerid="EXT2"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | [4003]
type=friend
context=outbound
defaultuser=4003
secret=4003
callerid="EXT3"
host=dynamic
nat=no
dtfmode=rfc2833
disallow=all
subscribecontext=outbound
canreinvite=no
allow=all
|
Quote: | Quote: | ----- Mensagem original -----
|
|
Quote: |
Quote: | Quote: | Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
|
|
Quote: | Quote: | Enviadas: Sexta-feira, 21 de novembro de 2014 14:36:05
|
|
Quote: | Quote: | Assunto: [asterisk-users] Not able to register an Extension
|
|
|
Quote: | Quote: | Quote: | I'm trying to register an extension through softphone and got stuck.I got
|
|
|
Quote: | Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via:
missing
|
|
Quote: | Quote: | sent-by in Via header
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: netsock2.c:269 ast_sockaddr_resolve:
|
|
Quote: | Quote: | getaddrinfo("", "(null)", ...): Name or service not known
|
|
Quote: | Quote: | [Nov 22 07:31:28] WARNING[3522]: chan_sip.c:16056 check_via: Could not
|
|
Quote: | Quote: | resolve socket address for ''
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: sip/reqresp_parser.c:2265 parse_via:
missing
|
|
Quote: | Quote: | sent-by in Via header
|
|
Quote: | Quote: | [Nov 22 07:31:28] ERROR[3522]: chan_sip.c:7897 process_via: error
processing
|
|
Quote: | Quote: | [Nov 22 07:31:28] WARNING[3522]: chan_sip.c:10420 respprep: error
processing
|
|
Quote: | Quote: | via header, will send response to originating address
|
|
|
Quote: | Quote: | Quote: | Please let me know how could i solve the same and I will appreciate your
|
|
|
Quote: | Quote: | Please, send us your sip.conf, i suspect is a problem with your bindaddr or
name resolution.
|
|
Quote: |
Quote: | Quote: | _____________________________________________________________________
|
|
Quote: | Quote: | New to Asterisk? Join us for a live introductory webinar every Thurs:
|
|
|
Quote: | Quote: | Quote: | asterisk-users mailing list
|
|
Quote: | Quote: | To UNSUBSCRIBE or update options visit:
|
|
|
Quote: |
Quote: | _____________________________________________________________________
|
Quote: | New to Asterisk? Join us for a live introductory webinar every Thurs:
|
|
Quote: | Quote: | asterisk-users mailing list
|
Quote: | To UNSUBSCRIBE or update options visit:
|
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|