[Spce-user] Inbound rules

Sébastien Cramatte scramatte at gmail.com
Wed Apr 13 16:03:20 EDT 2011


Hello

Does it possible to redirect inbound traffic to another (eg: asterisk)
using  peering inbound rule ?

I've tried to write a very generic rule for this but unfortunately it
doesn't works

Match pattern =  ^([1-9][0-9]+)$
Replacement pattern = \1 at asterisk.mydomain.com

I obtain this error

----

Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: ERROR: pv [pv_core.c:161]:
failed to parse the R-URI
Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: INFO: <script>: Relaying
request - M=INVITE R=<null> F=sip:111 at yy.yy.yy.yy
T=sip:222 at xx.xx.xx.xxIP=yy.yy.yy.yy:5060
ID=1f5e01520bab445972577d7231e552fa at yy.yy.yy.yy
Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: ERROR: tm
[t_lookup.c:1327]: ERROR: new_t: uri invalid
Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: ERROR: tm
[t_lookup.c:1474]: ERROR: t_newtran: new_t failed
Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: ERROR: pv [pv_core.c:161]:
failed to parse the R-URI
Apr 13 21:59:29 sipwise /usr/sbin/kamailio[1287]: INFO: <script>: Stop
mediaproxy - M=INVITE R=<null> F=sip:111 at yy.yy.yy.yy
T=sip:222 at xx.xx.xx.xxIP=yy.yy.yy.yy:5060
ID=1f5e01520bab445972577d7231e552fa at yy.yy.yy.yy

---

Note that  xx.xx.xx.xx = sipwise server
And yy.yy.yy.yy = voip service trunk provider

What I would like to achieve is a transparent routing to/from  asterisk
without need to create a subscriber on spce.


Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20110413/7ab04082/attachment.html>


More information about the Spce-user mailing list