Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on May 19, 2009, 05:31:53 AM
-
S
Is there an easy way to convert from 4 digit length extension number to 3 digit length extension that doesn't create too many drama's?
I have read and used the command to set 3 digit length extension with he PBX at work and it is working ok.
I'm looking at converting and exsisting PBX that has 4 digit length extension.
-
This help ?
http://forums.contribs.org/index.php/topic,43496.0.html
-
Ready read that. Thank you anyway.
Was looking fo a solution for and existing 4 digit extention system to convert is to a 3 digit system
-
There isn't an automatic way to do it. However, you can do the convert and then edit each extension and overtype the new extension number and save it back. That should work.
S
-
S
Completed the transformation. I get external call coming in and I can make calls to external.
I can't make internal calls.
Any Idea's?
Everything appears to be in order
-
What does Asterisk show when you attempt to make an internal call?
-
What does Asterisk show when you attempt to make an internal call?
sail*CLI>
-- Executing [402@internal:1] AGI("SIP/401-08d36110", "selintra|OutCluster|402") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Executing [402@default:1] AGI("SIP/401-08d36110", "selintra|InCall|") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script Executing Application: (Dial) Options: (SIP/402|30|tT)
-- Called 402
[May 22 19:30:39] NOTICE[4869]: chan_sip.c:2941 auto_congest: Auto-congesting SIP/402-08d3a088
-- SIP/402-08d3a088 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- AGI Script Executing Application: (Playback) Options: (silence/1)
-- <SIP/401-08d36110> Playing 'silence/1' (language 'en')
-- AGI Script Executing Application: (Voicemail) Options: (402|u)
-- <SIP/401-08d36110> Playing 'vm-theperson' (language 'en')
-- Got SIP response 400 "Bad Request" back from 192.168.76.14
-- <SIP/401-08d36110> Playing 'digits/4' (language 'en')
-- <SIP/401-08d36110> Playing 'digits/0' (language 'en')
-- <SIP/401-08d36110> Playing 'digits/2' (language 'en')
-- <SIP/401-08d36110> Playing 'vm-isunavail' (language 'en')
-- <SIP/401-08d36110> Playing 'vm-intro' (language 'en')
-- <SIP/401-08d36110> Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/402/tmp/JB1IRc format: wav49, 0x8d35b18
-- User hung up
-- Recording was 0 seconds long but needs to be at least 8 - abandoning
== Spawn extension (default, 402, 1) exited non-zero on 'SIP/401-08d36110'
-- Executing [h@default:1] Hangup("SIP/401-08d36110", "") in new stack
== Spawn extension (default, h, 1) exited non-zero on 'SIP/401-08d36110'
I'm not sure if what I'm thinking is correct but it's almost like there is an incorrect codec or IP range is wrong. I'm not the expert here so I really am guessing
sail*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
404/ext404 (Unspecified) D N 0 UNKNOWN
403/ext403 192.168.76.14 D N 5060 OK (208 ms)
402/ext402 192.168.76.41 D 5061 OK (15 ms)
401/ext401 192.168.76.41 D 5060 OK (14 ms)
400/ext400 192.168.76.40 D 5061 OK (8 ms)
11 sip peers [Monitored: 10 online, 1 offline Unmonitored: 0 online, 0 offline]
-
Ext402 is an spa2002type device... yes?
Can you call from the spa to the device at .76.40(Ext400).
Autocongestion usually happens after a bad SIP response of some kind. You might want to try deleting the spa extensions and recreating them.
Something is not as it should be but you are doing something we've never tried. (i.e. moving from 4 digits to 3, after the fact) :)
S
-
Ext402 is an spa2002type device... yes?
Can you call from the spa to the device at .76.40(Ext400).
Autocongestion usually happens after a bad SIP response of some kind. You might want to try deleting the spa extensions and recreating them.
Something is not as it should be but you are doing something we've never tried. (i.e. moving from 4 digits to 3, after the fact) :)
S
S
Ext400 is a Linksys SPA-3102
Ext401 & Ext402 are on a Linksys PAP2 ATA Box
Ext403 is an Nokia N95
I deleted oall extensions and then recreated them. All works fine now.
Thanks S
-
S
From the conversion I have completed, I conclude this.
1. To convert from 4 digit to 3 digit is issue the command
db selintra-work setprop global EXTLEN 3
and issue a COMMIT
2. Delete exsiting extensions and issue a COMMIT
3. Recreate them and issue a COMMIT.
4. Check and modify routes and Aliases if needed and issue a COMMIT.
5. Job complete ... Test to make sure thing work the desired way.
Thanks for your help S, David & Versa