[sr-dev] [kamailio/kamailio] alias=forward.ng-voice.com doesn't work (#1207)

ng-voice GmbH notifications at github.com
Tue Aug 8 13:40:08 CEST 2017


### Description

I am currently implementing a dynamic forwarding server in Kamailio. As a logic consequence, I wanted to name it "forward.ng-voice.com" and I added it as an Alias:

alias=forward.ng-voice.com

#### Reproduction

Add any Alias with the "forward" in it's domain-name (e.g. "ims.forward.ng-voice.com" fails too).

#### Log Messages

```
 0(20620) CRITICAL: <core> [core/cfg.y:3427]: yyerror_at(): parse error in config file forward.cfg, line 11, column 7-13: syntax error
 0(20620) CRITICAL: <core> [core/cfg.y:3427]: yyerror_at(): parse error in config file forward.cfg, line 11, column 7-13: hostname expected
 0(20620) CRITICAL: <core> [core/cfg.y:3430]: yyerror_at(): parse error in config file forward.cfg, line 11, column 14: 
```

### Possible Solutions

Use a different Domain-Name like "fwd" or "forwarder".

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
version: kamailio 5.1.0-dev5 (x86_64/linux) 
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown 
compiled with gcc 4.9.2

```

* **Operating System**:

Debian 8


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170808/4812b425/attachment.html>


More information about the sr-dev mailing list