Hi.Thanks for your response. I went through the uri transformation page, tried it but no luck. Is there any other method to slice the string from +34xxxxxxxxx@sub.domain.com to +34?? Regards
Sent from Yahoo Mail on Android
On Tue, Oct 13, 2020 at 17:30, Henning Westerholthw@skalatan.de wrote: #yiv7346137936 #yiv7346137936 -- _filtered {} _filtered {}#yiv7346137936 #yiv7346137936 p.yiv7346137936MsoNormal, #yiv7346137936 li.yiv7346137936MsoNormal, #yiv7346137936 div.yiv7346137936MsoNormal {margin:0cm;font-size:11.0pt;font-family:sans-serif;}#yiv7346137936 a:link, #yiv7346137936 span.yiv7346137936MsoHyperlink {color:blue;text-decoration:underline;}#yiv7346137936 span.yiv7346137936E-MailFormatvorlage18 {font-family:sans-serif;color:windowtext;}#yiv7346137936 .yiv7346137936MsoChpDefault {font-family:sans-serif;} _filtered {}#yiv7346137936 div.yiv7346137936WordSection1 {}#yiv7346137936 Hello,
have a look to the transformations for URIs:https://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transforma...
There is one to get parameters as well.
$shm variables are shared in shared memory, so you can share them in other calls. The $avp/$xavp are shared between processes, but belongs to the SIP transaction.
About routing calls by prefix – have a look to the lcr, carrierroute or drouting modules, for example.
Cheers,
Henning