### 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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to