[Spce-user] R: R: R: voicemail problem

Daniel Grotti dgrotti at sipwise.com
Sat May 24 12:38:45 EDT 2014


Hi,
problem is that you have a wrong entry in provisioninig table
voip_cf_destinations.
This is probably because you have set the Country Code cc="089".

How did you create the user? Since you have not set Area Code.

As I said, the best way to manage your subscribers is to created them in
E164 format.
Anyway, if you are not able to do that, you can try to create the
subscriber with:

CC=0
AC=89
SN=9358190

voip.cf_destinations should contain "sip:vmu0899358190 at voicebox.local".

What I suggest is to recreate (or reset) your subscribers with a E164
primary number, and not in a local format.

Daniel




On 05/24/2014 06:30 PM, Alessandro Romano - Rp engineering wrote:
> provisioning.voip_cf_destinations
>
> sip:vmu899358190 at voicebox.local
>
> this is the output of the query.
>
> "id"	"uuid"	"username"	"domain"	"attribute"	"type"	"value"	"last_modified"
> "1455"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"account_id"	"1"	"3"	"1900-01-01 00:00:01"
> "1456"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"cc"	"0"	"089"	"1900-01-01 00:00:01"
> "1517"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"cfu"	"1"	"4"	"1900-01-01 00:00:01"
> "1457"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"cli"	"0"	"0899358190"	"1900-01-01 00:00:01"
> "1454"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"cloud_pbx_hunt_policy"	"0"	"serial"	"1900-01-01 00:00:01"
> "1466"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"ringtimeout"	"1"	"5"	"1900-01-01 00:00:01"
> "1469"	"be4bcabb-d4c0-42f7-914c-63422ef2e4fe"	"0899358190"	"voip.positivonet.it"	"sound_set"	"1"	"2"	"1900-01-01 00:00:01"
>
> -----Messaggio originale-----
> Da: Daniel Grotti [mailto:dgrotti at sipwise.com] 
> Inviato: sabato 24 maggio 2014 18.23
> A: Alessandro Romano - Rp engineering
> Cc: spce-user at lists.sipwise.com
> Oggetto: Re: R: R: [Spce-user] voicemail problem
>
> Hi,
> what is the entry for that user in table provisioning.voip_cf_destinations ?
> Also what is the output of:
>
> mysql> select * from kamailio.usr_preferences where
> username="YOUR_USERNAME";
>
>
> I tried to create a user like 08912345 and the CFU is set to "sip:vmu08912345 at voicebox.local".
>
> Anyway, it would be better to create subscribers using E164 numbers, so like 3908912345 and then use Rewrite rules to rewrite RURI and From headers.
>
> Daniel
>
>
>
>
> On 05/24/2014 05:59 PM, Alessandro Romano - Rp engineering wrote:
>> What is the solution ?
>>
>> BR
>>
>> -----Messaggio originale-----
>> Da: Daniel Grotti [mailto:dgrotti at sipwise.com]
>> Inviato: sabato 24 maggio 2014 17.56
>> A: Alessandro Romano - Rp engineering
>> Cc: spce-user at lists.sipwise.com
>> Oggetto: Re: R: [Spce-user] voicemail problem
>>
>> Yes, a zero is missing in Ruri.
>>
>> Daniel
>>
>> On 24 May 2014 17:52, Alessandro Romano - Rp engineering <alessandro.romano at rpeng.it> wrote:
>>> Hi
>>> Here the logs.. 
>>>
>>> I think the problem is that the vmuser defined in the database 
>>> (kamailio -> voicemail_users) is 0899358190 , then is called 
>>> sip:vmu899358190 at voicebox.local,
>>>
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: New 
>>> request - M=INVITE 
>>> R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> F=sip:089330492 at 10.39.1.16:5060;user=phone
>>> T=sip:0899358190 at 10.39.7.183:5060;user=phone IP=77.239.128.6:5060
>>> (127.0.0.1:5060) 
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Call from 
>>> PSTN - R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: 
>>> User-Provided CLI '089330492' taken from From-User - 
>>> R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: 
>>> Network-Provided CLI '089330492' taken from From-User - 
>>> R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Setting 
>>> '089330492 at 10.39.1.16' as initiating user-provided CLI - 
>>> R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Setting 
>>> '089330492 at 10.39.1.16' as initiating network-provided CLI - 
>>> R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Callee 
>>> was aliased with base '0899358190' - 
>>> R=sip:0899358190 at voip.positivonet.it:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Callee is 
>>> local, uuid='be4bcabb-d4c0-42f7-914c-63422ef2e4fe' - 
>>> R=sip:0899358190 at voip.positivonet.it:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: CFU to CF 
>>> map id '3' found - 
>>> R=sip:0899358190 at voip.positivonet.it:5060;transport=UDP;user=phone
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: CFU to 
>>> destination 'sip:vmu899358190 at voicebox.local' with timeout '300'
>>> activated - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Setting 
>>> acc source-leg for uuid '0':
>>> '0|089330492|77.239.128.6|089330492|||0|||0|call|77.239.128.6|1400946
>>> 6 28.057752' - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Setting 
>>> acc destination-leg for uuid 'be4bcabb-d4c0-42f7-914c-63422ef2e4fe':
>>> '0|||3|0899358190|be4bcabb-d4c0-42f7-914c-63422ef2e4fe|0899358190|voi
>>> p .positivonet.it|0899358190|31.7.144.140' - 
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Appending 
>>> P-D-URI 'sip:127.0.0.1:5062' - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4175]: NOTICE: <script>: Forcing 
>>> request via B2BUA 'sip:127.0.0.1:5080' - 
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: New 
>>> request - M=INVITE R=sip:vmu899358190 at voicebox.local 
>>> F=sip:089330492 at 10.39.1.16:5060;user=phone
>>> T=sip:0899358190 at 10.39.7.183:5060;user=phone IP=127.0.0.1:5080
>>> (127.0.0.1:5080) 
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Internal 
>>> CF loop - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: 
>>> User-Provided Redirecting CLI '0899358190' taken from NPN - 
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: 
>>> User-provided CLI '0899358190' rejected, using network-provided CLI 
>>> '0899358190' - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: 
>>> User-provided Redirecting CLI '0899358190' rejected, using 
>>> network-provided CLI '0899358190' - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Call to 
>>> VoiceBox - R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Setting 
>>> acc source-leg for uuid 'be4bcabb-d4c0-42f7-914c-63422ef2e4fe':
>>> 'be4bcabb-d4c0-42f7-914c-63422ef2e4fe|0899358190|voip.positivonet.it|
>>> 0
>>> 899358190|||3|||0|cfu|127.0.0.1|1400946628.085256' -
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Setting 
>>> acc destination-leg for uuid 'be4bcabb-d4c0-42f7-914c-63422ef2e4fe':
>>> '0|0|0|3|vmu899358190|be4bcabb-d4c0-42f7-914c-63422ef2e4fe|vmu8993581
>>> 9
>>> 0|voicebox.local|vmu899358190|voicebox.local' -
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Setting 
>>> From to '<sip:089330492 at 10.39.1.16>' - 
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4173]: NOTICE: <script>: Request 
>>> leaving server, D-URI='sip:127.0.0.1:5070' - 
>>> R=sip:vmu899358190 at voicebox.local
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4182]: NOTICE: <script>: NAT-Reply
>>> - S=100 - Trying M=INVITE IP=127.0.0.1:5080 (127.0.0.1:5070)
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4177]: NOTICE: <script>: NAT-Reply
>>> - S=200 - OK M=INVITE IP=127.0.0.1:5080 (127.0.0.1:5070)
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>> May 24 17:50:28 31-7-144-140 proxy[4172]: NOTICE: <script>: New 
>>> request - M=ACK R=sip:127.0.0.1:5080 
>>> F=sip:089330492 at 10.39.1.16:5060;user=phone
>>> T=sip:0899358190 at 10.39.7.183:5060;user=phone IP=77.239.128.6:5060
>>> (127.0.0.1:5060) 
>>> ID=SDpgccf01-7f68b0452d286d8d08664cb5bf2613e3-ao92gd1
>>>
>>>
>>> -----Messaggio originale-----
>>> Da: Daniel Grotti [mailto:dgrotti at sipwise.com]
>>> Inviato: sabato 24 maggio 2014 13.14
>>> A: Alessandro Romano - Rp engineering
>>> Cc: spce-user at lists.sipwise.com
>>> Oggetto: Re: [Spce-user] voicemail problem
>>>
>>> Hi,
>>> Please provide the proxy log. 
>>>
>>> Daniel
>>>
>>> On 24 May 2014 12:41, Alessandro Romano - Rp engineering <alessandro.romano at rpeng.it> wrote: 
>>>> Hello to all,
>>>> I have a problem when I set up call forwarding to voicemail When the 
>>>> call is forwarded the voicemail announcment does not start and the call end.
>>>>
>>>>  
>>>>
>>>> What can be the problem ? 
>>>>
>>>>  
>>>>
>>>> BR
>>>>
>>>>  
>>>>
>>>> Ps if from a subscriber I call the 2000 extension I can ear and 
>>>> interact with voicemail ivr.
>
>





More information about the Spce-user mailing list