Newbie question: CM Service reject

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Don Fanning don at 00100100.net
Sat Feb 11 01:42:43 UTC 2012


Got it worked out.. Thanks again everyone for their assistance!

On Fri, Feb 10, 2012 at 5:02 PM, Don Fanning <don at 00100100.net> wrote:

> One other note.  I have gotten it to ring the mobile from asterisk.  But
> from the mobile to asterisk does not work.
>
> Thank you again for any assistance!
>
> Regards,
> -Don
>
>
> On Fri, Feb 10, 2012 at 12:58 PM, Don Fanning <don at 00100100.net> wrote:
>
>> With that removed I get a new error: "the number you have dialed is not
>> assigned".  It's not routing to the asterisk yet (the idea is that it hits
>> extension 500 on the asterisk which is the welcome to asterisk default
>> extension) but no activity is present on the asterisk console.  Sorry, the
>> documentation is rather weak in this area.
>>
>> Thanks again for any assistance!
>> -Don
>> ---
>> lcr output
>> 000000 DEBUG (in _action_init_call() line 34): EPOINT(3): Creating new
>> join instance.
>> 000000 DEBUG (in JoinRemote() line 32): Constructor(new join) ref=1002
>> 000000 DEBUG (in JoinRemote() line 36): New remote join connected to
>> endpoint id 3 and application asterisk (ref=1002)
>> 000000 TRACE 10.02.12 07:51:42.885 EP(3): ACTION remote (setup)  number
>> 500  remote asterisk
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_SETUP written
>> from 3 to 3 (memory 8629248)
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_OVERLAP written
>> from 3 to 3 (memory 862cb00)
>> 000000 TRACE 10.02.12 07:51:42.885 EP(3): SETUP ACKNOWLEDGE  to CH(3)
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_TONE reading
>> from 3 to 3 (memory 86220d8)
>> 000000 DEBUG (in message_epoint() line 602): PORT(GSM-1-in) isdn port
>> with (caller id 200) setting tone 'dialing' dir ''
>> 000000 DEBUG (in set_tone() line 1543): isdn port now plays
>> tone:'dialing'.
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_SETUP reading
>> from 3 to 3 (memory 8629248)
>> 000000 DEBUG (in message_epoint() line 60): Message 5 of endpoint 3 from
>> LCR to remote (ref=1002)
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_OVERLAP reading
>> from 3 to 3 (memory 862cb00)
>> 000000 DEBUG (in message_epoint() line 778): Pgsm_bs(GSM-1-in) gsm port
>> with (caller id 200) received unhandled nessage: 7
>> 000000 DEBUG (in b_sock_callback() line 2009): DL_ESTABLISH confirm:
>> bchannel is now activated (socket 14).
>> 000000 TRACE 10.02.12 07:51:42.886 CH(3): BCHANNEL control  port 1
>>  DSP-DTMF 1
>> 000000 DEBUG (in message_remote() line 78): Message 12 of endpoint 3 from
>> remote to LCR (ref=1002)
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_RELEASE written
>> from 3 to 3 (memory 861d228)
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_RELEASE reading
>> from 3 to 3 (memory 861d228)
>> 000000 DEBUG (in ea_message_join() line 3397): EPOINT(3) epoint with
>> terminal '' (caller id '200') received release with cause 1 location 1
>> 000000 DEBUG (in join_disconnect_release() line 3092): EPOINT(3) we have
>> own cause or we have no patterns. (own_cause=0 pattern=0)
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_TONE written
>> from 3 to 3 (memory 8620ae0)
>> 000000 TRACE 10.02.12 07:51:42.887 EP(3): TONE  to CH(3)  directory
>> default  name cause_01
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_DISCONNECT
>> written from 3 to 3 (memory 8624398)
>> 000000 TRACE 10.02.12 07:51:42.887 EP(3): DISCONNECT  to CH(3)  cause
>> value=1 location=1-Local-PBX
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_TONE reading
>> from 3 to 3 (memory 8620ae0)
>> 000000 DEBUG (in message_epoint() line 602): PORT(GSM-1-in) isdn port
>> with (caller id 200) setting tone 'cause_01' dir ''
>> 000000 DEBUG (in set_tone() line 1543): isdn port now plays
>> tone:'cause_01'.
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_DISCONNECT
>> reading from 3 to 3 (memory 8624398)
>> 000000 TRACE 10.02.12 07:51:42.887 CH(3): MNCC_DISC_REQ LCR<->BSC  port 1
>>  progress coding=3 location=1 descr=8  cause coding=3 location=1 value=1
>> 000000 DEBUG (in new_state() line 252): PORT(GSM-1-in) new state
>> PORT_STATE_IN_PROCEEDING --> PORT_STATE_OUT_DISCONNECT
>> 000000 DEBUG (in message_epoint() line 778): Pgsm_bs(GSM-1-in) gsm port
>> with (caller id 200) received unhandled nessage: 11
>> 000000 DEBUG (in read_audio() line 482): PORT(GSM-1-in) no tone:
>> /usr/local/lcr/tones_american/cause_01
>> 000000 DEBUG (in read_audio() line 585): PORT(GSM-1-in) opening tone:
>> /usr/local/lcr/tones_american/cause_01_loop
>> 000000 DEBUG (in read_audio() line 585): PORT(GSM-1-in) opening tone:
>> /usr/local/lcr/tones_american/cause_01_loop
>> 000000 TRACE 10.02.12 07:51:52.720 CH(3): MNCC_REL_IND LCR<->BSC  port 1
>> 000000 DEBUG (in message_put() line 61): message MESSAGE_RELEASE written
>> from 3 to 3 (memory 861d580)
>> 000000 DEBUG (in free_epointlist() line 81): PORT(3) removed epoint from
>> port
>> 000000 DEBUG (in new_state() line 252): PORT(GSM-1-in) new state
>> PORT_STATE_OUT_DISCONNECT --> PORT_STATE_RELEASE
>> 000000 DEBUG (in message_get() line 107): message MESSAGE_RELEASE reading
>> from 3 to 3 (memory 861d580)
>> 000000 DEBUG (in ea_message_port() line 2735): EPOINT(3) release with
>> cause=16 location=0 (terminal '', caller id '200')
>> 000000 TRACE 10.02.12 07:51:52.720 EP(3): RELEASE  from CH(3)  cause
>> value=16 location=0-User
>> 000000 DEBUG (in port_disconnect_release() line 2207): EPOINT(3) current
>> multipoint cause 0 location 0, received cause 16 location 0.
>> 000000 DEBUG (in port_disconnect_release() line 2209): EPOINT(3) new
>> multipoint cause 16 location 0.
>> 000000 DEBUG (in process_hangup() line 2420): EPOINT(3): terminal ''
>> 000000 DEBUG (in process_hangup() line 2500): EPOINT(3): terminal :
>> current action 'remote' has a hangup function, so we call it...
>> 000000 TRACE 10.02.12 07:51:52.721 EP(3): ACTION hangup
>> 000000 DEBUG (in free_portlist() line 185): EPOINT(3) removed port_list
>> from endpoint
>> 000000 DEBUG (in release() line 215): EPOINT(3): do pending release
>> (joincause 16 location 0)
>> 000000 DEBUG (in release() line 233): EPOINT(3) do pending release
>> (portcause 16 portlocation)
>> 000000 DEBUG (in release() line 310): EPOINT(3) do pending release of
>> epoint itself.
>> 000000 DEBUG (in ~Pgsm_bs() line 62): Destroyed GSM BS process(GSM-1-in).
>> 000000 DEBUG (in ~Pgsm() line 159): Destroyed GSM process(GSM-1-in).
>> 000000 DEBUG (in drop_bchannel() line 1074): PmISDN(GSM-1-in) dropping
>> bchannel
>> 000000 TRACE 10.02.12 07:51:52.721 CH(3): BCHANNEL deactivate  port 1
>>  channel 1
>> 000000 DEBUG (in ~PmISDN() line 224): destroyed mISDNPort(GSM-1-in).
>> Currently 0 objects
>> 000000 DEBUG (in ~Port() line 210): removing port of type 4625, name
>> 'GSM-1-in'
>> 000000 DEBUG (in ~Endpoint() line 134): removed endpoint 3.
>> 000000 DEBUG (in b_sock_callback() line 2017): DL_RELEASE confirm:
>> bchannel is now de-activated (socket 14).
>> 000000 TRACE 10.02.12 07:51:52.721 CH: BCHANNEL remove socket  port 1
>>  channel 1  socket 14
>> ---
>> Interface.conf for detail.
>>
>> OpenBSC:/usr/local/lcr# cat interface.conf
>> # interface.conf
>> ################
>> # Example of an ISDN interface on port 0 used for external calls.
>>
>> #[Ext]
>> #extern
>> #portnum 0
>>
>> # Example of a multilink ISDN interface (Anlagenanschluss) on port 2
>> # and 3
>>
>> #[Ext]
>> #extern
>> #portnum 2
>> #portnum 3
>>
>>
>> # Example of an PTP ISDN interface on port 0
>> # Layer-2-Hold is required to keep link alive.
>>
>> #[Ext]
>> #extern
>> #portnum 0
>> #ptp
>> #layer2hold yes
>>
>>
>> # Example of an internal ISDN interface on port 1, which accepts all
>> extensions
>>
>> #[Int]
>> #extension
>> #portnum 1
>> #nt
>>
>>
>> # Example of an ISDN interface on port 1, which accepts only extensions
>> # 201, 202 and 203
>>
>> #[Int]
>> #extension
>> #msn 201,202,203
>> #portnum 1
>> #nt
>>
>>
>> # Example of three ISDN interfaces on port 1, 2 and 3, which accept
>> # extension 201 on all interfaces, and extension 202 and 203 on the first
>> port
>> # only.
>> # Hint: To make extension ring on all three interfaces parallel, use
>> # "interface Int1,Int2,In3" in extension's settings file.
>>
>> #[Int1]
>> #extension
>> #msn 201,202,203
>> #portnum 1
>> #nt
>>
>> #[Int2]
>> #extension
>> #msn 201
>> #portnum 2
>> #nt
>>
>> #[Int3]
>> #extension
>> #msn 201
>> #portnum 3
>> #nt
>>
>>
>> # Example of an ISDN interface on port 0 that requires screening of
>> caller IDs.
>> # This is required if the connected line doesn't screen caller IDs.
>> # Also this interface will connect bchannel during call setup, so tones
>> are
>> # required.
>>
>> #[Ext]
>> #extern
>> #screen-out unknown 300  national 21250993300
>> #screen-out unknown 2%  national 212509932%
>> #tones yes
>> #portnum 0
>>
>>
>> # Example of an ISDN PRI interface on port 0 that has directed channels.
>> # 10 channels (channel 1-10) are incomming only.
>> # 10 channels (channel 11-15,17-21) are outgoing only.
>> # 10 channels (channel 22-31) are both way.
>> # We prefer to use directed channels first, then we request any channel.
>> # Outgoing calls on both-way-channels shall be indicated as "any channel".
>> # (Siemens EWSD will select bot-way-channels when indicated that way.)
>>
>> #[Ext]
>> #extern
>> #portnum 0
>> #layer2hold
>> #channel-in 1,2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,30,31
>> #channel-out force,11,12,13,14,15,17,18,19,20,21,any
>>
>>
>> # Example of an ISDN interface that runs in NT-mode, but provides tones
>> during
>> # setup. Also we provide tones during setup also.
>> # This is usefull to interconnect to another PBX.
>> # Additinally the timeout values for the different call states are
>> adjusted to 60 seconds.
>> # They are: setup, dialing, proceeding, alerting, disconnect
>>
>> #[PBX]
>> #portnum 4
>> #nt
>> #layer2hold yes
>> #earlyb yes
>> #tones yes
>> #timeouts 60 60 60 60 60
>>
>>
>> # Example of an interface on port 0 connected to another LCR
>> # This can be done by direct cross cable (terminated of course) or via
>> L1oIP.
>> # Since the remote side (NT-mode) normally doesn't accept informations
>> like
>> # redirected number or display facility, use 'te-special' to even
>> transmit that
>> # against the ISDN specifications. A remote LCR can handle that.
>> # Now all information elements can be transmitted in both directions.
>>
>> #[Ext]
>> #extern
>> #portnum 0
>> #te-special
>>
>>
>> # Alternatively give port name. You will find the name with 'isdninfo'
>> tool.
>>
>> #[Int2]
>> #portname hfc-s_usb.1
>> #nt
>>
>>
>> # The remote switch may reject extreamly large numbers to be dialed during
>> # setup message. Define a limit of maximum numbers to dial. The rest of
>> # digits will be dialed after setup via overlap dialing.
>>
>> #[Ext]
>> #extern
>> #portnum 0
>> #dialmax 20
>>
>>
>> # Example of an ISDN interface on port 1, with alternate tones_dir to use.
>> # In this case, the tones are "german" tones generated by mISDN_dsp.ko.
>> # It is possible to give different sample sets, like "tones_german".
>>
>> #[Int]
>> #extension
>> #msn 201,202,203
>> #tones_dir german
>> #portnum 1
>> #nt
>>
>>
>> # A special case for GSM Network interface.
>> # You may add 'extension' and 'msn' keywords to turn all your subscribers
>> # in you GSM network to internal 'extensions'.
>> # The MSN numbers will equal the subscriber number.
>> [GSM]
>> gsm-bs
>> tones yes
>> earlyb no
>>
>> # A special case for GSM Mobile Station interface.
>> # give "gsm-ms <name of mobile instance>".
>> # You may add 'extern' to make this interface the external line by
>> default.
>> #[GSM]
>> #gsm-ms 1
>> #tones no
>> #earlyb yes
>> ##extern
>>
>>
>> # Use chan_lcr (Asterisk PBX interface) as internal interface.
>> # The interface requires mISDN_l1loop.ko to be loaded:
>> #  modprobe mISDN_l1loop nchannel=8 # use up to 8 b-channels
>> # The caller ID is used as extension, if "extension" parameter is given.
>> # Use "screen-in % xxx" to modify any caller id to xxx.
>> # An internal extension does not receive tones ("earlyb"), but sends them.
>> [ast]
>> remote asterisk
>> extension
>> #screen-in % 209
>> earlyb no
>> tones yes
>>
>>
>> # Use Sofia-SIP as SIP point-to-point interface
>> #[sip]
>> #sip <local ip> <remote ip>
>> #sip 10.0.0.12 10.0.0.34
>> #earlyb no
>> #tones no
>>
>>
>> # Hint: Enter "lcr interface" for quick help on interface options.
>>
>>
>> # Add your interfaces here:
>>
>>
>> #[Ext]
>> #extern
>> #portnum 0
>>
>>
>> #[Int]
>> #extension
>> #msn 200,201,202,203
>> #portnum 1
>> #nt
>>
>>
>>
>> On Fri, Feb 10, 2012 at 1:40 AM, Andreas Eversberg <andreas at eversberg.eu>wrote:
>>
>>> Don Fanning wrote:
>>> > So my next question is how do I create an extension for the mobile and
>>> > link it to asterisk?  Is there a way for LCR to automatically generate
>>> > extensions?
>>> hi don,
>>>
>>> remove "extension" keyword from your interface config. all calls are
>>> then treated as external calls.
>>>
>>>
>>> regards,
>>>
>>> andreas
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20120210/e02ed591/attachment.htm>


More information about the OpenBSC mailing list