Not Able To Register An Extension

Home » Asterisk Users » Not Able To Register An Extension
Asterisk Users 4 Comments

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

4 thoughts on - Not Able To Register An Extension

  • Hi Alonso,

    sip.conf

    [general]
    context=hunt_incoming portP60
    bindaddr=0.0.0.0
    srvlookup=yes disallow=all allow=all nat=yes callerid = LITE
    externipexternhostautocreatepeer=yes autodomain=yes localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx canreinvite=yes language=En allowtransfer=yes realm=telunet domain2.168.1.5
    maxexpiry600
    defaultexpiry 0
    useragent=LITE PBX
    usereqphone = yes dtmfmode = rfc2833
    alwaysauthreject = no regcontext=sipregistrations

    rtptimeout600
    rtpholdtimeout00
    rtcachefriends=yes
    ;————————— SIP DEBUGGING
    ————————————————-